---
title: "421 Misdirected Request"
canonical: "https://lemwatch.com/http-status-codes/421"
category: "client-error"
last_verified: "2026-12-01"
source: "https://lemwatch.com"
---

# HTTP 421 Misdirected Request

**TL;DR** — 421 means "wrong server for this hostname on this connection". It is nearly always a server or certificate set-up problem with several sites sharing an address. Visitors can only reload. The owner needs to align the certificates and site configuration.

## What it means

HTTP 421 Misdirected Request was introduced with HTTP/2. A browser may reuse one connection for several hostnames when they share an IP address and a certificate that covers them all. If the server on that connection cannot answer for the second hostname, it replies 421, and the browser is allowed to retry on a new connection. It also appears when the hostname in the request does not match the name used to set up the secure connection.

## Common causes

- One certificate, often a wildcard, covering hostnames that are served by different site configurations
- A browser reusing an HTTP/2 connection for a second hostname on the same IP address
- The hostname sent at connection time not matching the Host header, behind a proxy or load balancer
- A proxy forwarding to an origin without passing on the hostname the origin expects

## How to fix

- Make every hostname covered by a shared certificate answerable by the same site configuration, or give each site its own certificate
- Behind a reverse proxy, pass the original hostname through to the origin, both in the Host header and at connection time
- In Apache, check that each name-based virtual host has matching ServerName and certificate entries
- As a visitor, reload the page or restart the browser to open a fresh connection

## SEO impact

Crawlers reuse connections too, so a site that returns 421 can fail for search engines from time to time. Persistent 421 responses are treated like any other 4xx and the affected pages are not indexed.

## Monitoring tip

421 often affects only some visitors, depending on which site they opened first. If reports are intermittent, check which hostnames share a certificate and an IP address.

**Related:** [400](https://lemwatch.com/http-status-codes/400.md), [403](https://lemwatch.com/http-status-codes/403.md), [502](https://lemwatch.com/http-status-codes/502.md)

_Canonical HTML page: https://lemwatch.com/http-status-codes/421_
