What 523 means
523 is not a standard HTTP status code; Cloudflare sends it from its edge. It means Cloudflare can't reach the origin server at all: there is no working network path to the address in your DNS record. That's one step before 521 (a reachable server refusing the connection) and 522 (a connection attempt that gets no answer in time).
HTTP/2 523
server: cloudflare
cf-ray: 8c1f2a3b4d5e6f70-CDG
content-type: text/html
<title>example.com | 523: Origin is unreachable</title>
Common causes
- The DNS record points at the wrong IP address. This is the most common one: the hosting provider changed the server's IP, you migrated to a new server, or a typo went into the record.
- The origin's network is down, or the server's network interface or public IP isn't configured after a move or reboot.
- Routing problems between Cloudflare and the hosting provider's network.
- An IPv6 address in an
AAAArecord that the server or its network doesn't actually route.
How to fix it
-
Check the origin's real public IP. On the server,
curl -4 ifconfig.coandcurl -6 ifconfig.coshow the addresses it uses to reach the internet; your host's control panel shows the assigned ones. -
Compare with Cloudflare's DNS records. Every proxied
AandAAAArecord for the hostname must match. Fix any that point at an old address, and deleteAAAArecords if the server has no working IPv6. -
Test the origin directly, bypassing Cloudflare:
curl -sv --connect-timeout 10 --resolve example.com:443:203.0.113.10 https://example.com/If this fails from several networks, the problem is the server or its network, not Cloudflare.
-
Ask the hosting provider about network outages or routing issues, with a traceroute or
mtrfrom the origin to a Cloudflare IP. If the origin is reachable from everywhere else, give Cloudflare support thecf-rayIDs from the error pages. -
For servers that have no public IP at all, use a Cloudflare Tunnel instead of a DNS record pointing at the server.
523 and SEO
Googlebot gets the 523 status and handles it like any other 5xx. A brief one has little effect; while it lasts, Google crawls the site less, and if the origin stays unreachable for an extended period, URLs are dropped from the index. After a server migration, check the Cloudflare records immediately: a stale IP can take the whole site offline for crawlers and visitors alike.
Related codes
- 522 Connection Timed Out: the address is right but the origin doesn't answer.
- 521 Web Server Is Down: the origin is reachable but refuses connections.
- 502 Bad Gateway: the standard proxy error for a broken upstream.
Confirm what your DNS records point at with DNS Lookup, then check the site end to end with the Redirect Checker.