Hello, I was running a single web site with Apache and Windows 7, all worked fine. Tried to direct another domain to the server (add a another web site), but all traffic goes to the first web site. Below is the code I have:
NameVirtualHost *:80 # ********************Begin First Web Page ************************************** <VirtualHost *:80> ServerAdmin v...@localhost.com DocumentRoot "C:/Server/Apache2.2/www/931MeV/htdocs" Servername 931mev.com ServerAlias www.931mev.com ErrorLog "logs/931mev.localhost-error.log" CustomLog "logs/931mev.localhost-access.log" common <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory> # <Directory "C:/Server/Apache2.2/www/931MeV/htdocs"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost> # *******************End First Web Page ******************************************** # #****************Begin Second Web Page ****************************************** <VirtualHost *:80> ServerAdmin v...@localhost.com DocumentRoot "C:/Server/Apache2.2/www/Christianfarms/htdocs" ServerName christianfarms.us ServerAlias www.christianfarms.us ErrorLog "logs/christianfarms.localhost-error.log" CustomLog "logs/christianfarms.localhost-access.log" common # <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory> # <Directory "C:/Server/Apache2.2/www/Christianfarms/htdocs"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost> # *****************End Second Web Page **************************************** #