I've just set up a home server to host my site. I can access the site fine from any network apart from my home network.
I thought it might be an issue with DNS, so I decided to ping my domain from my laptop (on my home network), and got the following:
$ ping alexcoplan.co.uk
PING alexcoplan.co.uk (88.108.252.160): 56 data bytes
Request timeout
Request timeout
etc...
Which is really strange, because the domain is resolving to the wrong IP.
I knew that the site was working, because I accessed it on my phone via the cellular network and it loaded fine. Just to double check, I ran terminal emulator on my phone, and pinged my site, and got the following:
$ ping alexcoplan.co.uk
PING alexcoplan.co.uk (88.111.7.117): 56 data bytes
Which is the correct IP.
So that begs the question, why is my domain resolving incorrectly inside the network?
nslookup alexcoplan.co.ukand see what DNS server you're getting the wrong result from. Could the wrong IP be a cached entry (ie was it this IP at one point in the recent past)? Are you using a router that allows for hairpin connections, ie can you type the IP address into your browser on your laptop and get the websites (this doesn't affect the wrong DNS thing). Is the hostname of any of the computersalexcoplan.co.uk? – Chris S♦ Jan 22 at 15:04