So I have a website, like http://website.com
.
I also have a "back-up" (development version) of this website on my computer (localhost), including the database and everything.
The problem with this back-up is that I have to change all the script config for it to work, like domain name (to localhost/website
), paths, database name, pw etc...
How can I access my localhost website from my real domain name? Ie - when I type http://website.com
in the browser address bar, I want to see my local website backup, just like if I typed localhost/website
. I want to the scripts to think that they are running under that domain name.
Obviously I only need this temporarily, because I still want to be able to access my live site :)
I'm using Apache 2.2 and PHP 5.3, running trough WAMP 2.0 (windows 7)