Subdomain works but main domain does not

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