Go to windows host file (C:WindowsSystem32driversetchosts) and add :
Or on linux go to /etc/hosts and add
127.0.0.1 name_of_your_host
Go to the httpd.conf file in appache and add :
NameVirtualHost *:80
<VirtualHost *:80>
ServerName name_of_your_host
DocumentRoot "C:wampwwwname_of_your_host" //or whatever the path to your host is
</VirtualHost>