Put a file named 404.html at the root of what you publish and most static hosts serve it for any missing path. Where each host looks for it, how to check it answers with a 404 and not a 200, and the two things that quietly break it — relative links and an SPA fallback.
How to add a custom 404 page to a static site
calendar_today
November 16, 2026
domain
dropto-run