Invalid Host Header

Linode Staff

I get my domain name to point to your linode but it appears I get an error that there is an 'invalid host header'. What should I do?

1 Reply

The host header indicates which virtual host the web-server should use. You'll need to define a default host, which is used when the host header does not match any configured virtual hosts. Most web-servers reject your http-request if there isn't a host-header.

Here is a great link to the MDN Documentation on the Host-Header for you to check out:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Host

Here is a git post with some steps to resolve your host header:

https://github.com/facebook/create-react-app/issues/2271

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct