Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Apache virtual host setup' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Apache virtual host setup
Authored by: Anonymous on Mar 13, '01 05:40:47PM

I am simply having trouble getting virtual hosts to work at all! I configured the apache.conf file as such:

port 80
DocumentRoot /Local/Library/WebServer/Documents/dir1
ServerName domainname_of_computer

<VirtualHost second_ip>
DocumentRoot /Local/Library/WebServer/Documents/dir2
ServerName domainname_of_second_ip

I did not set the Listen or BindAddress directives to anything. At this point, I can access the main domain but not the virtual one. Is there something else that I need to do to make this work? Is there something at the system level? Someone please help!


[ Reply to This | # ]
Apache virtual host setup
Authored by: robh on Mar 14, '01 01:57:41PM

Try the suggestions in my previous post. Avoid numeric IPs in the config.

[ Reply to This | # ]