user2538722
user2538722

Reputation:

Why is a host header needed when requesting a page via HTTP?

If a browser is connected to a server and is requesting a web page, why would it need the host header when it has already made the connection?

Upvotes: 0

Views: 42

Answers (1)

Julian Reschke
Julian Reschke

Reputation: 41997

Because the server might be serving content for multiple, different host names.

Upvotes: 1

Related Questions