|
Contributed by Chad Brandt
|
|
|
|
Thursday, 17 June 2004
Learn how to configure apache for virtual name servers. This will allow you to host many domains on one server 1 Edit the httpd.conf file:
- Uncomment the following line NameVirtualHost *
- Add a entry for the virtual host at the bottom of the httpd.conf file
<VirtualHost *> ServerName www.linux-bsd-central.com DocumentRoot "/usr/local/www/linux-bsd-central" </VirtualHost>
<VirtualHost *> ServerName linux-bsd-central.com DocumentRoot "/usr/local/www/linux-bsd-central" </VirtualHost>
restart apache
Thats about it. You can add as many virtual servers to apache as you would like. Powered by AkoComment 1.0 beta 2! |