Question

Limit Access to my Website hosted on Digital Ocean

Hi Team DI, Wanted to know how can I limit access to my website (or droplet to say) only to specific laptops/PCs being used in my office or my home.

Droplet details - 4 GB / 80 GB Disk / NYC1 - CentOS 7.6 x64

Subscribe
Share

Submit an 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.

Hi there @kaustubhjsakpal,

What you could do is to use a firewall like CSF and lock down all ports. That way only the allowed IP addresses will be able to access the services running on the Droplet.

Here is a step by step tutorial on how to install CSF on CentOS:

https://www.digitalocean.com/community/questions/how-to-install-and-configure-config-server-firewall-csf-on-centos

Hope that this helps! Regards, Bobby