I was making minor content changes to my Wordpress website (standard Ubuntu 18.04 droplet WordPress setup), and suddenly all my requests from my browser to are refused. Apparently, this only occurs to devices connected to my home router. I can access correctly with 4G on my phone, and my friends can access the website in their homes.
I suspected it might be a DNS cache problem. But I can SSH into the droplet using my domain, through my home router, without any problems. I also tested that the domain resolves to the correct droplet IP address on my desktop machine.
This is really annoying since I cannot access my site directly. Does anybody have any ideas what the problem might be?
A possible related problem: https://www.digitalocean.com/community/questions/i-can-t-access-my-site-but-everyone-else-can-only-my-ip-address-doesn-t-work
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
I realized somehow my IP address was banned with fail2ban. It worked after removing all fail2ban bans.
Hi @lichunshang,
This is quite strange! Firstly, I’ll recommend allowing your IP in your Firewall. You can achieve that by running the following commands
Please remember to change XXX.XXX.XXX.XXX with your IP address. Next, make sure you are not the one blocking access to the said site. I’ve had cases before where the router/network/wi-fi a person is connected to is blocking some websites. This is common practice with some colleagues.
Lastly, check if you can open the website using an incognito browser, it might be some plugin you have installed that’s preventing you from seeing it.
Regards, KFSys