Redirecting my domain using a page rule doesn't work on some browsers

I have these 2 page rules:

http://genify.ai/*
Forwarding URL (Status Code: 302 - Temporary Redirect, Url: https://www.genify.ai/$1)

https://genify.ai/*
Forwarding URL (Status Code: 302 - Temporary Redirect, Url: https://www.genify.ai/$1)

I get DNS_PROBE_FINISHED_NXDOMAIN when I try to access genify.ai. However www.genify.ai works, and accessing genify.ai from other browsers works.

In DNS I have a CNAME for www.genify.ai, and nothing for genify.ai

You should create one CNAME for genify.ai that points to www.genify.ai, then proxy it.

1 Like

Ok, I’ll try that. How will it work? Should I remove the page rules?

No. You should retain the page rules.

In order for Cloudflare to process traffic for genify.ai, you must have a DNS record for genify.ai - which is proxied. If not, redirect won’t work even if you have the page rules (genify.ai traffic does not come to Cloudflare).

1 Like

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