I would like my droplet to serve HTTPS via Nginx, but I don’t want the DNS records hosted by DigitalOcean. The reason is that I have a complicated set of DNS records at my domain registrar, and I’m certain something will break if I try to move them. (Especially because my grip on the various record types is tenuous.)

The standard HTTPS-on-Ubuntu18.04 tutorial implies that DNS hosting on DigitalOcean is required, but doesn’t come out and say it.

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

So, my questions are:

(1) If I follow the simple tutorial, and keep the DNS records at the registrar, will my site serve HTTPS and will it successfully do the auto-renews?

(2) If the answer to (1) is no, is there another tutorial I can follow to set up HTTPS for Nginx on Ubuntu while keeping the DNS records at the registrar?

Thank you,
John

1 comment

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.

×
1 answer

Hi @benferilliniti,

Following the mentioned tutorial should be fine as long as you have both your root and www. domain pointed to your droplet. The tutorial doesn’t actually require fo your DNS to be hosted with DigitalOcean, it only needs for your domain to be pinging.

Having said that, you can follow the tutorial without any concerns:

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

Regards,
KDSys

by Mitchell Anicas
In this tutorial, we will show you how to use Let's Encrypt to obtain a free SSL certificate and use it with Nginx on Ubuntu 16.04. We will also show you how to automatically renew your SSL certificate. If you're running a different web server, simply follow your web server's documentation to learn how to use the certificate with your setup.
Submit an Answer