Easiest: Vercel. Cheapest: Cloudflare Pages. Database: Neon. Login: Clerk. Copy your environment variables into the host before the first build, and add the new URL to your auth provider.
Vercel
Zero-config for Next.js and Vite; personal projects free on Hobby.
Cloudflare Pages
Free, commercial use allowed, unlimited static bandwidth.
What Cursor gives you
Anything — whatever you asked it to build (Next.js, Vite, Astro, Express, Python…).
Built-in hosting
Since 5 Nov 2026, Live Apps: on paid plans with cloud agents (Premium $30/month and up), a cloud agent can build, host and publish an app with Postgres and Cursor sign-in. Otherwise, you pick the host.
- Free: No hosting on Free or Plus (no cloud agents). Cursor hasn't published a separate hosting price or limits for Live Apps.
- Custom domain: Live Apps: you pick a unique app URL; using your own domain isn't documented. On your own host, set it up there. Custom domain cost & setup for every builder
First: which kind of project do you have?
| Type | How to tell | What the host needs |
|---|---|---|
| Static / SPA (Vite, Astro, plain HTML) | Build produces a folder of HTML/JS/CSS (dist/, build/, out/). | Cloudflare Pages, Netlify, Vercel or DigitalOcean static — all free. |
| Next.js / SSR framework | next.config.* or a server adapter. | Vercel (native), Netlify or Cloudflare (via OpenNext). |
| Long-running server (Express, FastAPI, bots, websockets) | A start command like node server.js or uvicorn that must keep running. | Railway, Render, Fly.io or DigitalOcean App Platform. |
Get your code out
- Create a GitHub repo and push (Cursor's Source Control panel or git in the terminal).
Build settings
- Build command
-
Whatever package.json says (usually npm run build) - Output
- Depends on framework
- Node
- Match your local version
Environment variables to copy
-
Everything in your local .env — never commit it; add each value in the host dashboard.
Gotchas
- Commit a lockfile (package-lock.json / pnpm-lock.yaml) so the host installs the same versions.
- Ask Cursor to add a .gitignore that excludes .env before your first push.
Step-by-step guides for Cursor
- Vercel Zero-config for Next.js and Vite projects.
- Netlify Good for static sites and Next.js (adapter applied automatically).
- Cloudflare Pages Free with commercial use; best for static sites.
- Railway Best when your project has a backend server or needs a database next to it.
- Render Free static sites and free (sleeping) web services for side projects.
- DigitalOcean App Platform Three free static apps; predictable container pricing for servers.
Database & login
Data: Neon (opens in a new tab): Free: 100 projects, 100 CU-hours per project/month, 1 GB storage per project (20 GB total). Compare databases · Which database to pick
Auth: Clerk (opens in a new tab): Hobby: free — 50,000 monthly retained users per app, up to 3 social connections.
Common errors with Cursor apps
- Supabase warns “RLS disabled” — your table is public
- “new row violates row-level security policy” (42501)
- Supabase paused my project: how to restore it and stop it happening
- Stripe webhook fails on a Supabase Edge Function: 401 or “No signatures found”
- SQLite database resets after every deploy: why production data disappears
- Page works, but refreshing it gives a 404
- Blank page or “supabaseUrl is required” after moving off the builder
- Works locally, but "Failed to fetch" after deploying: your app still calls localhost
- Google login sends you back to localhost (or “redirect_uri_mismatch”)
- Deploy succeeds but shows a blank page or “Page not found”
- Firebase: “This domain is not authorized for OAuth operations”
- Clerk: “Development keys” warning or sign-in broken in production
Related guides
- Custom domain on Lovable, Bolt, Replit and v0: what it costs and how to set it up
- Supabase vs Neon vs Firebase vs Turso: which database for an AI-built app?
- Supabase “permission denied for table” (42501) on a new table: the October 30 grants change, explained and fixed
- Vercel Hobby Data Cache moves to Runtime Cache on 29 November 2026: what changes and what to do
- Cursor Live Apps (November 2026): which plans can host apps, who can open them, and when to still use Vercel or Railway
- Supabase CLI v3 (November 2026): why db push no longer reaches your project, and how to fix HostedMutationConsentRequiredError
- Cloudflare spending limits (November 2026): how to put a hard cap on your Workers bill, and what stops when you hit it
- Vercel Security Review (November 2026): what it scans, what it costs per push, and how to keep it from reviewing every repo
- Vercel build minutes (November 2026): Pro teams now pay for Standard builds, what a build costs, and how to build less
- vercel.toml on Vercel (November 2026): how to convert vercel.json, with SPA rewrites, branches and the one-file rule
- Vercel 413 FUNCTION_PAYLOAD_TOO_LARGE: the 4.5 MB request body limit, the new 20 MiB opt-in (Nov 2026), and when to upload straight to storage
- Cloudflare Email Sending on the Workers Free plan (November 2026): what you can send for free, what needs the $5 plan, and how to set it up
- Cloudflare Search for Agents (November 2026): what the toggle does, what it costs from 1 December, and how to set it up safely
- Claude Sonnet 4.5 retires on 30 November 2026: find the calls in your vibe-coded app and switch without new 400 errors
Common questions
What is the easiest way to host a Cursor app?
Vercel. Zero-config for Next.js and Vite; personal projects free on Hobby.
What is the cheapest way to host a Cursor app?
Cloudflare Pages. Free, commercial use allowed, unlimited static bandwidth.
Does Cursor have built-in hosting?
Since 5 Nov 2026, Live Apps: on paid plans with cloud agents (Premium $30/month and up), a cloud agent can build, host and publish an app with Postgres and Cursor sign-in. Otherwise, you pick the host. No hosting on Free or Plus (no cloud agents). Cursor hasn't published a separate hosting price or limits for Live Apps.
Can I use a custom domain with Cursor?
Live Apps: you pick a unique app URL; using your own domain isn't documented. On your own host, set it up there.
What build command and output folder does a Cursor app use?
Build command Whatever package.json says (usually npm run build); output: Depends on framework.