My domain is: nextreturn.com
I am using certbot
to setup my ssl-certificate. I tried the following:
> sudo certbot --nginx -d nextreturn.com -d www.nextreturn.com
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 nextreturn.com
http-01 challenge for www.nextreturn.com
Waiting for verification...
Challenge failed for domain nextreturn.com
Challenge failed for domain www.nextreturn.com
http-01 challenge for nextreturn.com
http-01 challenge for www.nextreturn.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: nextreturn.com
Type: unauthorized
Detail: Invalid response from https://nextreturn.com/index.php
[2a01:4f8:d0a:526d::2]: "<!DOCTYPE html>\n<html
lang=\"en-US\">\n<head>\n\t<meta charset=\"UTF-8\">\n\t<link
rel=\"profile\" href=\"https://gmpg.org/xfn/11\">\n\t<title>"
Domain: www.nextreturn.com
Type: unauthorized
Detail: Invalid response from https://www.nextreturn.com/index.php
[2a01:4f8:d0a:526d::2]: "<!DOCTYPE html>\n<html
lang=\"en-US\">\n<head>\n\t<meta charset=\"UTF-8\">\n\t<link
rel=\"profile\" href=\"https://gmpg.org/xfn/11\">\n\t<title>"
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
I am running on ubuntu 20 an nginx/1.18.0 (Ubuntu)
and my domain is with the hosting provider hetzner.
I am configuring my server fully over an ssh-terminal and my certbot version is certbot 0.40.0
I used dig nextreturn.com
, which gives my correct server IP. My website is also fully reachable currently via http.
An suggestions what I am doing wrong?
I appreciate your replies!