Müsste das nicht durch Modifizierung der 'hosts' Datei klappen? (Voraussetzung ist natürlich Windows)
Zitat:
Use relative URLs (preferred)
Add your external URL to your hosts file which can be found either in
C:\WINDOWS\system32\drivers\etc\hosts (Windows)
or
/etc/hosts (Linux)
Just add this line:
www.mysite.com localhost
|
http://stackoverflow.com/questions/7...l-to-localhost
http://en.wikipedia.org/wiki/Hosts_(file)