I followed this tutorial https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04
and when I write this command sudo certbot --nginx -d example.com -d www.example.com with my own domain, I get this error
Challenge failed for domain goldenpay.click Challenge failed for domain www.goldenpay.click http-01 challenge for goldenpay.click http-01 challenge for www.goldenpay.click Cleaning up challenges Some challenges have failed.
IMPORTANT NOTES:
The following errors were reported by the server:
Domain: goldenpay.click Type: dns Detail: DNS problem: SERVFAIL looking up A for goldenpay.click - the domain’s nameservers may be malfunctioning; DNS problem: SERVFAIL looking up AAAA for goldenpay.click - the domain’s nameservers may be malfunctioning
Domain: www.goldenpay.click Type: dns Detail: DNS problem: SERVFAIL looking up CAA for goldenpay.click - the domain’s nameservers may be malfunctioning
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there,
Indeed, in order for Let’s Encrypt to be able to validate your domain name, you need to first change your A record to point to the server’s IP address.
You can follow the steps on how to do that here:
https://docs.digitalocean.com/products/networking/dns/how-to/manage-records/
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.