Skip to content
Cloudflare Docs

Change the HTTP Host header

Create an origin rule to change the HTTP Host header.

The following origin rule overrides the HTTP Host header to eu_server.example.net for all requests containing /eu/ in their URI path.

Text in Expression Editor:

http.request.uri.path contains "/eu/"

Value after Host Header > Rewrite to:

eu_server.example.net