Question
Virtual hosts in Apache
I have followed the 'Powers doctrine' in defining virtual
hosts for my
Apache installation. This is the relevant section in the httpd.conf file
<VirtualHost *:80>
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/wild"
ServerName wild
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/practical"
ServerName practical
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/navenewell"
ServerName nni
</VirtualHost>
Yet none of them seem to work. When I browse to http://wild, for example, I
get a not found error. I still need to use http://localhost/wild to get
there. What's that about?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
Apache installation. This is the relevant section in the httpd.conf file
<VirtualHost *:80>
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/wild"
ServerName wild
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/practical"
ServerName practical
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/navenewell"
ServerName nni
</VirtualHost>
Yet none of them seem to work. When I browse to http://wild, for example, I
get a not found error. I still need to use http://localhost/wild to get
there. What's that about?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
