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

My domain is:
pay.poplarpay.com

I ran this command:
sudo certbot --nginx -d pay.poplarpay.com

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 pay.poplarpay.com

Waiting for verification...

Challenge failed for domain pay.poplarpay.com

http-01 challenge for pay.poplarpay.com

Cleaning up challenges

Some challenges have failed.

IMPORTANT NOTES:

  • The following errors were reported by the server:

Domain: pay.poplarpay.com

Type: dns

Detail: No valid IP addresses found for pay.poplarpay.com

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 (pay.poplarpay.com) 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

2 Likes

Welcome to the Let's Encrypt Community :slightly_smiling_face:

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

2 Likes