I need help configuring virtual hosts in apache on Windows.
I have the following in my hosts file:
in httpd-vhosts.conf I have made the following entries:
NameVirtualHost *:80 <VirtualHost 127.0.0.1> DocumentRoot "C:\wamp\www\" ServerName localhost </VirtualHost> <VirtualHost www.ebdowns> DocumentRoot "C:\wamp\www\ebdowns" ServerName www.ebdowns ServerAlias www.ebdowns <Directory "C:\wamp\www\ebdowns"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
I try to restart apache but with these entries it won't restart. If I remove the first block the server restarts but then when I enter www.ebdowns into my browser it can't find the site located there
Can anyone help let me know where I've gone wrong please