← Back to blog

Published on

How to move a Bolt.new app to other hosting, with a custom domain and servers in Brazil

An app built on Bolt, StackBlitz’s AI app builder, can be hosted elsewhere without a rewrite. The code is yours, it leaves through a GitHub repository that Bolt keeps in sync or through a .zip download, and any platform that runs a JavaScript build can deploy the app from there. By default, Bolt generates web apps with React, Vite, and Tailwind CSS, which become a static site after the build; when you ask, it also generates Next.js, Astro, Vue, Svelte, or mobile apps with Expo. The database, sign-in, and server functions on Bolt Cloud stay where they are. A custom domain on Bolt requires a paid plan, starting with Pro at US$ 25 per month, or R$ 143.43 with the PTAX rate of November 27, 2026 and the 3.5% IOF on international card purchases. Outside Bolt, the same SPA runs on Netlify, Vercel, Render, or Zenifra, which serves an SPA on the Static plan for R$ 5.90 per month, billed in Brazilian reais, with servers in São Paulo. This guide covers what Bolt generates, how to get the code to GitHub, what each option costs, the configuration to deploy, how to connect your domain, and the errors that come up most.

Can you host a Bolt app outside Bolt?

Yes. The app Bolt generates is a regular JavaScript project, with a package.json, source code, and a build command. Bolt’s help center states that all code you create with Bolt and StackBlitz is your own and can be used for any legal purpose, including commercial use. To host it elsewhere, you turn on the GitHub integration, connect that repository to a hosting platform, and enter the build and start commands. The integration docs themselves note that, with the code on GitHub, you can publish through Bolt, through Netlify, or through another service you choose.

The reasons for leaving vary. Some people want a custom domain without paying for a Bolt plan just to get it. Others want the server close to Brazilian users, want to pay in Brazilian reais through PIX or boleto, or want the app on the same platform as an API, a database, or a cron job they already run. It is also common for the app to become a product and for someone on the team to start working directly in the code, with pull request reviews and history, while still using Bolt’s chat for new screens.

The path has three parts, and only the first is required. First, the code goes to GitHub and the new host deploys from it. Then, if you want, you point a custom domain at the new address. Finally, and only if it makes sense, the database also leaves Bolt Cloud. For most apps, stopping at the first or second part is enough.

Prices in this guide were read on the official Bolt, Netlify, Vercel, and Render pages on November 28, 2026. The conversion uses the PTAX selling rate of November 27, 2026, published by the Central Bank of Brazil, at R$ 5.5430 per dollar, plus the 3.5% IOF tax on international card purchases. Zenifra’s prices come from its public plans API, checked on the same day. If your app came from Lovable rather than Bolt, the sister guide about Lovable covers that case, which has quite different details.

What kind of app does Bolt generate, and why does it decide where to host?

Bolt’s official page about its app builder says it generates web apps with React, Vite, Tailwind CSS, and Node.js by default, and that you can ask for other stacks in your prompt. The hosting docs mention SPAs built with React, Vue, and Svelte, Next.js apps with server rendering, and frameworks such as TanStack Start, SvelteKit, Remix, and Astro. For mobile apps, Bolt uses Expo, and those apps go to the Apple and Google stores, not to a web host.

The project type changes everything about hosting. A Vite SPA becomes, after npm run build, a dist folder with HTML, CSS, and JavaScript. There is no application server: any service that serves files will do, as long as every route returns index.html, so the React router works when someone reloads the page. A Next.js app with server rendering, on the other hand, needs a Node.js process running all the time, because pages are assembled on each request.

To find out what you have, open package.json. If the build script calls vite build and there is no next in the dependencies, it is an SPA. If next shows up, it is Next.js. If astro shows up, check whether the project is in static mode or uses a server. Bolt itself suggests a shortcut when in doubt: ask it in the chat which framework the project uses.

It also helps to know that Bolt only works with JavaScript backends. The docs say languages such as PHP or Python are not compatible. In practice, the backend of a Bolt app usually lives in Bolt Cloud server functions, and what you host elsewhere is the front end, compiled as a static site, or the Next.js server.

Project typeHow to recognize itWhat it needs to runWhere you can host it
SPA with React and Vite (Bolt’s default)vite build in the build script; a dist folder after the buildJust serving files, with every route returning index.htmlNetlify, Vercel, Render (Static Site), Zenifra Static with NGINX or Basic with serve
Next.js with server renderingnext in the dependenciesA running Node.js process, port 3000 by defaultVercel, Netlify, Render (web service), Zenifra Basic or higher
Astro, SvelteKit, or Remixastro, @sveltejs/kit, or @remix-run in the dependenciesStatic files or a Node.js server, depending on the configurationStatic on any file host; with a server, a Node.js service
Mobile app with Expoexpo in the dependenciesA build for iOS and AndroidApp stores, through the Expo workflow; outside the scope of this guide

The rest of this guide focuses on the most common case, the React and Vite SPA, and points out the differences for Next.js where they matter.

How do you export a Bolt project to GitHub or download it as a .zip?

Through Bolt’s own GitHub integration, which the help center describes without limiting it to any plan. You need an individual GitHub account. With the project open, click the GitHub icon in the top-right corner, then Log in to GitHub, authorize StackBlitz, the company behind Bolt, and install the GitHub App with access to all repositories or only the ones you pick. Then, from the same icon, name the repository and click Create repository. The repository starts as private.

The sync is automatic and works both ways. Every change that does not break the project becomes a commit, and Bolt checks GitHub every 30 seconds to pull in what was done outside it. The project starts on the main branch, and you can create branches from the same icon. Merging branches, however, does not happen in Bolt: the docs tell you to open a pull request on GitHub. If someone pushes a commit while you are editing, a conflict message appears with two options, reapplying your last message on top of the GitHub version or discarding it.

A few limits deserve attention before you start. Only the project owner can connect and manage the integration; collaborators’ changes reach GitHub the next time the owner opens the project. Disconnecting the repository is permanent, and reconnecting to the same repository requires contacting support. You can also go the other way and import an existing repository, as long as you have push permission and it is not empty.

The other way out is the download. On a computer, click the project name in the top-left corner and then Download, and Bolt hands you a .zip with the code; on a phone, the option is not available. To run it on your machine, the docs say to install Node.js and run npm install && npm run dev. The .zip is a one-time copy with no sync, so it works for a backup or a manual upload, but not for hosting elsewhere while you keep editing in Bolt. For that, GitHub is the right path.

bash
# Check the project type after cloning the repository
git clone git@github.com:your-account/your-app.git
cd your-app
grep -q '"next"' package.json && echo "Next.js" || echo "Vite SPA"

# See whether the lockfile and .env made it into the repository
ls package-lock.json .env 2>/dev/null

# Run the same build the host will run
npm ci
npm run build
ls dist

Before setting up the host, check that package-lock.json is in the repository. Platforms that install with npm ci, such as Zenifra on the Node.js runtime, need it. If it is missing, run npm install on your machine and commit the file.

In our test on November 28, 2026, with a new Bolt app, the repository Bolt created already had package-lock.json but not .env: the .gitignore Bolt generates leaves that file out. The database variables therefore have to be added on the new host.

How do Bolt’s own hosting and the Netlify integration work?

Bolt has built-in hosting, grouped with the database and domains under the name Bolt Cloud. Every user, including on the Free plan, publishes to a .bolt.host address in one click, with no account on another service. The Publish button does not use tokens. A custom domain, however, is only available on paid plans, and sites published on Free show the Made in Bolt badge, which goes away when you move to a paid plan and publish again.

Each plan has a traffic limit, shared across all sites on the account. On Free, it is up to 10 GB of bandwidth and 333,333 requests per month, with a hard limit: go over it and the site goes offline until the next cycle. The docs estimate that this covers 10,000 to 15,000 visits per month. On Pro, it is up to 30 GB and 1 million requests, with the option to buy extra traffic on demand up to a spending cap you set; paid plans also include site analytics. Bolt hosting publishes SPAs and Next.js apps with server rendering. For TanStack Start, SvelteKit, Remix, or Astro with a server, the guidance is to ask Bolt to build the app as static HTML.

The Netlify integration is the official alternative inside Bolt. You connect your Netlify account in the settings, pick Netlify under Hosting Provider on the Domains & Hosting page, and publish. Bolt’s docs warn that, on this path, Netlify hosts the part that runs in the browser, and that projects needing a database or backend should stay on Bolt hosting. Custom domains do not move between the two on their own: on Netlify, you add them in its dashboard. There is also a manual route: run the build, download the project, and drag the folder into Netlify’s manual deploy.

One detail weighs on the decision. The Bolt Cloud database can be paused after six days of low usage, and the docs say this does not happen to projects published on Bolt hosting, but can happen to unpublished projects or projects published through Netlify. A few requests per day are usually enough to keep the database active, and opening the project in Bolt restores it in a few minutes. The same rule applies when the front end lives on any other host, and further down there is a simple way to avoid the pause.

Where can you host a Bolt app, and what changes with each option?

There are five common options: staying on Bolt, Netlify, Vercel, Render, and a platform with servers in Brazil, such as Zenifra. All of them deploy from GitHub, issue HTTPS certificates, and can redeploy on every push. The differences are price, what the free plan allows, usage limits, and the currency of the bill.

For an SPA, Netlify is the most complete free option: the Free plan accepts a custom domain with SSL. The limit is 300 credits per month, and each successful production deploy uses 15 credits, each GB of bandwidth uses 20, and each 10,000 requests use 2. When Free credits run out, every site on the account is paused. Since Bolt creates a commit on every change, wiring Netlify straight to main with automatic deploys can burn through the balance quickly; working on a branch and merging into main only when ready avoids that.

Vercel has the free Hobby plan, but its terms of service say it is for personal or non-commercial use only, so an app that sells anything needs Pro. Render deploys static sites for free, with usage counted against the workspace’s included bandwidth, and offers redirect and rewrite rules in its dashboard; for Next.js, the free instance spins down after 15 minutes without traffic and takes about a minute to come back, and there is no South America region. For an SPA, region matters less, because the files are static and usually reach visitors through a CDN.

On Zenifra, an SPA fits the Static plan, at R$ 5.90 per month, served by the official NGINX image, or the Basic plan, at R$ 29.90, deployed straight from the repository with serve on the Node.js runtime. Static includes a CDN, HTTPS, and DDoS protection. The servers are in São Paulo, and billing is in Brazilian reais, by the hour, month, or year.

PlatformIs the free plan fit for production?Custom domainWatch out forCurrency and payment
BoltPublishes to .bolt.host, with the Made in Bolt badge and a hard traffic limitPaid plans onlyTraffic limit shared across all sites on the accountUS dollars by card, through Stripe’s Link, which may show local currency
NetlifyFree with 300 credits per month; sites paused if they run outIncluded on Free, with SSLEach production deploy uses 15 creditsUS dollars, card
VercelHobby is for personal or non-commercial use onlyUp to 50 per project on Hobby; unlimited on ProUsage above the Pro credit is billed separatelyUS dollars, card
RenderFree static sites; free instance spins down after 15 minutes without traffic2 included on the Hobby workspace, then US$ 0.25 eachNo South America regionUS dollars, card
ZenifraNo free plan; hourly billing works for testingUp to 20 per project, no separate chargeStatic needs an NGINX image; from Git, use BasicBrazilian reais, with PIX, boleto, or card

If the app is Next.js, the list shifts a little: Netlify and Vercel run Next.js on their plans, Render needs a web service, starting at US$ 7 per month, and on Zenifra the app goes on Basic or higher, because it needs a running Node.js process.

How much does a Bolt app with a custom domain cost per month?

For a commercial SPA with a custom domain and the database still on Bolt Cloud, the monthly bill ranges from zero, on Netlify Free or a Render static site, to US$ 25 on Bolt Pro, or R$ 143.43 with PTAX and IOF. On Zenifra, the same SPA costs R$ 5.90 on Static, in Brazilian reais. The table uses the cheapest plan on each platform that allows a custom domain and commercial use.

The scenario is a small app that already has customers: a few hundred users, a few deploys per week, and the database on Bolt Cloud. On platforms that bill by usage or credits, such as Netlify and Vercel, an app this size tends to fit within what the plan includes, but the amount can grow with traffic or with many deploys.

PlatformPlan usedPrice in US dollarsIn BRL, with PTAX and 3.5% IOFNote
BoltPro, 10 million tokensUS$ 25 per month, or US$ 216 per yearR$ 143.43 per month, or R$ 1,239.19 per yearIncludes tokens to edit with AI and 30 GB of bandwidth
NetlifyFree, 300 creditsUS$ 0R$ 0Personal, with 1,000 credits, costs US$ 9, or R$ 51.63
VercelPro, 1 developer seatUS$ 20 per month, with US$ 20 of usage creditR$ 114.74 per monthHobby does not allow commercial use
RenderHobby workspace and a static siteUS$ 0R$ 0For Next.js, the 512 MB instance costs US$ 7, or R$ 40.16
ZenifraStatic, 0.1 vCPU and 128 MB, with NGINXNot applicableR$ 5.90 per month, no IOFR$ 0.01 per hour or R$ 64.90 per year; from Git with serve, Basic at R$ 29.90

Bolt’s price is not just hosting. The US$ 25 Pro plan includes 10 million tokens per month to build and edit the app through chat, with no daily cap like Free, on top of the custom domain and badge removal. If you already pay for Pro because you edit a lot, the domain comes at no extra cost and Bolt hosting is the simplest option. The math changes for people who edit rarely: Bolt Free gives 1 million tokens per month, up to 300,000 per day, and keeps the GitHub integration, so you can edit on Bolt for free and host with a custom domain somewhere else.

On currency: since November 1, 2026, Bolt subscriptions are billed through Link, Stripe’s payment service. Bolt’s release notes say checkout may show your local currency next to US dollars and that, if you pay in another currency, the amount can vary from month to month with the exchange rate. The annual Pro plan costs US$ 216, the equivalent of US$ 18 per month, or R$ 103.27 with PTAX and IOF.

On Zenifra, Static has 0.1 vCPU, 128 MB, a CDN, HTTPS, DDoS protection, and real-time logs, and it was designed for lightweight servers like NGINX. If you would rather deploy straight from the repository, without building an image, Basic, with 0.5 vCPU and 512 MB, costs R$ 29.90 per month. Zenifra’s public price list has no per-deploy item.

What stays on Bolt Cloud and what changes when the app leaves?

Almost all of the backend stays where it is. The database, sign-in, file storage, and server functions on Bolt Cloud keep running on Bolt, and the app hosted elsewhere talks to them over the internet, as it already did in the preview. What changes is where the front-end files, or the Next.js server, are served from, and who holds the variables used in the build.

Bolt’s secrets docs explain the difference between the two kinds of configuration. When the project has a database, Bolt fills in the address and public key the app uses to connect in the .env file on its own, and locks those values. That file is part of the code. Secrets, such as a payment API key, are available only to server functions, never go into .env or the published site, and stay on Bolt Cloud after the migration.

In a Vite project, variables the browser reads need the VITE_ prefix, and Vite bakes them into the JavaScript during the build. That is why the new host needs those values at build time, not just when the app starts. Since .env does not go to the repository, copy each variable from it and add it on the platform before the first build. Bolt’s editor shows the values as asterisks; to copy them, open the Code view, the Terminal tab, and run cat .env. In an app with a database, our test showed two variables, VITE_SUPABASE_URL and VITE_SUPABASE_ANON_KEY. These values are public by design, and data protection depends on the database’s access rules, which Bolt checks in its security audit.

ItemWhere it lives after the migrationWhat to do
App codeGitHub repositoryTurn on the GitHub integration in Bolt
Compiled front end or Next.js serverOn the new hostSet build, start, port, and the route fallback
Database and access rulesBolt CloudNothing; the app keeps using the same database
Sign-in and user accountsBolt CloudAdd the new domain to Site URL or the URI allow list
User-uploaded filesBolt CloudNothing
Server functions and secretsBolt CloudNothing; secrets never leave Bolt
Database address and public keyThe project’s .envCopy it from .env in Bolt (it does not go to the repository) and add it on the host before the build
Other VITE_ variablesThe project’s .envAdd them on the host before the build

To keep the database from being paused for low usage, the simplest fix is to leave the project published on its .bolt.host address too, which is free: the docs say databases in projects published on Bolt hosting are not paused. Visitors use your domain on the new host, and the Bolt address stays as a safety net. Another option, on the Pro and Teams plans, is to claim the database into your own Supabase account; Supabase’s rules then apply, and its Free plan also pauses databases after a week of low activity. Bolt cannot move a Supabase database back to Bolt Cloud.

Bolt’s docs do not say which region hosts the Bolt Cloud database. With the front end in São Paulo, pages reach Brazilian users quickly, but every database query still travels to wherever the database lives. For an app that makes few queries per screen, the difference is small.

How do you deploy a Bolt SPA on Zenifra, step by step?

A React and Vite SPA is exactly the case covered by the static sites and SPAs guide in Zenifra’s documentation, and the repository path was tested end to end on November 28, 2026 with a new Bolt app: the first build took 46 seconds, an internal route opened straight from the URL, and an edit made in Bolt became a new release on its own. The Deploy a Bolt app guide in the documentation walks through every step with screenshots. There are two paths. The first deploys straight from the repository, with the Node.js runtime and the serve package, and every push to the chosen branch triggers a new release; it needs the Basic plan or higher. The second uses the official NGINX image, fits the Static plan, and uses far less memory, but the image is built in your own pipeline, for example in GitHub Actions.

For the repository path, connect your GitHub account in the Zenifra Console and install the Zenifra GitHub App on the account or organization that holds the Bolt repository, including that private repository in the installation. In the project, add serve as a dependency with npm install serve and commit package.json and package-lock.json. You can ask Bolt to do this in the chat or do it on your machine. Then, in the Console, click Create project, choose HTTP Application, the Basic plan, and, under Source and port, Git repository, the GitHub provider, the repository, and the main branch.

In the configuration, use the values in the table. The -s option of serve answers unknown routes with index.html, which React Router needs. Add the VITE_ variables before creating the project: in projects sourced from GitHub, project variables are available during the build, and that is how Vite receives the values.

dockerfile
# Static plan path: NGINX image built in your own pipeline
FROM node:22-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
ARG VITE_SUPABASE_URL
ARG VITE_SUPABASE_ANON_KEY
ENV VITE_SUPABASE_URL=$VITE_SUPABASE_URL
ENV VITE_SUPABASE_ANON_KEY=$VITE_SUPABASE_ANON_KEY
RUN npm run build

FROM nginx:alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
nginx
server {
  listen 80;
  root /usr/share/nginx/html;
  location /assets/ {
    expires 1y;
    add_header Cache-Control "public, immutable";
  }
  location / {
    try_files $uri $uri/ /index.html;
  }
}
Console fieldValue
RuntimeNode.js
Port3000
Build commandnpm run build
Start commandnpx serve -s dist -l tcp://0.0.0.0:3000
VariablesVITE_SUPABASE_URL and VITE_SUPABASE_ANON_KEY, with the values from Bolt’s .env, added before the first build
PlanBasic or higher; for Static, use the NGINX image

The variable names in the Dockerfile are the ones Bolt used in the test app; check the ones in your project’s .env. On the Static path, push the image to your registry and create an image project on port 80, the port of the official NGINX image. The try_files line plays the same role as serve -s: it returns index.html for any route that is not a file.

When the first release finishes, open the project’s *.clients.zenifra.com URL and test four things: an internal route with a page reload, sign-up and sign-in, reading and writing a record, and an action that calls a server function. If all four work, the app is ready for its domain.

What if the Bolt app is Next.js?

Then it needs a running Node.js server, and the path changes. On Zenifra, the Next.js guide treats the app as a full Node.js server, with server rendering, API routes, Server Actions, and middleware working without an adapter. Pick the Node.js runtime on the same major version you use locally, port 3000, npm run build as the build, and npx next start -H 0.0.0.0 -p 3000 as the start command, on Basic or higher.

Variables follow the same logic as Vite with a different prefix. Those starting with NEXT_PUBLIC_ are baked into the browser JavaScript during the build, and the rest are read while the server runs. On Zenifra, project variables exist during the build, so both kinds work, but a change to a NEXT_PUBLIC_ value only shows up after a new build. package-lock.json must be in the repository, because installation uses npm ci.

Zenifra’s Next.js guide also flags two points that often catch people leaving a managed platform. The instance disk is ephemeral, so files written to public/ disappear on every release; in a Bolt app, uploads already go to Bolt Cloud storage, which avoids the problem. And the Next.js cache lives on each instance’s disk, which matters if you run more than one.

How do you connect your custom domain and HTTPS?

Only after the app works on the platform URL. That way, if something goes wrong, you know the problem is DNS and not the app. On Zenifra, open the project, click Edit, and in the Custom domains section add the domain and save. The Console shows the DNS records you need to create at your domain provider. Each project accepts up to 20 domains, and a custom domain only works on public projects.

For a subdomain such as www or app, the record is a CNAME pointing to the address the Console shows, sometimes with TXT validation records. For the root domain, without www, it is a single A record, and you need to delete any other A, AAAA, CNAME, ALIAS, or ANAME records on @. The HTTPS certificate is issued automatically once DNS is validated. If the domain uses Cloudflare, keep the root domain on the gray cloud, DNS only, or validation fails.

If the domain was connected to Bolt, the switch also happens in DNS. Bolt’s docs point www with a CNAME to site-dns.bolt.host and the root domain with an ALIAS, ANAME, flattened CNAME, or a fallback A record. Those records give way to the new host’s. If you bought the domain through Bolt, DNS records are edited in Bolt’s Cloud settings, and you can also move the domain to your own Name.com account; the cleanest path is to remove the domain from the Bolt project, under Domains & Hosting, before creating the new records.

Once the domain responds from the new host, update sign-in. In the database authentication settings in Bolt, the Site URL field holds the app’s main address, and the URI allow list holds the addresses sign-in may return to. Bolt updates these fields on its own when it publishes to its hosting, but it does not know about your new domain; add the domain to both, or email confirmation links and Google sign-in will send users back to the old address.

Can you keep editing in Bolt after migrating?

Yes, and that is the best way to migrate. Since every change in Bolt becomes a commit on GitHub, a host that follows the branch redeploys on its own. On Zenifra, the Automatic by branch mode does this: every push to the chosen branch starts a build, and the live version is only swapped when the release finishes successfully. If the build fails, the app stays on the previous version.

The other direction works too. If someone on the team fixes a bug in an editor and pushes, Bolt pulls the commit within 30 seconds and the project shows up updated in the chat. That lets you split the work: Bolt’s chat handles new screens and flows, and the developers fine-tune details directly in the code, with pull request reviews.

Two precautions avoid surprises. First, since Bolt commits on every change that does not break the project, turning on automatic deploys for main ships every chat message to production. If that is not what you want, create a branch from the GitHub icon in Bolt, work on it, and merge into main through a pull request when ready, or switch the Deployment mode to Manual, By Tag, or By Release under Edit project in the Zenifra Console. Second, Bolt’s preview is not your production environment after the migration: always test on the new host’s URL.

What are the most common errors when moving an app off Bolt?

By far the most common is an internal route returning 404 when someone reloads the page. The others show up less often, but they almost always share the same cause: something Bolt did on its own that, outside Bolt, someone has to configure. The table lists the symptom, the likely cause, and the fix.

SymptomLikely causeHow to fix it
The home page opens, but /login returns 404 on reloadSPA with no fallback to index.htmlUse serve -s, try_files ... /index.html in NGINX, or the /* /index.html 200 rule on Netlify
The app opens but cannot reach the databaseVITE_ variables missing at build timeAdd the variables on the host and run a new build
You changed a VITE_ variable and nothing happenedThe value was baked into the previous buildRun New build on the Deploys tab or push a commit
Blank page and 404s on .js filesWrong folder in the start command or a wrong base in vite.configCheck that start points to dist and that base is /
The public URL does not respond after the buildPort differs from the configured one, or the server listens only on localhostUse port 3000 with 0.0.0.0 in the start command, or port 80 for the NGINX image
serve: not found at startserve is not in the dependenciesRun npm install serve and commit the lockfile
The build fails at npm cipackage-lock.json missing or out of syncRun npm install and commit package-lock.json
Google sign-in or the confirmation email sends users back to .bolt.hostThe new domain is not in Site URL or the URI allow listAdd the domain to Bolt’s authentication settings
The app has no data after a few idle daysBolt Cloud database paused for low usageOpen the project in Bolt and keep it published on .bolt.host

One mistake that is not in the table, but slows the migration down, is picking the plan without looking at the server. Zenifra’s plan docs explain that Static is sized for lightweight HTTP servers such as NGINX, and that a site served by the Node.js runtime, with serve, belongs on Basic or higher. On Static, use the NGINX image; with serve, use Basic.

When is it better to stay on Bolt?

When you already pay for a plan because you edit the app often and you do not need anything Bolt hosting does not provide. In that case, the custom domain, HTTPS, site analytics, and hosting come with the tokens you already pay for, the database is never paused, and there is no configuration to maintain. For prototypes, launch pages, waitlists, and internal tools, publishing on Bolt itself is the shortest path.

It also makes sense to stay when nobody on the team wants to deal with build variables, DNS, and deploy logs. Outside Bolt, every new variable must be added on the host, and a failed build needs someone to read the log. Bolt hosting also runs Next.js with server rendering with no setup, and the Pro plan accepts extra traffic on demand with a spending cap.

Leaving pays off when the app has become a product. Reasons to migrate include keeping the code in a repository the company controls, with reviews and history; using a custom domain without paying for a plan just to get it; escaping the hard traffic limit on Free, which takes the site down until the next month; paying in Brazilian reais, through PIX or boleto, with no IOF; or running the app next to other services on the same platform, such as an API, a managed PostgreSQL database, or a cron job. On Zenifra, managed databases start at R$ 11.90 per month, for when the app needs something beyond Bolt Cloud.

In short

A Bolt app can be hosted on any platform that runs a JavaScript build. Turn on the GitHub integration, check package.json to see whether the project is a Vite SPA or a Next.js app, add the VITE_ variables before the build, and configure the route fallback. The database, sign-in, files, and server functions stay on Bolt Cloud, and keeping the project published on .bolt.host too stops the database from being paused. For a custom domain, Bolt requires a paid plan, starting at US$ 25 per month, or R$ 143.43 with PTAX and IOF; Netlify and Render publish an SPA with a custom domain for free within their limits, and Vercel charges US$ 20 on Pro for commercial use.

If your users are in Brazil, Zenifra puts the SPA in São Paulo for R$ 5.90 per month on Static, billed in Brazilian reais, and you keep editing in Bolt as before.

Deploy my Bolt app

We respect your privacy

We use essential cookies to run this site. Measurement and marketing cookies, such as Google Ads, are only enabled when you accept all cookies. Read our cookie policy.