Unable to redirect www subdomain to an external website
What steps have you taken to resolve the issue?
Hello,
I’ve registered a domain via Cloudflare.
And I’ve created two ‘A’ DNS records where ‘domain.org’ and ‘www’ points to 192.0.2.1 and are proxied.
I’ve also create this redirect rule (http.host eq “pierre-ia.org”) that redirect to an external website → it works like a charm.
However, and whatever I try, I’m not able to redirect my www subdomain to the same external website.
What redirect rule do I need to create?
I might be missing something obvious.
Otherwise, if you’d use contains instead of equals in your current Redirect Rule, it would match even the other sub-domains like test.pierre-ia.org (if they do exist and are also pointed to e.g. 192.0.2.1 and proxied ) and not just www.pierre-ia.org and pierre-ia.org.