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:

<VirtualHost *:80>
DocumentRoot "C:/wamp/www"
ServerName localhost

<VirtualHost *:80>
DocumentRoot "C:/wamp/www/testSite"
ServerName testSite.local

3. Edited the hosts.txt by adding the following line: 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.

Thank you!