Using Cloudflare redirect (Page Rules) for subdomain only, external nameservers


#1

For a customer project we are investigating some technical features.
In a first step we would like to create a redirect (Page Rules) for a subdomain. The domain is hosted on external dns. I added the following CNAME there:
subdomain.mydomain.tld CNAME subdomain.mydomain.tld.cdn.cloudflare.net

It’s not working. Is there anything I am missing/making wrong?

BR, Jens


#2

To make use of the Cloudflare features, the domain must be registered with cloudflare.
Protecting an external Domain with just a CNAME isn’t possible.


#3

Thank you!
Indeed - adding a corresponding CNAME in Cloudflare DNS setup solves the matter (even if this CNAME there is not working because page rules-redirect will overwrite this).


#4

This topic was automatically closed after 31 days. New replies are no longer allowed.