So you just recently installed the WAMP server on your PC/laptop and ready to start your web development process. You launched the homepage of WAMP and clicked on the project folder in the hope of such a URL “http://localhost/yourproject” but you got an error.
Well, it is due to some settings, as WAMP wants you to use virtual host way to create project URLs. However, you can still enable the old way of showing URL prefixed with ://localhost.
All you need to do is follow the following simple steps:
First of all, go to WAMP folder and www directory
locate the index file and follow the steps as shown below
Change true into false as shown below
Restart the WAMP server.
It should be working now.