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.your_domain.com
DocumentRoot c:/wamp/www/your_domain
</VirtualHost>
<VirtualHost *:80>
ServerName localhost
DocumentRoot c:/wamp/www
</VirtualHost>
Make sure to have folder your_domain in c:/wamp/www and put all your files in there, then restart your wamp to take effect.
When visitors type in your web ip, they will go to the first vh which locates in c:/wamp/www/your_domain
Have fun,
FREE One A DayFREE PhotoFREE GamesFREE WebsitesFREE Portable GPSFREE WAMP GuidesEdited 2 time(s). Last edit at 12/19/2007 03:22AM by yfastud.