Rule configuration in case of sumdomain

I’m new to cloudflare, so I’m sorry if my question is trivial.

I have a dns entery as follow:
CNAME docs some_static_site Proxied

I would like to be able to browse to docs.example.com without being redirected to the amplifyapp url.

How should my rule configuration looks like?

Thanks

Are you using Redirect Rules? If so, ensure the rule doesn’t apply to “All incoming requests” and set a “Custom filter expression” that checks the Hostname as the first step.

1 Like