Welcome to WebmasterWorld Guest from 126.96.36.199
I have set up wampserver on a virtual PC. I then opened port 80 on my router and set up a free sudomain with dyndns.
I have asked a few friends to visit the address and they have no problem loading the site, but for some reason, I cant access it from my own pc (host to the virtual PC running WAMP) or any other PC on our local network unless I type in the PC's lan address rather than internet ip address or domain name.
Anyone have any ideas?
Two solutions that come to mind are to use your 'hosts' files to define yourdomain.com and www.yourdomain.com as 127.0.0.1 on the server itself, and as the server's LAN IP address on the other PCs inside your LAN. This essentially sets up a 'private DNS' for your server within your own network, and has no effect on the DNS used out on the Web. The other solution is to use a proxy out on the Web; It will 'turn around' your requests and send them back to your router using the public DNS system.
The weird thing about it all is that it worked fine last night initially. Then it stopped working after a while.
Your explanation makes a lot of sense and I have gone with your solution and defined my domain in my hosts file.
Thanks for the advice!