a few words about web development

Virtual Hosts in Windows under WAMP

Using nice domains instead of localhost
Do you want to call your localhost websites from a webbrowser using nice URLs like: mysite.dev or somethingelse.dev? Here's a way how to do this under Windows.
First edit your Apache's httpd.conf file. Look for "DocumentRoot" and then change into something like this ("e:/wamp/www" is the path to my sites):
DocumentRoot "e:/wamp/www/"
    ServerName localhost
    DocumentRoot "e:/wamp/www"
    ServerName mysite.dev
    DocumentRoot "e:/wamp/www/mysite-dev"
    ServerName somethingelse.dev
    DocumentRoot "e:/wamp/www/somethingelse"

Then edit file C:\WINDOWS\system32\drivers\etc\hosts and add these:	somethingelse.dev	mysite.dev

That's it!