PDA

View Full Version : Fake domain names


Apothem
06-10-2009, 04:28 PM
How do I make it so that:
my.site
Will direct me to the directory C:\....\htdocs\my ?

Or
admin.forum
To direct me to C:\....\htdocs\forum\admin ?

eak
06-10-2009, 08:45 PM
I'm assuming your running Apache on windows for development...

You could add a couple entries to the Hosts file (http://www.google.com/search?q=windows+hosts+file).

You would then need to add a ServerAlias (http://www.google.com/search?q=apache+ServerAlias) for the entries in the Hosts file.