To enable vh, open file httpd.conf in C:\wamp\bin\apache\apache2.2.6\conf and find these lines:
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
Uncomment the second line to become:
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
Then open httpd-vhosts.conf in C:\wamp\bin\apache\apache2.2.6\conf\extra and replace those 2 dummy vh as follows:
<VirtualHost *:80>
ServerName www.first_domain.com
DocumentRoot c:/wamp/www/first_domain
</VirtualHost>
<VirtualHost *:80>
ServerName www.second_domain.com
DocumentRoot c:/wamp/www/second_domain
</VirtualHost>
<VirtualHost *:80>
ServerName www.third_domain.com
DocumentRoot c:/wamp/www/third_domain
</VirtualHost>
<VirtualHost *:80>
ServerName localhost
DocumentRoot c:/wamp/www
</VirtualHost>
Make sure to have associated folders in c:/wamp/www and put all your files in there, then restart your wamp to take effect.
Have fun,
FREE One A DayFREE PhotoFREE GamesFREE WebsitesFREE Portable GPSFREE WAMP Guides