Subdomain works but main domain does not

Website URL

REMOVED

Error Message

ERR_TOO_MANY_REDIRECTS

Other Information

my subdomain REMOVED 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:

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?

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.

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