In the new version of WAMP it’s recommended that you use a Virtual Server. The following steps highlight how to do just that:
Create a new project in your www folder, name it anything. For this example I will use MYPROJECT as the folder name.
Open: /wamp/bin/apache/apacheX.X.X/conf/httpd.conf and uncomment this line: # Include conf/extra/httpd-vhosts.conf
Open: /wamp/bin/apache/apachexxx/conf/extra/httpd-vhosts.conf and add the following code at the bottom:
Note: If you want your site to be served through a different folder, e.g. “MYDIRECTORY” simply add it after the project name without a trailing slash: MYPROJECT/MYDIRECTORY
Open: C:\Windows\System32\drivers\etc\hosts (you will need administrative permissions to do this part; if you have antivirus you may have to shut it off temporarily) and then add the following lines at the bottom (uncommented):
Note: Make sure there is at least one space between the IP addresses and your project name.
Restart your WAMP server and then load up your project with: http://MYPROJECT/
P.S. An excellent link for more in-depth help is at http://ronangelo.com/how-to-create-a-project-or-virtual-host-with-wamp/