Question

How do I add the two DNS records necessary to Enable HTTPS. I know i have to add both www and hostname but EXACTLY how do I do that. Thx!

Posted March 5, 2019 449 views
DNSUbuntu 18.04

The message i get: SERVFAIL looking up A for ‘MYDOMAIN’

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

Is your domain using DigitalOcean Nameservers? If not set the Nameservers to use DigitalOcean’s NS on your Domain Registrar.

ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com

Once done, add the domain to your DigitalOcean account and Under A records TAB add A record for main domain.
HOSTNAME: @
WILL DIRECT TO: Select the Droplet IP or Insert IP manually.

Move to CNAME tab and add:
HOSTNAME: www
IS AN ALIAS OF: @

Once done, wait for DNS propagation to complete and retry installing SSL on the Droplet to which you have added the A record. Let me know if you have any further questions.

Submit an Answer