Netlify is a popular platform for static site hosting, offering free CI/CD, custom domains, and instant rollbacks. It works seamlessly with Rift's static output.
npm run builddist.netlify.app domain.404.html is present at the root of dist/ for proper error handling.| Setting | Value |
|---|---|
| Build command | npm run build |
| Publish directory | dist |
| Default domain | *.netlify.app |
| Free HTTPS | ✅ Yes |
| Auto redeploys | ✅ Yes |
GitHub Pages is a free static hosting service for open source projects and documentation. It serves your static site directly from a GitHub repository branch.
npm run builddist/ to a gh-pages branch (or docs/ folder for user/organization sites).gh-pages branch (or docs/ folder).https://<username>.github.io/<repo>/404.html is present at the root of dist/ for error handling.gh-pages npm package for easy deployment.| Setting | Value |
|---|---|
| Branch/folder | gh-pages or docs/ |
| Default domain | *.github.io |
| Free HTTPS | ✅ Yes |
| Auto redeploys | Manual or via GitHub Actions |
Vercel is optimized for frontend apps and offers fast static hosting with preview deployments, custom domains, and global CDN.
Othernpm run builddist.vercel.app domain.404.html is present at the root of dist/.| Setting | Value |
|---|---|
| Framework preset | Other |
| Build command | npm run build |
| Output directory | dist |
| Default domain | *.vercel.app |
| Free HTTPS | ✅ Yes |
| Auto redeploys | ✅ Yes |
Render offers simple static site hosting with free custom domains, HTTPS, and automatic deploys from Git.
npm run builddist.onrender.com domain.404.html is present at the root of dist/.| Setting | Value |
|---|---|
| Build command | npm run build |
| Publish directory | dist |
| Default domain | *.onrender.com |
| Free HTTPS | ✅ Yes |
| Auto redeploys | ✅ Yes |
You can host your Rift site on your own infrastructure for maximum control. Serve the dist/ directory using any static file server.
nginx or caddy to serve static files.nginx:alpine to serve dist/ in a container.Test your static output locally before deploying:
npx serve dist/
python3 -m http.server --directory dist
404.html is present at the root of dist/.