Report this

What is the reason for this report?

How can I deny HTTP access to my droplet?

Posted on July 11, 2013

I have my droplet IP, and when I put it in the browser my default site is displayed. Can I avoid this?



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.

daniloef, create a file called 1.2.3.4 in /etc/nginx/sites-enabled: <br> <br>server { <br> server_name 1.2.3.4; <br> return 444; <br>} <br> <br>Make sure you replace 1.2.3.4 with your actual IP address. <br>

Yes, you can: <a href=“https://www.digitalocean.com/community/articles/how-to-setup-a-firewall-with-ufw-on-an-ubuntu-cloud-server”>How to Setup a Firewall with UFW on an Ubuntu Cloud Server</a>

Is it just the default site you don’t want shown? Are there other sites on the box?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.