Question

I can't access my site but everyone else can (only my IP address doesn't work)

Posted December 28, 2015 14.5k views
NginxUbuntuPHP

Hey everyone. First post!

So I cannot access my site unless I use a VPN or use another WiFi network. For some reason, it’s not allowing me to access my own site using my own IP. If I connect from my phone using my data, it works fine. It seems to be only my IP address.

I have no idea why this is happening.

No idea what’s happening. Any help is appreciated. I’m using Laravel on Forge.

1 comment
  • My first guess would be cached DNS results on your WiFi router. (this is assuming you are trying to connect to your droplet via a domain or subdomian name rather than it’s IP address).

    When you connect to a router via DHCP DNS settings are passed to your computer. Often these will point either to your ISPs own nameservers or to a proxy or private name server on your router. In either case, if you had been accessing your site at another location (or just registered the domain) these records may be out of sync with what the rest of the Internet sees. If this is the case it should clear up on it’s own within 24 hours as the DNS server’s cache expires. In the short term I would recommend changing your DNS server settings to 8.8.8.8 (Google’s public DNS server) and trying again.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
3 answers

This question was answered by @ryanpq:

My first guess would be cached DNS results on your WiFi router. (this is assuming you are trying to connect to your droplet via a domain or subdomian name rather than it’s IP address).

When you connect to a router via DHCP DNS settings are passed to your computer. Often these will point either to your ISPs own nameservers or to a proxy or private name server on your router. In either case, if you had been accessing your site at another location (or just registered the domain) these records may be out of sync with what the rest of the Internet sees. If this is the case it should clear up on it’s own within 24 hours as the DNS server’s cache expires. In the short term I would recommend changing your DNS server settings to 8.8.8.8 (Google’s public DNS server) and trying again.

View the original comment

  • I’m having the same issue as the OP and tried to flush my DNS cache and also change my DNS server to Google, but neither of these approaches have allowed me to again access my site.

    I can access my site (https://jewelbound.com) from my cell network, any other computer, when I’m on my computer but connected to VPN, and everyone else has no prob accessing it… but for some reason, I can’t access when I’m just connected to my regular internet.

    I even reset my router, and reset my modem.

    Any other suggestions?

Same here, cleared all DNS and etc, still cant access my droplet web site with my own IP address. Please advice

Hey i am getting same trouble as i changed the a record and cname in cpanel for my website https://daamaze.in and after that everyone can see it but only i can’t see it on my computer however if i will check google analytic so still people can see.waiting for automatic resolve.

  • Hi @shfg876,

    Firstly, make sure to configure your DNS records as it follows :

    • root A record for your domain to point to your Droplet’s IP
    • www cNAME record for your domain to point to your root domain name

    Otherwise you’ll get a DNS error.

    Sometimes apart from your ISP caching DNS, your router does it too. I’ll recommend after doing the above changes to check if you still can’t access your website and if it pings from your droplet. If it doesn’t restart your router as well.

    Regards,
    KDSys

Submit an Answer