Host
RequestActiveThe Host header is the only mandatory HTTP/1.1 request header. It specifies the domain name and optional port of the server being requested. Without it, servers hosting multiple virtual hosts can't determine which site to serve. HTTP/2 uses the :authority pseudo-header instead.
Host: <host>[:<port>]
Description
The Host request header specifies the host and port number of the server to which the request is being sent. Without a Host header, servers that host multiple sites via virtual hosting would not know which site to return.
Examples
Standard HTTPS
http
Host: www.example.comNon-standard port
http
Host: api.example.com:8080