Unable to add a new domain to existing certificate

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: 89433332.xyz

I ran this command: sudo certbot certonly --preferred-chain "ISRG Root X1" --pre-hook /home/ubuntu/adguardhome_pre_hook.sh --post-hook /home/ubuntu/adguardhome_post_hook.sh --preferred-challenges dns-01 --agree-tos --email [REDACTED] -d dns2.d94.xyz,*.dns2.d94.xyz,89433332.xyz,*.89433332.xyz --dns-cloudflare --dns-cloudflare-credentials /.secrets/cloudflare.ini --dns-cloudflare-propagation-seconds 60

It produced this output: Unable to determine zone_id for 89433332.xyz using zone names: ['89433332.xyz', 'xyz']. The error from Cloudflare was: 0 HTTPSConnectionPool(host='api.cloudflare.com', port=443): Max retries exceeded with url: /client/v4/zones?name=xyz&per_page=1 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffffb1c57a00>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')).

My web server is (include version):

The operating system my web server runs on is (include version): Ubuntu 22

My hosting provider, if applicable, is: Oracle

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 2.6.0

Hi @dhanuhammer, and welcome to the LE community forum :slight_smile:

It sounds like your server is unable to resolve that name = a DNS problem.
[which might be temporary or it might require a fix to work]

5 Likes

The certificate presently being served https://decoder.link/sslchecker/89433332.xyz/443 is for

Common Name: 	dns2.d94.xyz
SANs: 			DNS:*.dns2.d94.xyz
				DNS:dns2.d94.xyz
				Total number of SANs: 2

And not for 89433332.xyz

1 Like

Also both 89433332.xyz and dns2.d94.xyz map to the same IPv4 Address of 144.24.143.144

$ nslookup 89433332.xyz
Server:         127.0.0.53
Address:        127.0.0.53#53

Non-authoritative answer:
Name:   89433332.xyz
Address: 144.24.143.144
$ nslookup dns2.d94.xyz
Server:         127.0.0.53
Address:        127.0.0.53#53

Non-authoritative answer:
Name:   dns2.d94.xyz
Address: 144.24.143.144
1 Like

okay, so how do I fix this? I want to have 2 domain names for one IP address, as I am planning to not renew the d94.xyz domain in future

thanks for the welcome

I can resolve everything else but this seems to be the only problem

1 Like

I don't think you will find that answer here.
[we can only point you to Cloudflare]

Have you verified that DNS works?

That is a very normal process - one name has nothing to do with the other.
Many names can be served from the same web server [if that is what you are using the cert(s) for].

4 Likes

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