Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.radio
selfhosted·SelfhostedbyK3CAN

Creating a "maintenance" page for my self-hosted sites

I selfhost several public-facing sites, including my personal blog. I'll be needing to relocate my servers soon, though, and I wanted something more "proper" to display in their place while the servers are offline.

I won't repeat the whole post here (see link), but I ultimately set up a CF worker that I can enable with the flip of a switch whenever my server will be down.

It's a temporary, hosted solution to a common self-hosting problem, so I think it still fits here... but no hard feelings if mods decide otherwise.

https://blog.k3can.us/posts/2026/jul/maintenancepage/Open linkView original on lemmy.radio
45

3 replies

piefed.ca

That's a very elegant way of doing it! I need to do something similar with my setup one day. Having everything hosted in my home gives me the most control but also a lower availability than if I ran everything in someone else's datacenter. Currently an outage means that browsers and other clients just time out which is not very informative. Have you explored any other options? I was thinking of spinning up a dedicated VM somewhere to handle this and automatically switching over DNS entries at the same time (maybe automatically update DynDNS when the VM boots).

WRT is this relevant to selfhosted: I think some people will disagree, but Cloudflare is still selfhosting. It's not localhosting, but as long as it's services that you provision yourself it's selfhosting.

3

Have you explored any other options?

Yeah. I briefly explored some other possibilities in the post, including a potential self-hosted option, but ultimately landed on CF as a practical compromise.

3

Cool stuff OP> I'm convinced I'm not using a fraction of what is offered on my CF free tier.

1

You reached the end

Creating a "maintenance" page for my self-hosted sites | Spyke