Blog โ€บ Hosting & deploy

How to Deploy a Vibe-Coded App (From Builder or Editor to Live URL)
Photo via Pexels ยท credits

How to Deploy a Vibe-Coded App (From Builder or Editor to Live URL)

By Suraj Kamdev ยท 2026-10-16 ยท 3 min read

You have built something with AI and it works in the preview. Now you want a real URL that you can share, ideally on your own domain, without it breaking the moment real people use it. This guide covers both routes: publishing straight from an app builder, and deploying your own code from GitHub. It links to our Hosting & deploy rankings for the platforms themselves.

Route 1: Publish from your builder

If you built with Lovable, Replit or Bolt, the simplest option is the builder's own publish or deploy feature. It handles hosting, HTTPS and updates for you. Most also let you connect a custom domain, sometimes only on paid plans, so check the current plan details.

This is the right choice when you want to keep iterating inside the builder and do not need special infrastructure. You can always move later.

Route 2: Deploy your code from GitHub

When you have exported your project to GitHub, or you build in an editor like Cursor, deploy from the repository:

  1. Pick a host. Vercel for Next.js and frontend frameworks, Netlify or Cloudflare Pages for static sites and Jamstack apps, Render for long-running servers, workers and Python backends. See free hosting for side projects.
  2. Import the repository. All four hosts let you connect GitHub and choose a repo. They usually auto-detect the framework and build command.
  3. Set environment variables. Copy every variable your app needs (database URL, API keys) into the host's settings. Never commit them to the repo.
  4. Deploy. The host builds and gives you a URL. From now on, every push to your main branch redeploys automatically, and many hosts create preview URLs for branches and pull requests.

Environment variables: the most common failure

Most "it works locally but not in production" problems are missing or wrong environment variables. Make a checklist of every variable your app uses. Ask your coding agent: "List every environment variable this project reads and where." Remember the distinction between public variables, which some frameworks expose to the browser, and server-only secrets. Secret keys must only be used in server code.

Connect your database correctly

If you use Supabase or Neon, use the connection details for production, and with serverless hosting prefer the pooled connection string the provider documents. Make sure access rules (like Supabase row-level security) are enabled before launch. For choosing a database, see best database for side projects.

Add a custom domain

Buy a domain from any registrar, add it in your host's dashboard, and create the DNS records the host shows you. HTTPS certificates are issued automatically. DNS changes can take a while to propagate, so do this a day before you announce anything.

Pre-launch checklist

After launch: a safe update workflow

Once real users rely on your app, change how you ship. Work on a branch, let the host build a preview deployment, test it, then merge to main. If something breaks in production, every major host lets you roll back to a previous deployment quickly. Learn where that button is before you need it.

Costs to watch

Free tiers are usually enough for launch. As traffic grows, watch bandwidth, function invocations and database usage, and set spending alerts where available. If your app calls AI APIs, those are often the biggest cost; read the AI API pricing guide.

Moving from a builder to your own hosting

If you outgrow your builder's hosting, export or sync the code to GitHub, open it in an editor and run it locally first. Then follow Route 2 above. Expect to recreate environment variables and reconnect the database.

FAQ

Where should I host an app built with AI?

If your builder offers publishing, start there. If you have the code in GitHub, Vercel suits Next.js, Netlify or Cloudflare Pages suit static sites, and Render suits backend servers.

Why does my app work in preview but not when deployed?

Usually missing environment variables, a database connection string pointing at the wrong place, or access rules blocking production requests. Check the host's build and runtime logs.

Can I use my own domain for free?

Hosting with a custom domain is free on all four major hosts' free tiers; you only pay for the domain itself.

Get the weekly stack

Rank movers and new AI tools for builders, once a week. Free, no spam, unsubscribe anytime.

Related posts

See the full ranking: Hosting & deploy.