I\'ve got a bit of a dilemma, and it\'s been bothering me for quite some time. I have a local testing server that\'s set up like so: 127.0.0.1/
My website i
I suggest you move to a development environment which more closely reflects the live system. For this, you can run a WAMP server and configure it to serve your web site as a domain like mysite.local
and then you simply edit your hosts file so that mysite.local
resolves to your 127.0.0.1
. Then you just type mysite.local into your browser, it resolves to your local PC, and make sure apache is configured for virtual hosts and listening on port 80
.
Your hosts is a local DNS lookup file found in windows\system32\drivers\etc
. You may need to open it in Notepad which is run as administrator in order to be able to edit it.