Forum Moderators: phranque
NameVirtualHost *
<VirtualHost *>
ServerAdmin you@email.com
DocumentRoot C:\path\to\my-host\files
ServerName my-host.com www.my-host.com
</VirtualHost>
The DocumentRoot setting and its accompanying directives will handle the default site. Add a VirtualHost for each additional site you want to host. There are, of course, additional directives you may use within the VirtualHost container. Check out the documentation at apache.org , and read the comments in httpd.conf for more details.
Save httpd.conf and restart your Apache to make them active.
[edited by: StupidScript at 4:53 pm (utc) on Sep. 5, 2006]