Windows hosts file not working with ampps server on windows Windows hosts file not working with ampps server on windows apache apache

Windows hosts file not working with ampps server on windows


There is web interface for this inside AMPPS. Just open http://localhost/ampps/ in your favourite browser. And click on Add Domain icon.

enter image description here


I believe you are editing the wrong file on the wrong folder, as the correct path is \Ampps\apache\conf\extra\httpd-vhosts.conf. Regardless, you should not edit this file directly. You can either use the add domain form as suggested, or force ampps into reading a custom vhosts file.

Have a look at this thread for more info:

http://www.softaculous.com/board/index.php?tid=2077&title=Using_multiple_domains


AMPPS 3.9 have write and read access problem in host file but it is able to create directory in root ( www ). but not write domain name automatically in host file. I have to manually input the domain name in the host fie.