lookup> Host

Host

provides the host and port information from the target URI, enabling the origin server to distinguish among resources while servicing requests for multiple host names on a single IP address.

请求头RFC7230#5.4
NameHost
Type请求头
SpecificationRFC7230#5.4

provides the host and port information from the target URI, enabling the origin server to distinguish among resources while servicing requests for multiple host names on a single IP address.

Host: example.com

RFC7230#5.4

What does the Host header do?

provides the host and port information from the target URI, enabling the origin server to distinguish among resources while servicing requests for multiple host names on a single IP address.

Is Host a request or response header?

It is classified as a request header and can appear in requests or responses depending on context.

Related status codes

About This Tool

This page provides original, human-reviewed information about HTTP headers such as Host, the HTTP Header Reference and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.

If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.