Skip to content

http.host

http.host String

The hostname used in the full request URI.

The http.host field contains the Host header from the original client request.

If you have configured Origin Rules that change the hostname, this change is not reflected in the http.host value seen by other rule phases (such as custom rules, cache rules, or transform rules) or Cloudflare Workers. All rule phases and Workers evaluate against the original, unmodified host.

Example value:

"www.example.org"
Categories:
  • Request
  • URI