I added a subdomain and added a dns record, but it's not working

:point_up: I am afraid this could be the issue of the mentioned such as Mixed Content errors, Redirect Loops you’re getting :confused:

Two possible options:

  1. Configure your virtualhosts file with SSL to make sure it’s served via HTTPS from the origin for your sub-domain
    1.1. You could use Let’s Encrypt / Certbot, etc. for a sub-domain to get your ssl
    1.2. Or you could use Cloudflare Origin CA Certificate
  2. Disable SSL for your sub-domain at Cloudflare by using Page Rules and have insecure setup over HTTP only

Here is a way to re-check if you correctly setup the SSL for your domain with Cloudflare:

Regarding available SSL options at Cloudflare dashboard, check here:

If any other issues appear, follow the needed steps for troubleshooting from article below:

In case you do not have an SSL certificate, you can use Cloudflare SSL, if so, kindly make sure you follow the instructions as follows on the below article to setup an SSL certificate using Cloudflare Origin CA Certificate:

Last but not least, kindly have a look here for more information regarding correct SSL settings at the SSL/TLS tab on Cloudflare dashboard:

2 Likes