Auto renew on Ubuntu 16.04 mail/web server - new DNS host

I recently moved one of my domains from GoDaddy to NameCheap as a test. NameCheap is holding my domain and providing my DNS records (which point to a VPS hosted with flipperhost).

It’s the only one (out of a group of 5) that moved; nothing changed on the VPS machine which runs the mail server.

I’m running the commands:
service apache2 stop
certbot renew
service apache2 restart

When I run certbot I now get errors (post provider change)
Certbot version is 0.23.0

I get the following error:

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: www.thedomainImoved.com
    Type: connection
    Detail: dns :: DNS problem: NXDOMAIN looking up A for
    www.thedomainImoved.com

    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’m not sure what DNS records I’m missing.

Thoughts/pointers?

Andrew

Hi @AndyInNYC

your real domain name is required to check your DNS setup.

1 Like

I believe I figured out the problem.

I didn’t create a www record for the domain. I did that and the renew worked. I’ll see in 90 days if that lets the auto renew work as well.

Thanks for the thought.

Andrew

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.