Skip to content
Deploying apps4 min read

Vercel or your own hosting: when to move

Short answer

Stay on Vercel if your Next.js project relies on its managed features, such as preview deployments per branch, ISR, middleware and a global CDN, or if your traffic is very spiky. Move to your own hosting if you want domain email, a MySQL database, WordPress or PHP and always-on processes next to the app, with a fixed bill in your currency. Moving means carrying over env vars, vercel.json rules and cron jobs, then switching DNS.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. Signs you should stay on Vercel
  2. Signs your own hosting fits better
  3. Before moving: list what Vercel does for your project
  4. A move without downtime
  5. On ArabyHost

Vercel is built so Next.js deploys with almost no effort: connect GitHub, every commit is built, and every branch gets a preview URL. That’s very useful, but it isn’t everything a business project needs. This page helps you decide, then explains the move. The attribute-by-attribute comparison and prices are on ArabyHost vs Vercel.

Signs you should stay on Vercel

  • Your Next.js project relies on ISR, middleware, revalidate and image optimization, and you want them managed without thinking about resources.
  • Your team reviews every change through a preview URL per branch before merging.
  • Your traffic is very spiky (campaigns, launches) and you want functions to scale automatically.
  • Your audience is spread across continents, and pages are served from a global CDN.
  • You don’t need email, PHP or a database on the same server, because your other services are external anyway.

If that’s you, moving costs time without a clear gain.

Signs your own hosting fits better

  • You want email on your domain and a WordPress site or PHP panel next to the app, in one account and one panel.
  • The app needs a MySQL database close to it, instead of a separate database service you pay for on its own.
  • You have always-on processes: a polling bot, a worker draining a queue, a long WebSocket connection. Vercel Functions are invoked per request, and according to its docs their maximum duration on Hobby is 300 seconds.
  • You want a fixed bill that doesn’t move with usage, in your local currency.
  • The site is really a static export that needs no server features.
Question If the answer is yes
Do you use ISR, middleware or branch previews every day? Stay on Vercel
Do you need email and PHP/WordPress next to the app? Your own hosting
Do you have a process that must run 24 hours a day? Your own hosting (AI/Developer plan)
Do you need Docker or containers? Neither: a VPS or a container platform
Is the whole site static pages? Both work; decide on price and other services

Before moving: list what Vercel does for your project

Open your project and note:

  1. Environment variables: from the project settings on Vercel. Separate NEXT_PUBLIC_ ones (baked in at build time) from server variables.
  2. vercel.json: redirects, rewrites and headers rules become .htaccess rules or move into next.config.mjs.
  3. Cron jobs: if vercel.json has a crons section, each job calls a path in your app. On cPanel add it under Advanced › Cron Jobs with a command such as curl -fsS https://example.com/api/cron/daily; the cron generator helps with the schedule.
  4. Storage and databases: anything added from the Vercel Marketplace (such as Neon, Upstash or Supabase) is an account with that company. From ArabyHost your app reaches it over HTTPS only: its JavaScript client or REST API works with the same variables, but a direct connection on a database port (PostgreSQL 5432, Redis 6379) does not. For packages starting with @vercel/, check each one’s docs.
  5. The domain: where DNS is managed today, and who issues the SSL certificate.

A move without downtime

1. Pick the route

If the project builds with output: "export" without errors, it’s a static site that runs on any plan. Otherwise it’s a Node.js app that needs an AI/Developer plan. Detailed steps for both, including the server.js file, are in deploy Next.js on cPanel.

2. Deploy to a temporary subdomain

Create a subdomain such as new.example.com and deploy there first, while the real site stays on Vercel. Add server variables under Environment variables in Setup Node.js App, and build on your computer or in GitHub Actions with the public variables.

3. Test everything

Forms, sign-in, API routes, pages that relied on revalidate, and cron jobs. If you get an error page, see Node.js app 503 and environment variables not loaded.

4. Move the domain

Change the DNS records or nameservers to ns1.arabicode.com and ns2.arabicode.com. The SSL certificate is issued automatically once the domain points to the hosting. Keep the Vercel project running for a few days while DNS propagates, then turn it off.

5. Set up automatic deploys again

Instead of Vercel’s automatic builds, use GitHub Actions to build and upload over SSH, as in automatic deploys from GitHub.

On ArabyHost

Static Next.js sites run on every plan, and server-rendered Next.js apps run on the AI/Developer plans with Node.js 20 and 24 through Passenger, SSH, Git and cron for background workers, plus business email and MySQL databases in the same account. The real difference: fixed per-account resources on a server in Germany instead of a global network that scales on its own, and no Docker, no serverless functions and no automatic branch previews. The renewal price is the price you signed up at, and prices in your currency are on the pricing page. For help moving, ask for free migration help.

FAQ

Is Vercel free?

Vercel has a free Hobby plan with monthly usage limits. According to its docs, if you exceed them you usually wait until 30 days have passed before the feature works again, and Hobby can't buy extra usage. Current details and prices are on its pricing page and on the ArabyHost vs Vercel comparison.

Can I host a Telegram bot on Vercel?

A webhook bot can answer through a Vercel Function on each message. A polling bot needs a process that stays running, while functions are invoked per request with a maximum duration. On ArabyHost AI/Developer plans such a bot runs as a background process kept alive by cron.

Can I deploy Next.js to cPanel instead of Vercel?

Yes: as a static export on any plan, or as a Node.js app with Setup Node.js App and a server.js. Features such as ISR and image optimization work, but they use your account's resources instead of Vercel's infrastructure.

Will I lose preview deployments if I move?

Yes, cPanel hosting has no automatic preview per branch. The alternative is a subdomain such as staging where you deploy a chosen branch by hand or with GitHub Actions.

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.