Sorry about my noob question. I am setting up a new droplet for my new site and I want to know how to set things up securely and also the required setting before I go to production with a sample “Hello page”. Can you please confirm and add some other things for my list. Here are the steps that I got to do:
Basically I want to know what is necessary to be done before I create my first “hello world” page (php)
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!
Sounds like you’re on the right path. Regarding fail2ban, you shouldn’t have any problems with the dynamic IP under the default settings. While you won’t be able to easily whitelist your IP, it only bans an IP after a number of failed login attempts. So especially if you are using key-based authentication, you shouldn’t have a problem.
Like with fail2ban, using a dynamic IP limits some of the things you could do with a firewall, but it will not prevent you from using it. You can still set up general rules, you just won’t be able to whitelist a specific IP. This article should get you up and running:
How To Setup a Firewall with UFW on an Ubuntu and Debian Cloud Server
Let us know how it goes!
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.