Skip to content
Skip to content
← All HTTP Headers
Request

Host

Specifies the domain name and port of the server being requested.

Syntax

Host: <host>:<port>

Example

Host: enterno.io

Description

The Host header is mandatory in HTTP/1.1 requests. It specifies the domain name (and optional port) of the server to which the request is sent, enabling virtual hosting on a single IP address.

In HTTP/2 and HTTP/3, the :authority pseudo-header replaces Host but serves the same purpose. A missing or invalid Host header results in a 400 Bad Request.

Check if your website sends this header correctly

Check your headers →

Related Articles

Related Headers