Pricing Docs Blog Apps Tools Get Started
Static

Deploy Vite in 60 Seconds

Vite is the modern frontend build tool. Deploy your Vite-built SPA or static site with one command — real server, HTTPS, and instant availability.

Deploy Vite Starting at $3/mo

The usual way to deploy Vite

  1. Vite outputs to dist/ but you still need to figure out where to host static files with proper SPA fallback routing
  2. SPA routing requires a catch-all rewrite to index.html — GitHub Pages, S3, and basic nginx configs break client-side routes
  3. Configuring CDN cache headers, immutable asset hashing, and cache invalidation for Vite's content-hashed filenames
  4. Platform lock-in: Vercel, Netlify, and Cloudflare Pages each have different env var handling and build configs
  5. API proxy setup in production differs from vite.config.ts proxy — CORS errors appear only after deploying

Vite builds fast but deploying an SPA with correct routing and caching is still a pain.

Or just run one command

$ npm run build
$ cd dist && instapods deploy my-vite-app --preset static
→ Uploading files...
→ Configuring nginx...
✓ Live at https://my-vite-app.instapods.app

What you get

Recommended plan for Vite

Launch Plan
$3/mo
Deploy Vite

Vite deployment notes

SPA Fallback

InstaPods configures nginx with try_files to fall back to index.html for client-side routing. React Router, Vue Router, and all SPA routers work out of the box.

Asset Caching

Vite hashes asset filenames. InstaPods serves them with long cache headers automatically. New deploys get new hashes — no stale cache issues.

Build Locally

Run npm run build on your machine or in CI, then deploy the dist/ directory. Vite is not needed on the server — only the built output.

Deploy Vite in 60 seconds

One command. Real server. HTTPS included. No DevOps degree required.

Get Started