Can I redirect on error 522?

This hasn’t happen to me before but one of my servers is down which is causing error 522. Is it possible if this occurs to let cloudflare redirect visitors to an other website?

Hi @Space_Monkey,

Not sure, but you may be able to do this by customizing the error page (which is possible if your domain is under a paid plan).

Another likely option would be through Workers, but I’m not a developer and I don’t have enough knowledge to state it.

Let’s see what other Community members say. :slight_smile:

You could try with a customised error page and some JavaScript

Though, a fail-over load balancer setup might be the more elegant solution.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.