I've been trying to get apache web server to work properly.  As far as I can
tell everything installs properly.  I get the Default page.  What I am
trying to do is configure it for Name Based Virtual hosts.  I've followed as
much documentation as I can find.  I have 1 IP address to work with, the one
assigned to the Server.  This was a standard Server Install.  I only added
these lines to the end of httpd.conf  file:


NameVirtualHost xxx.xxx.xxx.xxx

<VirtualHost xxx.xxx.xxx.xxx>
ServerName www.domain1.com
DocumentRoot /home/httpd/wwwdomain1com
</VirtualHost>

<VirtualHost xxx.xxx.xxx.xxx>
ServerName www.domain2.com
DocumentRoot /home/httpd/wwwdomain2com
</VirtualHost>





Also DNS record is like this

Domain 1:
www     A       xxx.xxx.xxx.xxx

Domain 2:
www     A       xxx.xxx.xxx.xxx



When I get to any of these sites, it seems to ignore the VirtualHost
Directive and display the content of the Default DocumentRoot
/home/httpd/html.

Do I need to do something else to activate NameBased Virtual Hosting?
I really don't know much about linux and mostly work on Windows systems.
Any help will be appreciated






Patrick Hermanto
Savvy Networks
[EMAIL PROTECTED]

Reply via email to