I can't reach to my website from my country

Posted January 28, 2021 280 views

I deploy my site with django nginx gunicorn and integrate ssl certbot. But after the domain integration I couldn’t access to my website from my country IP. I only can access with VPN. I comminucated with domain provider services and they told me that problem doesn’t relative to us. How can I fix it?

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.

Submit an Answer
1 answer

Hi @cvmds,

Try allowing your IP directly on your droplet via IPtables. The following command needs to be executed on your droplet via SSH or using the DigitalOcean’s web console:

iptables -A INPUT -s -j ACCEPT

Remember to change the IP with your OWN. Once you’ve executed this command, do

tail -f /var/log/secure

and try to open your website again, see if anything will be logged in this log or if you’ll be able to access the website. If you again can’t access it, I’ll suggest doing a traceroute from your laptop to your droplet;

traceroute IPofYourDroplet

Then submit a ticket with DigitalOcean’s support and provide them the output of the traceroute. THey should be able to check if your IP has been blocked somewhere on DigitalOcean’s firewalls.