networking - Website is working but cannot view from home

07
2014-07
  • Bish

    Here's a puzzle.

    Last year I bought some hosting from a hosting company and pointed a number of domains that I own to run from this service. All domains working fine and publicly accessible.

    Then a few months ago I was at home and realised that I could not view any of the sites. The browser would report an error. I assumed a temporary glitch. Back in the office, from my office machine and network, all the sites worked just fine. Back at home that same day, none of the sites worked. I tried multiple browsers on the same home machine, clearing the caches, restarting the machines, restarting the router, tried other machines on my home network, even tried an iPod - not a sausage. None of the sites would load. However, when I tried accessing them from my Blackberry I could see they were all working.

    A few weeks ago, the sites started working again from home ... but then a day later had stopped! And that is the current situation. I cannot access the sites from home but they work from the office and indeed seem to work for any other user. One of the sites is for a local sports club - Godalming Badminton Club - try it yourself. If you have any problem let me know but I tried it just now from the office and it works and I am told by other users it has been working consistently over this period.

    So it would appear that there is some problem with my local network or ISP. I use a cable connection from Virgin Media, connected to a Dlink DIR655 router/gateway/switch. I use OpenDNS instead of the default ISP DNS but that is one thing I have checked. I tried reverting to the default ISP DNS but it made no difference.

    I used to think I was pretty savvy about this kind of this kind of thing but now I think I may have missed something obvious. Please could somebody suggest some steps to diagnose the source of this problem and/or tell me how to fix it!!

  • Answers
  • Daniel Andersson

    You don't mention OS, but I'll assume Windows (it will be simpler if it's not, but people who don't mention OS are usually on Windows ;-) ).


    Open a command prompt (Run -> cmd) and run

    ping www.godalmingbc.com
    

    and see which IP number it looks up. For me, this gives

    PING godalmingbc.com (50.28.10.63) 56(84) bytes of data.
    64 bytes from host100.kvchosting.com (50.28.10.63): icmp_req=1 ttl=49 time=135 ms
    

    If your computer looks this up to a different IP, you should try to find out why (try the command from one of your devices that work).

    You say that you tried different DNS servers. Try it again, and make sure the change actually initiates, i.e. save settings, reboot router and so on. Try DNS 8.8.8.8 (Google's public DNS), which demonstrably resolves to the correct IP:

    $ nslookup www.godalmingbc.com 8.8.8.8
    Server:     8.8.8.8
    Address:    8.8.8.8#53
    
    Non-authoritative answer:
    www.godalmingbc.com canonical name = godalmingbc.com.
    Name:   godalmingbc.com
    Address: 50.28.10.63
    

    If it was just a single machine on your home network that had the problem, I would tell you to check the hosts file to see that there wasn't a rogue entry there, but unless you have an unnecessarily convoluted home network setup, this would probably only affect just a single machine (unless you have permeated the change to all hosts files, but you should be aware if this, I reckon).

  • resmon6

    You may be seeing a block on your hosting provider's firewall or even a firewall on your server. I know some of the turn-key solution cpanel firewalls are notorious for locking admins out of their own websites. There's the possibility that your network segment was blocked by the hosting provider at the edge to mitigate a DoS attack. Try opening a ticket with your hosting provider.


  • Related Question

    windows - All websites seem to work, except for those on the microsoft.com domain?
  • Justin L.

    I found an old reformatted computer somewhere, with Windows XP installed. It's a bit faulty; I can't get the monitor settings to work on anything other than the lowest resolution. But that's not the point of this question.

    I've hooked it up to a LAN line, and it's now browsing the internets pretty fine. I'm actually making this post from it right now. I'm working on Firefox, but I'd like to be able to upgrade Internet Explorer, or at least try to install the service pack upgrades.

    There's only one problem -- attempting to browse to any website under the microsoft.com domain returns a Server Not Found error. I've tried changing my DNS settings to Google DNS, but nothing seems to work. It's as if whoever reformatted this computer had some sort of overzealous notion of censorship. All other computers on this network are able to access microsoft.com domain names perfectly fine.

    Does anyone know what could perhaps be causing this problem?

    EDIT:

    Malware is likely the culprit so far, as malwarebytes.org is also behaving the same way that microsoft.com is behaving.

    After a scan, it seems like that old Conficker bug is the culprit. Anyone have any idea how it could have gotten onto a system that was reformatted a few years back? Oh well.


  • Related Answers
  • Dentrasi

    If weird stuff like that is happening, your best bet is normally just to wipe and reinstall.

    However, a lot of malware stops you going to microsoft sites, partly to block windows updates. Check your hosts file (C:\windows\system32\drivers\etc\hosts), and run a scan with a good AV tool (I like MalwareBytes), to check it's no that.

  • Martin Liversage

    Have a look at %SystemRoot%\System32\Drivers\etc\hosts. If you find entries (lines) for domains you cannot connect to you should remove them. Unless you have special requirements this file should only contain a single entry for localhost.

    To troubleshoot you problem you should also try to execute tracert www.microsoft.com. You should be able to determine if the problem is a DNS problem or a connection problem.

  • James T

    Yeah that hosts file that you posted looks ordinary. Are you able to go to microsoft.com by using their IP address instead of the DNS name? Type "207.46.197.32" without quotes into the address bar of the web browser.

    Are you able to do an nslookup microsoft.com? You should get results like this:

    Non-authoritative answer:
    Name:    microsoft.com
    Addresses:  207.46.232.182
              207.46.197.32
    

    You said this system was reformatted, so it hopefully doesn't have any viruses? Viruses sometimes block microsoft.com in order to prevent online support and windows updates. It might be worth doing a few virus scans as described here.

  • Richard

    For what it's worth, I came across this useful tool recently:

    http://downforeveryoneorjustme.com/

    ...which does what it says on the tin.