HTTPS for nginx on Ubuntu 18.04 with DNS records not hosted on DigitalOcean
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.
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?
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.×