I connected my subdomain from GoDaddy to DO droplet but it gives SSL error when I try to visit it

I added an A record in Godaddy to point to my DO droplet that runs Strapi CMS and that works, but when I try to access I get Warning: Potential Security Risk Ahead.

Is there a way to mitigate this issue and enable SSL without transferring the domain management to DO?


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, @milos5593

Have you installed an SSL Certificate for the domain name on the server?

If not, you can follow our tutorial on How To Secure Nginx with Let’s Encrypt on Ubuntu 20.04:

Regards, Alex