aspnetguy Posted November 28, 2007 Share Posted November 28, 2007 I had this working a couple years ago but I am setting up a new server and can't get the different domains to go their own virtual host.I have the following in httpd.conf <VirtualHost *:80>DocumentRoot "C:/wamp/www/agphotography.ca"ServerName agphotography.ca</VirtualHost><VirtualHost *:80>DocumentRoot "C:/wamp/www/piratestrilogy.com"ServerName piratestrilogy.com</VirtualHost> This is a fresh install of the latest version of WampServer. No matter which domain I type in it is going to the first virtual host. Have I done something wrong here? Link to comment Share on other sites More sharing options...
aspnetguy Posted November 28, 2007 Author Share Posted November 28, 2007 Nevermind. I figured it out the second I posted this.I did not have the ServerAlias for each domain. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.