Set up maintenance Page

I am exploring an option to put maintenance page for our app and wondering what is the best way to do so. I did find an article which talks about using worker but looking for an advise.

Today, a worker would be the most reliable way to achieve this on Cloudflare. If you could guarantee your origin would return a specific HTTP response code, you could leverage Custom Error Pages, but workers is preferred here and gives you more control.

There’s some resources online about this:

And also another topic matching yours on this community:


Thanks… this was helpful.

@simon i am also looking for an option to apply maintenance page for 503 error. I see that custom page does not show custom error page for 503. Can you please advise on same as well? Thanks in advance,

Let me start new thread.

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