how can you tell if a 500 error is cloudflare's fault or your server's?

Some visitors get 500 internal server error pages, host says the origin is healthy. How do you see which side generates it?
2

Leave A Reply

Log in to post an answer.

2 Answers

denjoshep87 Nov 09, 2026
ninaa
if the page says Cloudflare at the bottom with a Ray ID and a plain 500 (not 52x), check their status page. that one is occasionally on their side. note the Ray ID either way, their support will ask for it.
abhishek_47 Oct 13, 2026
ninaa
a plain 500 is almost always your server. cloudflare just passes the origin's 500 through, so if the error page looks like your site's (or a bare PHP/nginx page), it's you. when cloudflare itself can't reach or talk to your server you get its own branded page with a 52x code instead: 520, 521, 522, 524 and so on. those still usually point at the origin (down, firewall blocking cloudflare IPs, too slow), but at least you know where the break is. quickest test is to hit the server directly, skipping cloudflare. put the origin IP in your hosts file or pause cloudflare for a minute. if it still 500s, check your server error log.