Report this

What is the reason for this report?

How do you secure your new server?

Posted on February 10, 2014

I’m thinking of moving from shared hosting, to digitalocean (LAMP on Ubuntu), and found this is nowhere like what shared hosting is, where everything else is taken care of for you and you simply upload your site and it’s running.

While you guys have quite a few great articles on how to set things up, I think there need to be more article on how to secure your new server. Starting from all that needs to be secured / done for the OS, to MySql and PHP and everything else. Obviously, the default installation will be insecure with lots of stuff left open (I assume).

I did look around your help files, but could not find anything concrete on securing a server. I hope you can point me to content on securing a Ubuntu based installation, or if you guys haven’t written anything this far, I hope someone will. Or, it’d be nice If you could post info here itself.

Thanks,



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.

Good tips, Kamal. Thanks again.

Thanks for those links.

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.