FAQ
Below you will find answers to the most commonly asked questions regarding Origin Rules.
What happens if I use both an Origin Rule and a Page Rule to perform a Host header/resolve override?
In this situation the Origin Rule parameters will override the Page Rule parameters. Consider the following example scenarios:
- A Page Rule defines a Host header override, but not an resolve override. An Origin Rule defines an resolve override, but not a Host header override. The resulting request will have the
Host
header defined by the Page Rule and the origin hostname defined by the Origin Rule. - A Page Rule defines a Host header override, and an Origin Rule also defines a Host header override. The resulting request will have the
Host
header defined by the Origin Rule.
Will Cloudflare automatically migrate my Page Rules with Host header and resolve overrides to Origin Rules?
No. This is currently a manual process, since your Page Rules may include additional settings that Origin Rules do not currently support.