Move your app and its server off Replit, step by step
12 steps. Follow them here, or run them in Towardy one step at a time, with every command ready to copy and help right inside the step.
Run this in Towardy →- Connect GitHub, Vercel, Railway and CloudflareOnce each. With Cloudflare connected, Towardy switches your domains itself; without it, it tells you the two records to change.
- Let Railway use your server's repositoryIn Railway: your avatar → **Account Settings** → **GitHub** → **Configure** → allow the server's repository.
- Keep both apps' Replit Secrets in LabeledFor each Replit app: **Publishing** → **Adjust settings** → **Secrets** → copy them all as KEY=value lines. In Towardy → Labeled → Add: name the app's
Replit app secretsand the server'sReplit server secrets. - Put the server on RailwayRailway runs it always on, like Replit's Reserved VM, so its background jobs keep running. Same code, same database.
- Check the server answers on RailwayRailway builds it first, usually 2 to 4 minutes. If it isn't up yet, tap again in a minute.
- Put the app on VercelThe pages come from Vercel's network; the app keeps talking to the same API address.
- Point your API's domain at RailwayTowardy keeps where it pointed before in Labeled, so going back is one step.
- Check your API answers from Railway
- Stop the server on ReplitRight away, so its background jobs don't run twice: Replit → the server app → **Publishing** → **Shut down**. The app and your data aren't touched.
- Point your domain at Vercel
- Check your site answers from Vercel
- Shut down the Replit app after a quiet weekKeep it a week in case you want to go back, then Replit → the app → **Publishing** → **Shut down**, and lower your Replit plan.
More guidesMake a website with Vite, step by stepStart a Python project, step by stepPut a project on GitHub, step by stepDeploy a Next.js app to Vercel, step by stepConnect a domain to Vercel, step by step
© Notable FZ-LLC · towardy.com · All guides