Magento is one of the most popular ecommerce platforms available today.
Many developer like to build websites, templates and applications on localhost. In this case, we are using WAMP as a server in WINDOWS OS.
Magento requires itself to be installed on a host name at least one period ‘.’ in it, therefore installing to http://localhost or http://localhost.magento doesn’t work
There is a way to fix that.
Open a file name host in notepad
Add the following line to host