LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-20-2001, 08:34 AM   #1
p_murugappan
LQ Newbie
 
Registered: Jun 2001
Posts: 19

Rep: Reputation: 0
apache newbie


Hi
I am really a newbie to apache. I have configured apache and it is running fine. I say http://servername,it works.My curiousity is,I want to set my intranet.
so If I type http://intranet.mycompany.com I should be able to browse thru the files. Where should I change the server name to intranet.mycompany.com, is it in httpd.conf or where should I do the changes.
 
Old 06-20-2001, 09:05 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
there is a ServerName section in httpd.conf which you can change if you want, you will also need to update your DNS to point to the server when its addressed as http://intranet...

You might want to look into using VirtualHosts, have a look at the bottom of httpd.conf - there is an example config. VirualHosts allow you to have multiple sites hosted on one server, this might be useful if you want the site to respond differently when you call if by a different name.

HTH

Jamie...

PS Remember to restart Apache after chaing httpd.conf! (assuming your installed to /var/lib/apache) /var/lib/apache/sbin/apachectl restart
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian, Apache, and the newbie dienerk Debian 3 02-17-2004 04:11 PM
newbie apache question... jjd228 Linux - Networking 1 01-08-2004 12:57 PM
Problem with Apache [newbie] Samspeed Linux - General 2 07-25-2003 07:50 AM
Newbie with Apache sienarot Linux - Newbie 5 03-13-2003 12:28 PM
A newbie looking for more apache-related help emeraldforce Linux - Software 2 07-11-2002 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration