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?
Thank you, John
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.
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:
Regards, KDSys
Click below to sign up and get $100 of credit to try our products over 60 days!
Wait – it’s Ubuntu 16.04. My apologies. So that would be this tutorial: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04