Question

How do you secure your new server?

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,


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Great tips, Kamal. Thanks a lot. <br> <br>isn’t there an article covers up all security issues, or at least the major matters such as ddos attack, sql injunction, Sensitive Data Tracking and so on…?

Thanks for those links.