Push your Bolt.new code to GitHub, import the repo on Netlify, build with npm run build, add your
environment variables before the first build, add the public/_redirects refresh fallback, allow the new
URL in your auth provider, then connect your domain. Netlify: Free: $0 forever — 300 credits/month; paid from $9/mo
(checked 17 Oct 2026).
- In Bolt: Project settings → Domains & Hosting → Hosting Provider → Netlify → Publish.
- A custom domain set up on Bolt hosting doesn't transfer; add it again in Netlify.
Netlify doesn't run always-on servers. If your project has a long-running backend (websockets, bots, background jobs), use Railway or Render for that part.
Step by step
-
Check your project type
- Vite single-page app (most projects): vite.config.* in the project, build output dist/.
- Framework with a server (e.g. Next.js, Astro SSR): next.config.* or an SSR adapter in the config.
-
Get the code onto GitHub
- Built-in: Project settings → Domains & Hosting → Hosting Provider → Netlify → Publish (custom domains don't carry over automatically).
- Download the project as a .zip, or push it to GitHub, then import into any host.
-
Create the project on Netlify
In Netlify choose Add new project → Import an existing project, connect GitHub and pick your repository. Netlify detects Vite and fills in the build settings.
-
Check the build settings
For Vite: build command
npm run build, publish directorydist. The publish directory is relative to the base directory.For Bolt.new: build command
npm run build, output dist (Vite). -
Add environment variables before the first build
In Netlify: Project configuration → Environment variables (add them before the first build). Copy these from Bolt.new:
-
VITE_SUPABASE_URL / VITE_SUPABASE_ANON_KEY (if using Supabase — names may differ; check your .env)
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)
public/_redirects (ends up in dist/_redirects) /* /index.html 200Server-rendered projects (TanStack Start, Next.js) don't need this. Netlify docs (opens in a new tab)
-
Update login redirect URLs
Add your new Netlify URL (and later your custom domain) to your auth provider's allowed URLs. In Supabase: Authentication → URL Configuration. Redirect troubleshooting · Check RLS before going live
-
Add your domain
Project → Domain management → Add a domain, then follow the DNS instructions (or delegate your domain to Netlify DNS). HTTPS is automatic.
How much does Netlify cost for a Bolt.new app?
Free tier Free: $0 forever — 300 credits/month. Paid from $9/mo: Personal: $9/month, 1,000 credits. Pro: $20/month, 3,000 credits, unlimited members. Checked 17 Oct 2026 on Netlify's pricing page (opens in a new tab).
- Every production deploy costs credits, so frequent auto-deploys from an AI builder eat into the free 300.
- Long-running Node servers (Express, Hono, Fastify, WebSockets) are possible since 10 Nov 2026 via Netlify Server, but only in Early Access: free for now, 1 instance on Free/Personal, always scales to zero after 5 idle minutes, and no Next.js/Astro/Nuxt yet.
Other options for Bolt.new
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
- 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
- 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 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