In short: SoFast serves each file at the address that matches its name. If no file matches, visitors get a 404 error. There is no automatic fallback to index.html, so apps that build their pages in the browser need every route as its own HTML file.
How addresses map to files
| Address | File SoFast serves |
|---|---|
/ |
index.html |
/about.html |
about.html |
/services/ |
services/index.html |
Causes and fixes
- The file is not in the ZIP. Add it and publish an update. Remember: each update replaces all files.
- Wrong case.
/About.htmldoes not matchabout.html. Use lowercase everywhere. - Link without .html. A link to
/aboutneeds a folderabout/with anindex.htmlinside. Otherwise, link to/about.html. - Single-page app (React, Vue, TanStack). Routes like
/pricingonly exist in the browser. Prerender each route to its own HTML file at build time. See Host from Lovable.
A link that worked before an address change? The old address no longer answers: update the link.