Thank you all! It was an important experience for me. Now everything works. I really did not specify the site name in the command)))))
/solved
Thank you all! It was an important experience for me. Now everything works. I really did not specify the site name in the command)))))
/solved
Just set you hostname as a fqdn. For example mail.example.com or webserver.example.com. You also may want to enable swap on your droplet. Digital ocean frowns on it as it wears out their SSDâs, but I would and do setup a 1 gig swap. They donât encourage it, it is allowed and worth it as a backup just incase it is needed.
I also setup fail2ban on server and use https://wordpress.org/plugins/wp-fail2ban/
There is another tutorial that rtcamp put out that I folowâŚHere it is. https://easyengine.io/tutorials/linux/sysctl-conf/
Look through all of those tutorials, Rahulâs tutorials have taught me so much over the years.
I also use ufw to manage iptables but thats about it for webserver. Also setting up ssl with easyengine is dead simple so now that your site is up you can use letsencrypt and set tls up on your site.
Best of luck
Many thanks for the advice! You saved a ton of time for me, really. Especially (as a newbie), I find useful examples of settings for optimizing servers.
By the way, I immediately created a swap file (1GB) for my Droplet, right after it was created. Because I always did this in every Windows installation ))))