I was following this tutorial to install a SSL certificate to my website: How To Secure Nginx with Let’s Encrypt on Ubuntu 18.04. When I ran the following command:
sudo certbot --nginx -d woodcraftgallery.com.np -d www.woodcraftgallery.com.np
The following error came up:
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: woodcraftgallery.com.np
Type: connection
Detail: dns :: DNS problem: SERVFAIL looking up A for
woodcraftgallery.com.np
Domain: www.woodcraftgallery.com.np
Type: connection
Detail: dns :: DNS problem: SERVFAIL looking up A for
www.woodcraftgallery.com.np
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
I have the following domain set up:
| Domain | Type | Destination |
|---|---|---|
| woodcraftgallery.com.np | A | 128.199.130.80 |
| woodcraftgallery.com.np | MX | 10:mail.woodcraftgallery.com.np |
| www.woodcraftgallery.com.np | CNAME | woodcraftgallery.com.np |
The IP address is correctly assigned and the HTTP seems to be working fine. I have configured the firewall just as said in the tutorial. Please tell me how I can resolve this issue?
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!
Hello,
I believe dig +short myip.opendns.com @resolver1.opendns.com should return your IP address
At the moment woodcraftgallery.com.np is resolving from 128.199.130.80 so I hope you’ve already sorted this.
Alex
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.