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: eter7.com
I ran this command:
It produced this output:
My web server is (include version): LEMP
The operating system my web server runs on is (include version): Ubuntu 22.04
My hosting provider, if applicable, is: Vultr
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.32.2
Dear Sirs,
I´m very sorry to disturb you.
I have tried several things to fix this situation, but without success.
I have a server with 4 domains and this problem only happens with one domain. All other domains are managed by Certbot also with the SAME configuration.
The problem is with Redirection, there are 4 situations:
(Redirection Target: https://www.eter7.com)
1- http://www.eter7.com - WORKS!
2- https://www.eter7.com - WORKS!
3- http://eter7.com - DOESN´T WORK
4- https://eter7.com - DOESN´T WORK
Below, the config of certbot:
server {
listen 80;
listen [::]:80;
server_name www.eter7.com eter7.com;
if ($host = www.eter7.com) {
return 301 https://$server_name$request_uri;
} # managed by Certbot
if ($host = formasparaqueijo.com) {
return 301 https://$server_name$request_uri;
} # managed by Certbot
}
server {
listen 443 ssl http2; # managed by Certbot
listen [::]:443 ssl http2; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/eter7.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/eter7.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
server_name www.eter7.com eter7.com;
root /var/www/eter7.com/;
index index.php index.html index.htm;
...
}
I have tried to deploy a new instance trying to fix, but also no way.
Searching helping at web, tried other config setup, neither... several hours of looking and nothing...
The problem is with eter7.com, it can´t redirects with 'http' or 'https' to https://www.eter7.com, if someone type in browser eter7.com it doesn´work...
Please, could you help me?
Thanks and Regards,
Tony