Proxy traffic to different subdomain

I have a cloudflare pages site with different branches: master and beta. I want users from selected countries to receive content from beta branch instead of master. Now the problem is, pages create a different subdomain for each branch and it isn’t possible to rewrite a subdomain in transform rules.
I could set up a redirect rule, but that would change domain, causing potential problems with caching. Resources are immutable, so will always have the same content as . I also don’t want to use workers.

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