DevKits

Request negotiation · Request header

Host

The requested host name and port.

What is Host?

Required on all HTTP/1.1 requests. Enables virtual hosting where one IP address serves many domains.

Typical usage

Set automatically by every HTTP client.

Examples

Host: example.com

Specification

RFC 9110 §7.2

Related headers