Page 1 of 1

Virtual Hosts not working?

PostPosted: 06. November 2006 06:57
by Zeno McDohl
# httpd -S
VirtualHost configuration:


But I know I have virtual hosts set up.

Code: Select all
# Virtual hosts
Include etc/extra/httpd-vhosts.conf


Then in that file:
Code: Select all
<VirtualHost 72.228.4.13:*>
DocumentRoot "/opt/lampp/htdocs/fwarlords"
ServerName fwarlords.biyg.org
<Directory "/opt/lampp/htdocs/fwarlords">
allow from all
Options +Indexes
</Directory>
</VirtualHost>


Yet why is -S not showing it? Yes, I have restarted the services.

PostPosted: 14. November 2006 20:19
by underdone
Are you running these separate domains off of different ip addresses? If not take a look at this page it should be able to help you out.

http://httpd.apache.org/docs/2.2/vhosts/ip-based.html