Easiest: Replit's own hosting. Cheapest: Render. Database: Neon. Login: Supabase Auth. Copy your environment variables into the host before the first build, and add the new URL to your auth provider.
Stay on Replit
Staying on Replit is lowest friction if you're already paying.
Render
Free web services (they sleep) and free static sites if you move off Replit.
What Replit gives you
Any language; Agent often builds Node/React or Python apps with a Replit database.
Built-in hosting
Publishing is built in. Autoscale (the default) bills per request, Reserved VM is a fixed monthly price, and Static is free apart from data transfer, but Static doesn't work for apps built with Replit Agent.
- Free: Starter: one free published app, which goes down after 30 days, with a 'Made with Replit' badge.
- Custom domain: Connect in Tools → Domains; Replit charges nothing for the connection (you pay your domain provider), but Starter's one free app goes down after 30 days, so a lasting site needs Core ($20/month, $18/month billed annually). Custom domain cost & setup for every builder
First: which kind of project do you have?
| Type | How to tell | What the host needs |
|---|---|---|
| Static site | Build produces a folder of files (dist/ or build/). | Replit Static deployment or any static host. |
| Web server | Runs a server process (Express, Flask, FastAPI…). | Replit Autoscale/Reserved VM, or Railway / Render. |
Get your code out
- Connect GitHub in Account → Connected Services, then use the Git pane in the project to push to a repository.
Build settings
- Build command
-
As configured in .replit / package.json - Output
- For static deploys: the public directory (e.g. dist)
- Node
- As configured
Environment variables to copy
-
Replit Secrets don't travel with the code — re-create them at the new host.
Gotchas
- Replit-specific databases and auth won't work outside Replit; plan a swap (e.g. to Neon or Supabase) before moving.
- Publishing costs come out of the same monthly credits as Agent work, and Replit doesn't document a default spend limit: set a usage limit in Settings → Usage before you publish (see the Replit deployment costs guide).
Step-by-step guides for Replit
- Railway Closest equivalent to Replit's always-on hosting, with Postgres alongside.
- Render Free web services (with sleep) and free static sites.
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: Supabase Auth (opens in a new tab): Free: 50,000 MAU, social OAuth, anonymous sign-ins, basic MFA.
Common errors with Replit apps
- Supabase warns “RLS disabled” — your table is public
- Supabase paused my project: how to restore it and stop it happening
- 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”
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?
- 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 Replit app?
Replit's own hosting. Staying on Replit is lowest friction if you're already paying.
What is the cheapest way to host a Replit app?
Render. Free web services (they sleep) and free static sites if you move off Replit.
Does Replit have built-in hosting?
Publishing is built in. Autoscale (the default) bills per request, Reserved VM is a fixed monthly price, and Static is free apart from data transfer, but Static doesn't work for apps built with Replit Agent. Starter: one free published app, which goes down after 30 days, with a 'Made with Replit' badge.
Can I use a custom domain with Replit?
Connect in Tools → Domains; Replit charges nothing for the connection (you pay your domain provider), but Starter's one free app goes down after 30 days, so a lasting site needs Core ($20/month, $18/month billed annually).
What build command and output folder does a Replit app use?
Build command As configured in .replit / package.json; output: For static deploys: the public directory (e.g. dist).