Push your Cursor code to GitHub, import the repo on Render, build with Whatever package.json says (usually npm run build), add your
environment variables before the first build, add the Dashboard → Redirects/Rewrites refresh fallback, allow the new
URL in your auth provider, then connect your domain. Render: Hobby workspace $0: free static sites + free 512 MB web service that sleeps after 15 min idle; paid from $7/mo
(checked 17 Oct 2026).
Step by step
-
Check your project type
- Static / SPA (Vite, Astro, plain HTML): Build produces a folder of HTML/JS/CSS (dist/, build/, out/).
- Next.js / SSR framework: next.config.* or a server adapter.
- Long-running server (Express, FastAPI, bots, websockets): A start command like node server.js or uvicorn that must keep running.
-
Get the code onto GitHub
- Create a GitHub repo and push (Cursor's Source Control panel or git in the terminal).
-
Create the project on Render
Render Dashboard → New → Static Site (or Web Service for a server), connect GitHub, pick the repository.
-
Check the build settings
Vite static site: build command
npm run build, publish directorydist.For Cursor: build command
Whatever package.json says (usually npm run build), output Depends on framework. -
Add environment variables before the first build
In Render: Service → Environment. Copy these from Cursor:
-
Everything in your local .env — never commit it; add each value in the host dashboard.
Changed a value later? Rebuild. Vite bakes variables in at build time. Troubleshoot missing env vars
-
-
Make page refreshes work (Vite / React Router single-page apps)
Dashboard → Redirects/Rewrites (or render.yaml) # Dashboard rule: Source /* Destination /index.html Action Rewrite routes: - type: rewrite source: /* destination: /index.htmlServer-rendered projects (TanStack Start, Next.js) don't need this. Render docs (opens in a new tab)
-
Update login redirect URLs
Add your new Render URL (and later your custom domain) to your auth provider's allowed URLs. Redirect troubleshooting
-
Add your domain
Service → Settings → Custom Domains → Add. Hobby includes 2 custom domains (then $0.25/domain/month).
How much does Render cost for a Cursor app?
Free tier Hobby workspace $0: free static sites + free 512 MB web service that sleeps after 15 min idle. Paid from $7/mo: Paid compute from $7/month (0.5 CPU, 512 MB). Pro workspace: $25/month + compute. Checked 17 Oct 2026 on Render's pricing page (opens in a new tab).
- Free web services sleep — the first visitor after a quiet period waits about a minute.
- Free Postgres is deleted after the 30-day expiry + 14-day grace period unless you upgrade.
Other options for Cursor
- Cursor → Vercel
- Cursor → Netlify
- Cursor → Cloudflare Pages
- Cursor → Railway
- Cursor → DigitalOcean App Platform
Errors to watch for on Render
Related guides
- Custom domain on Lovable, Bolt, Replit and v0: what it costs and how to set it up
- Replit deployment costs: Autoscale vs Reserved VM vs Static, and how to cap your spend
- 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
- Netlify Server (Early Access, November 2026): run an Express, Hono or Fastify backend and WebSockets on Netlify
- 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