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

https://support.cloudflare.com/hc/en-us/articles/200172706-Customizing-Cloudflare-error-pages

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

https://support.cloudflare.com/hc/en-us/articles/115000081911-Configuring-Load-Balancing-Intelligent-Failover

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