Adding virtual server to host multiple sites with Apache
Posted on 2004-09-07
I have a Windows 2003 server , running Apache 2.0.48
I am hosting a web site on Apache currently, and i want to add some other web sites.
I had the following entry in the config file first
ErrorLog "E:/Program Files/Apache Group/Apache2/logs/something.xxx.com-error_log"
CustomLog "E:/Program Files/Apache Group/Apache2/logs/something.xxx.com-access_log" common
Then i add the following lines myself for the second web site
ErrorLog "E:/Program Files/Apache Group/Apache2/logs/Newsite.xxx.com-error_log"
CustomLog "E:/Program Files/Apache Group/Apache2/logs/Newsite.xxx.com-access_log" common
When i go to Newsite.xxx.com it takes me to the first web site,although i have specified the directory for the secon site as "Z:/Apache/yyyy"
I would appreciate any help on this issue.
I should say that i have very little experience on Apache web server.