Http-01 challenged failed and no valid ip address found ( I am using the ubuntu 20.04)

My domain is:

I ran this command:
sudo certbot --nginx -d

It produced this output:
Here is my error:
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Plugins selected: Authenticator nginx, Installer nginx

Obtaining a new certificate

Performing the following challenges:

http-01 challenge for

Waiting for verification...

Challenge failed for domain

http-01 challenge for

Cleaning up challenges

Some challenges have failed.


  • The following errors were reported by the server:


Type: dns

Detail: No valid IP addresses found for

My web server is (include version):

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

My hosting provider is:

I have the A record domain ( running to the ip address of the ubuntu 20.04.
I can login to a root shell on my machine.

Here are the previous commands:
~ sudo apt install nginx ~ sudo apt install certbot python3-certbot-nginx


Welcome to the Let's Encrypt Community :slightly_smiling_face:

You cannot use a private IP address ( with the http-01 authenticator. Your webserver must be publicly reachable.


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