Server configuration
I follow this and I get page cannot be displayed as an error. I know the site works when not virtually serving. but whe I write the following to httpd.conf I get anerror for the site I know was working.
# Ensure that Apache listens on port 80
Listen 80
# Listen for virtual host requests on all IP addresses
NameVirtualHost *
<VirtualHost *>
DocumentRoot /www/example1
ServerName
www.example1.com
# Other directives here
</VirtualHost>
<VirtualHost *>
DocumentRoot /www/example2
ServerName
www.example2.org
# Other directives here
</VirtualHost>
I am actually tucking the doc root in
/server/apache/site1
and making sure all permissions are same.
Am I missing something to make virt hosting work?