langauld Posted October 3, 2007 Share Posted October 3, 2007 Hi all, I'm sorry if this has been posted before now, i've looked through all 5 pages of threads and haven't found a thing.. I'm using WAMP 1.7.3, although this problem existed with 1.7.2 before i updated. Basically, i used to be able to view my hosted websites (all plain HTML, i don't use any PHP or MySQL yet) by typing in my dyndns domain name on my local computer. For example, a site is located in C:\wamp\www\drinkdeep and when typing in http://distantweb.co.uk/drinkdeep it would show the website. This is locally. Now, this still works perfectly fine from an external IP, ie anyone who's accessing the site not locally. But for the past few weeks now, this has not worked for me. If i type in localhost into my browser, it does show the index page of http://distantweb.co.uk - however if i type in the URL, it shows my router configuation screen ??? officially confused, this happens both on the server machine, and on other computers in my house. Why has it suddenly started doing this? I can't find any program or setting that may have been changed that would upset the config of this working, all wires are connected correctly etc so there's no reason for the router not being able to forward on to the right host... This is really starting to annoy me now, and if there's something really simple that i'm missing, i'd love for someone in the know to share it with me! Thanks in advance langauld. Quote Link to comment https://forums.phpfreaks.com/topic/71706-unable-to-view-anything-locally-recieve-router-config-page/ Share on other sites More sharing options...
trq Posted October 3, 2007 Share Posted October 3, 2007 You need to add... 127.0.0.1 distantweb.co.uk to your hosts file. I'm not sure where it is located in windows but a search for a file called hosts should find it. ps: You'll need to do this on each machine in your LAN. Quote Link to comment https://forums.phpfreaks.com/topic/71706-unable-to-view-anything-locally-recieve-router-config-page/#findComment-361000 Share on other sites More sharing options...
langauld Posted October 3, 2007 Author Share Posted October 3, 2007 okay, thanks.. but can you explain to me why it's only just started doing that? because it definitely worked before.. until about 3 weeks ago. Quote Link to comment https://forums.phpfreaks.com/topic/71706-unable-to-view-anything-locally-recieve-router-config-page/#findComment-361019 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.