Jump to content

Apache vhost

From tango.info wiki

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

Main host goes away
If you are adding virtual hosts to an existing web server, 
you must also create a <VirtualHost> block for the existing host. 
The ServerName and DocumentRoot included in this virtual host 
should be the same as the global ServerName and DocumentRoot. 
List this virtual host first in the configuration file so that 
it will act as the default host.

http://httpd.apache.org/docs/2.2/vhosts/details.html

main_server