Redirect rule failing on www vs naked

What is the name of the domain?

example.com

What is the error number?

DNS_PROBE_FINISHED_NXDOMAIN

What is the issue you’re encountering

Domain forwarding using the Redirect Rule works for www. but not naked

What steps have you taken to resolve the issue?

I am using a redirect rule to redirect all traffic from domain1 to domain2. It works for www. but not the naked . Naked domain1 shows this: DNS_PROBE_FINISHED_NXDOMAIN

I’m using the cloudflare redirect rule feature. I have no relevant DNS records on domain1 (e.g. No A, CNAME, etc). On domain2, I have A records pointing to my website and a CNAME for www to naked. All are using the “proxied” feature.

My redirect rule is set for “All incoming requests” and has this logic: concat(“https://”, http.request.uri.path)

That’s your problem. You need a proxied DNS record for the domain you are forwarding from so it resolves. If you are just redirecting then use a proxied AAAA record pointing to 100::

1 Like

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