Skip to content
Projects built with AI tools3 min read

Hosting Replit projects on your own hosting

Short answer

A Replit project moves to your own hosting by downloading the code or connecting it to GitHub, but the code alone is not enough: secrets, the PostgreSQL database, Replit Auth and uploaded files are not in the ZIP. Static sites run on any plan; Node.js and Python apps and bots run on the AI and developer plans; and the database on the hosting is MySQL, not PostgreSQL.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. What moves and what does not?
  2. Which plan matches your deployment type?
  3. How it runs on ArabyHost
  4. The database: the main decision
  5. Limits to know
  6. On ArabyHost

Replit puts the editor, the runtime, publishing and the database in one place. That is comfortable until you want to leave, whether to fix your monthly cost or to own the project on your own domain. That is when you discover the project is more than files.

What moves and what does not?

In Replit Is it in the ZIP? Its counterpart on the hosting
Code files Yes You upload them
Secrets No Environment variables in cPanel
PostgreSQL database No You export it, then MySQL or an external service over HTTPS
App Storage No A folder on the hosting
Replit Auth No Another sign-in system in the code

Which plan matches your deployment type?

Deployment type in Replit Its counterpart here Plan
Static Files in public_html Any plan
Autoscale (site or API) A Node.js or Python app through Passenger AI and developer plans
Reserved VM (an always-on bot) A background process kept alive by cron AI and developer plans
Scheduled A job in Cron Jobs Any plan with cron, and the AI plans for Node.js and Python jobs

How it runs on ArabyHost

  1. Download the code or connect it to GitHub.
  2. Work out its type: package.json means Node.js, requirements.txt means Python, and the .replit file usually holds the run command.
  3. Copy the secrets from the Secrets tool into Environment variables when you create the app, as in the environment variables guide.
  4. Create the app from Setup Node.js App or Setup Python App in cPanel: Node.js 20 or 24, or Python 3.9 to 3.12.
  5. Fix the port: change any fixed port in the code to process.env.PORT in Node.js, and use passenger_wsgi.py in Python.
  6. For bots: a background process with cron, as in the guide to running a bot around the clock.

The full steps, including exporting the production database with pg_dump, are in the Replit project move guide.

The database: the main decision

The app database in Replit is managed PostgreSQL. On our hosting there are two options:

  • Convert to MySQL/MariaDB: the database sits on the same account, with no outside service. It needs changes to the connection code and to PostgreSQL-specific queries.
  • An external service over HTTPS: such as Supabase through its library, or Neon through its driver that works over HTTPS. A direct DATABASE_URL to a PostgreSQL port will not connect.

If your project relies deeply on PostgreSQL-only features, a provider with managed PostgreSQL or a VPS suits it better.

Limits to know

  • No Docker, no root access and no serverless functions.
  • Outgoing connections are HTTPS only.
  • Resources are limited per account, so an app that uses a lot of memory needs a dedicated server.
  • Passenger starts the app when requests arrive and stops it when idle, which is why bots run as a separate process.

On ArabyHost

Node.js and Python apps moved from Replit run on the AI and developer plans: Node.js 20 and 24, Python 3.9 to 3.12 through Passenger, SSH in an isolated environment, Git, and background processes through cron. You can run Claude Code or Codex on the same server to keep changing the project after the move.

The cost is fixed: prices are shown in your currency on the pricing page, and the renewal price is the price you signed up at. The full comparison of the two services is on the Replit page, and other tools are covered in vibe coding hosting.

FAQ

Can I move my project from Replit to other hosting?

Yes. You download the code from the three-dot menu above the file tree with Download as zip, or connect it to a GitHub repository. Then you move by hand what the file does not contain: the secrets, the database and the uploaded files.

Does Replit's PostgreSQL database work on your hosting?

We do not offer managed PostgreSQL, and a direct connection to an external PostgreSQL database does not work from our hosting because outgoing connections are HTTPS only. The two options are converting to MySQL on the hosting, or a database service that is reached through its library over HTTPS.

How do I run a bot that was always on in Replit?

A bot that must stay running works as a background process that a cron job keeps alive every minute. This is available on the AI and developer plans, and the steps are in the guide to running a Telegram bot around the clock.

What about Replit Auth?

It is Replit's own sign-in system and does not work outside it. You replace it with another sign-in system in the code, and you can ask the AI tool you built the project with to make that change.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.