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?
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!
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 192.168.0.1 -j ACCEPT
Remember to change the IP 192.168.0.1 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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.