View Single Post
Old Dec 13th, 2005, 10:50 AM   #2
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
In section 3 of httpd.conf (Virtual Servers) insert the following:

Where example.com is your new domain name, and where WEB2 is the absolute path to the html directory for your new site. Then restart Apache Httpd.

NameVirtualHost EXAMPLE.COM:80
 
<VirtualHost EXAMPLE.COM:80>
ServerName www.example.com
DocumentRoot WEB2
</VirtualHost>
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote