Results 1 to 4 of 4
Jun 3, 2013, 16:03 #1
- Join Date
- Jun 2013
- 0 Post(s)
- 0 Thread(s)
Virtual Hosts - what am I missing?
I know it's essentially pretty straight forward setting up virtual hosts, but I must be missing something, because for the last 5 hours, I cannot for the life of me get it working.
Here's what I've done:
1. Editted httpd.conf by uncommenting the httpd-vhosts.conf line
2. Created two <virtual host> containers in the httpd-vhosts.conf file, like so:
3. Edited the hosts.txt by adding the following line: 127.0.0.1 testSite.local
It all seems so straight forward, except that it doesn't work! It says server not found when I go to testSite.local. Localhost works fine and the WampServer is green (though it says offline).
Please can somebody point me in the right direction! I've been reading the same suggestions all day and they don't seem to apply to my particular issue.