421 Misdirected Request

This server can't answer for that host.

4xx · Client error

What it means

The request reached a server that can't answer for that host name and port. The client can retry on a different connection.

It mostly comes up with HTTP/2, where browsers reuse one connection for several host names that share a certificate.

Why you're seeing it

  • HTTP/2 connection reuse across subdomains served by different backends.
  • A host name that doesn't match the TLS SNI the connection was opened with.
  • A load balancer routing a host to the wrong backend.

How to fix it

  • Use separate certificates or IPs for hosts that different servers handle.
  • Make sure the server accepts every host name on its certificate, or check that SNI and Host match.

Example response

HTTP/2 421 Misdirected Request
content-type: text/html