Subdomain works but main domain does not

Website URL

cuper.dev

Error Message

ERR_TOO_MANY_REDIRECTS

Other Information

my subdomain piotr.cuper.dev works perfectly
the website is using cloudflare

Hi and welcome to the forum! You’re using Cloudflare Flexible SSL, which needs some more steps to work correctly on WordPress (if you’re using that):

The easiest, fastest and best way to solve it is to configure Cloudflare’s Full SSL with a self-signed certificate by following the instructions on this article:

5 Likes

Hi i’m not using wordpress and following the instrustions didn’t change anything

Can you check the .htaccess file on your domain’s htdocs folder for any redirect line and, if any, remove it?

3 Likes

it doesn’t have any redirects

According to the redirect checker tool, your website redirects to http if https and https if http. Please show the content of the htaccess file.

4 Likes

content of .htacess file


php_value display_errors Off
php_value mbstring.http_input auto
php_value date.timezone Europe/Warsaw

i have found the solution, the index.html had uppercase I which turned out to not be supported

4 Likes

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