Redirect error on previously working website

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. https://crt.sh/?q=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:
carlosmedina.tk
I ran this command:
sudo certonly --apache -d carlosmedina.tk
It produced this output:
redirect errors on the website, otherwise in the terminal I got the 2 options and hit 2 (probable where the error stems from?)
My web server is (include version):
apache2
The operating system my web server runs on is (include version):
debian 10
My hosting provider, if applicable, is:
me
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):

0.33.0? Same as last post but I dont have a terminal open due to not being home. I dont know if this helps but the port fowarding for the ip adress is for port 80 not 443

Hi @Sargeanthost

read the output of https://check-your-website.server-daten.de/?q=carlosmedina.tk#url-checks

You use Cloudflare with a redirect http -> https.

But your server has a redirect https -> http, Grade F - that’s always wrong.

wrong redirect https - http - never redirect https to http

Remove that redirect, then recheck your domain to see, if that is enough or if there is a second loop https -> https.

Thank you for your reply. Unfortunately my experience is from 10am yesterday and I don’t know what any of what you said about the redirects means, would you mind explaining ? And which redirect should I disable

UPDATE: Now it times out, changed the 000-default conf from removing the redirect permanent, adding it back. Should have looped as there was not net change but oh well…

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