No valid A records found for website; no valid AAAA records found for website

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. |, so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command: sudo certbot certonly -v --webroot --preferred-challenges http -d -d

It produced this output: Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Requesting a certificate for and
Performing the following challenges:
http-01 challenge for
http-01 challenge for
Input the webroot for (Enter 'c' to cancel): ./

Select the webroot for

1: Enter a new webroot
2: /home/ain/projects/video2vid/src_server

Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Waiting for verification...
Challenge failed for domain
Challenge failed for domain
http-01 challenge for
http-01 challenge for

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Type: dns
Detail: no valid A records found for; no valid AAAA records found for

Type: dns
Detail: no valid A records found for; no valid AAAA records found for

Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.

Cleaning up challenges
Some challenges have failed.

My web server is (include version): a costom c webserver with libhv for networking

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

My hosting provider, if applicable, is: i am hosting the server myself

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): certbot 1.31.0

Welcome to the community @abdelilah

Your DNS A record is for a private IP address. Let's Encrypt can only use public IP addresses. And, anyone trying to connect from the public Internet will need to see a public IP too.

The Let's Debug test site explains this well


thank you for your reply @MikeMcQ
so how can i make my ip address public and not private
and what is the diffrence between private and public ip

1 Like

A public IP is one used in the public Internet. A private IP is only useful in your own network (your own devices). There are many online sources that provide better descriptions. This is not a forum for general education about the internet or networking.

There are many ways to learn your public IP. This command will show your IPv4 public IP

curl -4

@MikeMcQ i am really sorry for the dumb question but how do i assign that address to my server or computer is it via the router or what coz libhv cannot start the server with that adderess
any help

Yeah, that's a little too basic for this forum. You need a working HTTP server to be able to use the HTTP Challenge.

You might want to try the Clear Linux forum or a forum for that custom server you plan to use.

Maybe some other volunteer here will help but it won't be me. Best of luck to you


You don't.
You put that IP in DNS, so that the rest of the Internet knows where to find your server.


And make the appropriate NAT portmaps, if applicable. Details about that can be found using regular search engines such as Google. This is not the Community to discuss such basics in detail.


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