Certbot DNS Problem Failed to Verify the temporary nginx

Good evening hope everyone is doing good. I am working on a school project and I keep bumping into this error when im running the last step before I get to see my actual website. If this help im making an image board for my class. I was inspired by this, Vichan it has all the code. I appreciate everyone for trying to help.

My domain is: www.chan.fig.org

I ran this command: certbot --nginx -d chan.fig.org

It produced this output: Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for chan.fig.org

Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: chan.fig.org
Type: dns
Detail: DNS problem: NXDOMAIN looking up A for chan.fig.org - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for chan.fig.org - check that a DNS record exists for this domain

Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.

Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

My web server is (include version): Did not get that far

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

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

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

Hi @Iluvbrad,

Before using Certbot, you should get your site up and running using HTTP. That is the expectation that Certbot has (at least when run with the most popular --nginx and --apache modes!), that it will be run on a server where you already have a working HTTP site that's accessible under your domain name. Then it can help add HTTPS to that site.

4 Likes

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