How to migrate from Vercel to Hostinger

Move your existing Vercel application or v0-built project to Hostinger

Updated 5 days ago

If you have an application currently hosted on Vercel—whether you built it from scratch or vibe-coded it with v0—you can migrate it to Hostinger at any time.

Choose the step that applies to your situation:

  • If you built your app with v0 and haven’t connected it to GitHub yet, start at Step 1.
  • If your app is already on GitHub, skip straight to Step 2.
  • If you prefer uploading locally saved project files, skip to Step 2.

Before you start

  • Confirm your application is working correctly before migrating
  • Note any environment variables your project uses. You may need to re-enter them in Hostinger
  • If you are using any Vercel-native features such as Edge Functions or Vercel Blob storage, make sure you have alternatives in place before switching

Step 1 — Export your project to GitHub

Note: Skip this step if your code is already on GitHub.

Option 1 — Connect your v0 app to GitHub

  1. Open your project in v0.
  2. In the sidebar panel, click on the Git section.
  3. Click Connect to start the connection process.
  4. In the Create Repository modal, select your Git Scope (the GitHub account or organization) and enter a Repository Name.
  5. Click Create Repository to link your chat to a new private GitHub repository.
    v0 will push your project code to the repository automatically. Every change you make in v0 will be committed to a dedicated branch (for example, v0/main-abc123), keeping your main branch protected.
  6. When you are ready to finalize your code, click the Publish button (which shows a PR icon when connected to GitHub).
  7. Select Open PR to create a pull request from your working branch to main.
  8. In the publish modal, click Merge PR to merge your changes into main.

Your code is now in the main branch and ready to deploy to Hostinger.

Option 2 — Confirm your existing Vercel app is on GitHub

Most Vercel projects are already connected to a GitHub repository. To confirm:

  1. Open your project in the Vercel Dashboard.
  2. Go to Settings → Git.
  3. Verify that a GitHub repository is connected and that your latest code has been pushed.

If your project is not connected to GitHub, push your code to a new GitHub repository before continuing.

Step 2 — Migrate your project to Hostinger

Hostinger supports two deployment methods. Use GitHub if your code is already in a repository, as it is the fastest and recommended option.

If you only have your project files locally, you can upload them as a ZIP file instead.

Option 1 — Migrate from GitHub (recommended)

Once your code is on GitHub, migrating it to Hostinger is simple.

  1. Log in to hPanel.
  2. When asked to choose how you want to migrate your website, choose Node.js Web App.
    Hostinger Horizons menu highlighting “Let others copy your project & get messages” option
  3. Select a domain name to connect to your web app or use a temporary one.
  4. Choose Connect with GitHub when prompted.
    Deploy Your Node.js Web App with options to import Git repo or upload files
  5. Authorize Hostinger to access your GitHub account.
  6. Select the repository that contains your v0 application.
  7. Choose the main branch (or whichever branch contains your finalized code).
  8. Review the build settings and add any required environment variables.
  9. Start the deployment.

Hostinger will automatically build and deploy your application. Once deployment is complete, you will see a preview confirming your application is live.

Option 2 — Migrate by uploading your project’s ZIP file

If your project files are stored locally rather than in a GitHub repository, you can migrate by uploading a ZIP archive.

  1. On your local machine, create a ZIP file of your project.
    • Include package.json and all required source files
    • Exclude unnecessary files such as node_modules
  2. Log in to hPanel.
    Hostinger Horizons menu highlighting “Let others copy your project & get messages” option
  3. When asked to choose how you want to migrate your website, choose Node.js Web App.
  4. Pick the Upload your files method.
    Hostinger Horizons modal to allow copying a project as a template
  5. Upload your project’s ZIP file.
  6. Configure build settings and add any required environment variables.
  7. Start the deployment.

Hostinger will automatically build and deploy your application. Once deployment is complete, you will see a preview confirming your application is live.

IMPORTANT:

  • Applications built with v0 are typically Next.js projects. Make sure the correct Node.js version is selected in Hostinger’s deployment settings to match your project’s requirements.
  • Add all environment variables (API keys, database URLs, and so on) during the Hostinger deployment setup. Missing variables are the most common cause of post-migration errors.
  • Test your application thoroughly on Hostinger before pointing your domain or switching production traffic to the new URL.
  • If you continue making changes in v0 after migrating, merge them to your GitHub main branch and redeploy from hPanel to keep your Hostinger deployment up to date.