HTTP

HTTP 410 Gone vs 521 Web Server Is Down

HTTP 410 (Gone) is a 4xx Client Error response, while 521 (Web Server Is Down) is a 5xx Server Error response. 410 indicates that the resource is permanently gone and will not be available again. Unlike 404, this is intentional and permanent. In contrast, 521 means that cloudflare-specific. The origin server refused the connection.

Description

The resource is permanently gone and will not be available again. Unlike 404, this is intentional and permanent.

When You See It

When a resource has been deliberately removed and should be de-indexed by search engines.

How to Fix

Remove references to this URL. Search engines will de-index the page.

Description

Cloudflare-specific. The origin server refused the connection.

When You See It

When Cloudflare can't establish a TCP connection to the origin server.

How to Fix

Check that the origin server is running and the firewall allows Cloudflare IPs.

Key Differences

1.

410 is a 4xx Client Error response, while 521 is a 5xx Server Error response.

2.

HTTP 410: The resource is permanently gone and will not be available again. Unlike 404, this is intentional and permanent.

3.

HTTP 521: Cloudflare-specific. The origin server refused the connection.

4.

You encounter 410 when when a resource has been deliberately removed and should be de-indexed by search engines.

5.

You encounter 521 when when Cloudflare can't establish a TCP connection to the origin server.

When to Use Which

For 410 (Gone): Remove references to this URL. Search engines will de-index the page. For 521 (Web Server Is Down): Check that the origin server is running and the firewall allows Cloudflare IPs.

Learn More