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.
Additional info: So I was setting up a subsite and messed smth up, which messed up the encryption on my public site, tried reapliying it, but I accidentally had the same server name in both, that made it redirect to the private sites config, I then fixed it and caused a redirect error, reaplied the certificate, still have the same error, deleted all certbot config parts out of configs and rm * everything in /etc/letsencrypt, tried realiying the certificate and it causes the redirect url. Site runs fine without the certificate.
My domain is: awakening.fun
I ran this command: sudo certbot --nginx
It produced this output: Successfully deployed certificate for awakening.fun to /etc/nginx/sites-enabled/default
Congratulations! You have successfully enabled HTTPS on https://awakening.fun
And Site doesn't redirect correctly in browser.
My web server is (include version): nginx/1.22.1
The operating system my web server runs on is (include version): Debian 12
My hosting provider, if applicable, is: /
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 3.0.1