404 Error on internet accessible machine [Resolved]

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

My domain is: www.datvreporter.info

I ran this command:

sudo certbot --nginx -v

It produced this output:

Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: www.datvreporter.info
Type: unauthorized
Detail: 2a01:7e01::f03c:94ff:fe13:9535: Invalid response from http://www.datvreporter.info/.well-known/acme-challenge/

My web server is (include version):

nginx/1.18.0 (Ubuntu)

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

ubuntu 22.04

My hosting provider, if applicable, is:

Linode

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 2.11.0

Current nginx is setup, accessible on the internet on port 80 and currently serving a static page. Same process has been followed on other domains, but this one does not work. Not sure if its related to .info domain ?

Please advise

1 Like

May I look at your nginx config? nginx -T (need to be capital)

3 Likes

No worries, I just managed to resolve this. There was an error in my nginx conf file.

All good, certificate obtained. Thanks :slight_smile:

5 Likes