Issue when dns hosting on cloudfare

My domain is:

I ran this command:

It produced this output:
Type: unauthorized
Detail: Invalid response from
[]: 404

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.

FATAL: all hosts have already failed – aborting

My web server is (include version): nginx

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

My hosting provider, if applicable, is: cloudfare

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): no

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

I updated the A record to β€˜’ still shows β€˜’ and hence it seems certbot is failing. Can you please help?

Thank You.

Hi @Pankti

where did you update that record? Now I see the 104.* address. But Letsencrypt has seen the 3.14.*

There is no older Letsencrypt certificate listed, the CT-part shows only the

Issuer not before not after Domain names LE-Duplicate next LE
CloudFlare Inc ECC CA-2 2019-05-22 2020-05-23 *,,
3 entries

Cloudflare Certificate.

Looks like you use the integrated Cloudflare solution to have a SSL connection between your server and Cloudflare. Then you don't need an own Letsencrypt certificate.

Checking your raw ip there is another certificate -
expires in 18 days	*, - 2 entries
1 Like

PS: Oh, there are some different informations.

There you use, not the

There is a check of the -

That domain has the 3.14.* ip address. But there is the error:

Domainname Http-Status redirect Sec. G
β€’ GZip used - 56 / 36 - -55,56 % 404 Html is minified: 100,00 % 0.267 M
β€’ GZip used - 56 / 36 - -55,56 % Inline-JavaScript (βˆ‘/total): 0/0 Inline-CSS (βˆ‘/total): 0/0 404 Html is minified: 100,00 % 4.094 N
Certificate error: RemoteCertificateNameMismatch
β€’ GZip used - 56 / 36 - -55,56 % Inline-JavaScript (βˆ‘/total): 0/0 Inline-CSS (βˆ‘/total): 0/0 404 Html is minified: 100,00 % 0.266 A
Visible Content: domain is not defined:

Domain is not defined.

Looks like your vHost setup is incomplete.

1 Like

What command did you run? What was the complete output? What ACME client are you using? What version of it?

1 Like

Hi there,

There was an error with dns records. www routing was also added as an β€˜A’ record and hence error. Removing it solved the issue.

Thank you guys for your apt response. Really appreciate it.


1 Like

That's possible.

But if you have a main domain, it's better to have a DNS entry and a correct configured vHost with one certificate and both domain names. And correct redirects.

Some users add always www to the domain name.

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