Redirect www.subdomain.domain.com to domain.com

Hi,

I try to redirect www. yokoblog. canaloblog. com.domain.com to canaloblog. com.

I have added this CNAME :
www. yokoblog. canaloblog. com. 1 IN CNAME canaloblog. com. (proxied)

in page rule, I have added :

https://www.*.canaloblog. com/
Forwarding URL (Status Code: 301 - Permanent Redirect, Url: https://canaloblog. com)

https://*.canaloblog. com/
Forwarding URL (Status Code: 301 - Permanent Redirect, Url: https://canaloblog. com)|

the subdomain.canalblog.com does redirect, but not the www.subdomain.canaloblog. com…

Can someone give some help ?

thanks !

(I had to add some space in domain in order to validate my message…)

The Cloudflare universal certificates cover example.com and *.example.com. This means that it covers any hostname one level below the domain you signed up with. It will cover www.example.com and hostname.example.com, as these are one level below the domain, example.com.

The certificate will not cover www.subdomain.example.com or a.b.example.com, however, as these hostnames are too deep.

You can read more about this and the solutions in this community tutorial.

2 Likes

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