alt.hn

12/10/2025 at 2:18:07 AM

Cloudflare error page generator

https://github.com/donlon/cloudflare-error-page

by sawirricardo

12/10/2025 at 10:17:36 AM

I've been thinking about returning a fake error page instead of the "you are banned" or "you country has been blocked".

by slig

12/10/2025 at 5:22:44 PM

Well, that's one way to show contempt for your users.

by yjftsjthsd-h

12/10/2025 at 1:01:07 PM

What is this for? I feel like that is missing from the faq. I would say it's a joke, but it looks too serious for that.

by wheybags

12/10/2025 at 2:47:15 PM

If your site goes down people can assume it’s cloudflare’s fault. You can blend in with the crowd without actually using CF.

by jtbayly

12/10/2025 at 1:11:37 PM

that's what makes it funnier

by Raed667

12/10/2025 at 3:08:44 AM

Can you actually customize that Cloudflare error page? I thought that was their error page when they lose connection with your site and custom error pages was just the ones your app creates, like 404, 403, etc?

by hk1337

12/10/2025 at 3:18:22 AM

I think the intent is for joke pages, like the demo link which acts like error 500 saying the host is on fire etc but really serves as 200 OK, not your actual Cloudflare service errors.

by zamadatix

12/10/2025 at 10:16:41 AM

You can, on the $30 plan - you can give it a hidden url on your current domain and it will cache & serve that content.

by thm

12/10/2025 at 4:21:13 AM

On free plans you can't, on business/enterprise plans you can.

Edit: Gemini says you could make a custom worker and do a 5XX redirect that way, but I haven't tried it. Does make sense though.

by esseph

12/10/2025 at 8:09:13 AM

This works for errors at the origin or in a Worker, but won't for errors at the edge, because those are in front of Workers.

by ascorbic

12/10/2025 at 2:41:25 PM

I think Gemini refers to Web Workers API rather than a Cloudflare Worker. And that should work indeed.

by kekub

12/10/2025 at 5:00:15 AM

the custom error page is configurable at a domain (zone) level

which sometimes gets annoying because branding for subdomains could be different.

https://developers.cloudflare.com/rules/custom-errors/edit-e...

by thewisenerd

12/10/2025 at 6:41:44 AM

> Error Pages do not apply to responses with an HTTP status code of 500, 501, 503, or 505. These exceptions help avoid issues with specific API endpoints and other web applications. You can still customize responses for these status codes using Custom Error Rules.

From that page ;)

by esseph

12/10/2025 at 1:29:16 PM

It should spew random garbage at the bottom of the page periodically to mimic Cloudbleed.

by philipwhiuk