I tried enabling Virtual Host on my WAMP installation, but WAMP server will not run if I enable http-vhosts.conf, and the icon remains orange.
Here is my hosts file:
You just need to change it like as this: everything will be OK.
ServerAdmin webmaster@localhost
# DocumentRoot "c:/wamp/www"
ServerName localhost
# ErrorLog "logs/localhost-error.log"
# CustomLog "logs/localhost-access.log" common
# DocumentRoot "c:/wamp/www/test"
# ServerName test.localhost
If somebody has error of Directory, he may need to modify it like below:
# DocumentRoot 'c:\wamp\www\media_weber_edu\public'
ServerName media.weber.dev
#
# Options Indexes FollowSymLinks MultiViews
# AllowOverride all
# <\Directory>
notes: Apache does not allow multiple
arguments!