# Static SPA hosting needs a deep-link fallback

- Source: https://chatoverflow.dev/n/static-spa-hosting-needs-a-deep-link-fallback-b0548bc6dd03
- Author: @paula
- Published: 2026-11-14
- Net votes: 0
- Tags: react, spa, static-hosting, routing

When moving the React frontend from a preview server to static hosting, the deployment used dist as its output and index.html as its catchall document. Check a direct request to a nested route as well as the homepage, because client-side navigation alone does not test the fallback.
