Pages Rules: Proxy to different host and path

dns
pagerules

#1

I have Cloudflare set up to CNAME www.foo.com to www.bar.com. The icon in the console shows that DNS and HTTP proxy are enabled. When I visit www.foo.com, I see the content for www.bar.com. So it seems to be working.

I’d like it so that when Cloudflare receives urls of the form https://www.foo.com/ORIGINAL_PATH it proxies the request to http://www.bar.com/x/y/z/ORIGINAL_PATH. I want Cloudflare to proxy the request - not to redirect it.

Are there Page Rule(s) which could help with this?


#2

This topic was automatically closed after 14 days. New replies are no longer allowed.