How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

How to add a custom 404 page to a static site

calendar_today November 16, 2026 domain dropto-run

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.

open_in_new Read original post