Three steps to adding a virtual host to a newly installed wamp server

  1. Enable Virtual Hosts in httpd.conf
# Virtual hosts
# Include conf/extra/httpd-vhosts.conf

Remove the “#” in the second line above and save and close the httpd.conf file

2. Add a redirection entry to your hosts file

3. Modify the httpd-vhosts.conf as noted in the example included in the file.

restart server.

 

Leave a Reply