Page rule not working - Help please

Having difficulty getting a page rule to work, any advice please on what is wrong.

If the URL matches:
hostnameA.domainA.com/*

Then the settings are:
Forward URL - 301 Permanent Redirect
https://hostnameB.domainB.com:10003

I don’t a DNS entry for hostnameA in my zone file.

Why would the above not work?

Thanks

You need a DNS record for hostnameA.domainA.com. You can use the IP 192.0.2.1 for the record and it needs to be :orange:.

The reason is that the request needs to hit Cloudflare in order for the page rule to work.

3 Likes

Thank you! That worked as described.

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