Question

How do I force https for a droplet

Hello

I am a non-coder. Is there an easy way to activate https instead of http for a specific droplet with an assigned domain?

Thanks for help

Thomas

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.

Hello, @thomasengel

What you can do is install an SSL Certificate for your domain name. You can check these articles here:

https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04

https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-20-04

However, an easier option will be to use CloudFlare to manage the DNS for your domain name as this will give you to option to use SSL, e.g route the traffic via HTTPS instead of HTTP.

Regards, Alex