Jump to content

Apache 2 Virtual Hosts


aspnetguy

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...