Forum Moderators: phranque
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.
Jim