DNS configuration with SSL with subdomain and with or without www


Let’s assume that I am trying to configure domains:

  • www.xyz.com

  • xyz.com

  • www.blog.xyz.com

  • blog.xyz.com

with SSL support on Cloudflare side.

My dns configuration:

CNAME blog blog.myserver.com
CNAME www.blog blog.myserver.com
CNAME xyz.com myserver.com
CNAME www myserver.com

all TTL set to automatic and in status - orange cloud with arrow strike through.

In SSL/TLS app
SSL is set to Full. Edge certificates automatically set to hosts xyz.com, *.xyz.com. Always Use HTTPS set to true.

What is working:
www.xyz.com and xyz.com wokring fine.
blog.xyz.com working fine
www.blog.xyz.com not working and giving an error:

This site can’t provide a secure connection www.blog.xyz.com uses an unsupported protocol. ERR_SSL_VERSION_OR_CIPHER_MISMATCH .

I think that there is a problem with my code on blog, but I don’t know how to fix it.

What is the best solution for me:
Redirect all current and future domains to naked (root) domains. Could anyone can help me how to configure Cloudflare to cut every www in every domain and subdomain and redirect to naked domain? I am on a free plan.

No, the issue is that Cloudflare does not support fourth-level hosts for universal HTTPS certificates. You would need to purchase the $10/month dedicated certificate option in order to cover that too.

How about redirection to flat domain, is it possible on free plan?

That is possible, but you still cant do it on HTTPS.

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