I have started seeing this message after publishing and then running some of my sites. I have never seen this before and I’m wondering what it means?
Misdirected Request
The client needs a new connection for this request as the requested hostname does not match the Server Name Indication (SNI) in use for this connection.
Many sites use the same TLS certificate for multiple virtual hosts.
The certificate either has a wildcard name, such as ‘*.example.org’ or carries several
alternate names. Browsers using HTTP/2 will recognize that and reuse an already opened
connection for such hosts.
While this is great for performance, it comes at a price: such vhosts need more care
in their configuration. The problem is that you will have multiple requests for
multiple hosts on the same TLS connection. And that makes renegotiation impossible,
in face the HTTP/2 standard forbids it.
So, if you have several virtual hosts using the same certificate and want to use
HTTP/2 for them, you need to make sure that all vhosts have exactly the same SSL
configuration. You need the same protocol, ciphers and settings for client
verification.
If you mix things, Apache httpd will detect it and return a special response code,
421 Misdirected Request, to the client.