HTTP 421 Misdirected Request — What It Means
What HTTP status code 421 Misdirected Request means, when servers return it, and how to handle it correctly.
Published September 25, 2026
HTTP 421 Misdirected Request means the request was sent to a server that cannot produce a response for that host, typically in HTTP/2 connection reuse across hostnames.
What it means
The client can retry on a new connection.
Common causes: HTTP/2 connection coalescing across hosts; Wrong virtual host or SNI mismatch; Misconfigured TLS certificates.
On the wire
GET / HTTP/2
HTTP/1.1 421 Misdirected Request
Host: other.example.com
Practical examples
Test it from the shell
curl -i https://example.com/path # look for HTTP 421Handling 421 in code or config
curl --http1.1 https://other.example.com/How to fix it
Retry on a fresh connection; Fix virtual host or certificate config; Check SNI settings.
1. Reproduce: curl -i <url>
2. Confirm the status is 421
3. Apply the fix above and re-testCommon mistakes
- Retry on a fresh connection
- Fix virtual host or certificate config
- Ignoring the response headers that explain the details.
Key takeaways
- 421 means Misdirected Request.
- HTTP 421 Misdirected Request means the request was sent to a server that cannot produce a response for that host, typically in HTTP/2 connection reuse across hostnames.
- Read the response headers and logs for the exact cause.
FAQ
Why do I see 421?
A server received a request for a host it is not configured to serve on that connection.
Is 421 a client or server error?
It is a client error status code, in the 4xx class.