Vercel Got Hacked? How I Migrated to Dokploy on a VPS (Step-by-Step Guide)

Vercel got hacked… and that was the moment I decided to move everything off.

If you're relying fully on platforms like Vercel, you're fast - but you're also dependent. One issue, one outage, one security scare… and you're stuck.

So I switched to a VPS with Dokploy - and honestly, it's way simpler than most people think. Here's exactly how I did it.

Watch the Full Tutorial

Full video walkthrough on YouTube: https://youtu.be/Jq4t88Xa7Ko

Why I Left Vercel

Vercel is great. No doubt. The developer experience is polished and deploys are blazing fast.

But the downside?

After seeing security concerns, I wanted something I fully own.

Why Dokploy + VPS

Dokploy is basically a self-hosted deployment platform. Think of it like your own Vercel… but on your server.

This combo gives you power without making things complicated - the speed of a managed platform with the control of self-hosting.

Step 1 - Get a VPS

First, you need a server. I use Hostinger VPS - solid performance and great pricing for the entry tier.

Recommended starter specs:

Once your VPS is provisioned, connect over SSH using the credentials your provider gave you. Make sure you can reach the server from your terminal before moving on.

Step 2 - Install Dokploy

Installing Dokploy is straightforward. Head to dokploy.com and copy the install command from their docs.

Run the command on your VPS - it will:

Open your browser, log in, and create your first admin user. You'll land on a dashboard that feels familiar if you've ever used Vercel, Heroku, or Railway.

Step 3 - Connect Your Project

Inside Dokploy, the workflow is the same one you already know:

  1. Create a new project - pick "Application" and give it a name.
  2. Connect your Git repo - GitHub, GitLab, Gitea, or Bitbucket - just authorise once and pick the repo and branch.
  3. Configure environment variables - paste in the same env vars you had on Vercel. Dokploy stores them encrypted at rest.

This is very similar to Vercel - but now it's your infrastructure. Push to your branch and Dokploy auto-builds and redeploys.

Step 4 - Deploy Your App

Click Deploy and let Dokploy handle the rest.

Behind the scenes, it will:

At this point, your app is live on your VPS - same as Vercel, except you control the box.

Step 5 - Secure Everything

This part is important. Once you own the server, you also own the security.

VPS hardening checklist:

Now you're not just deployed - you're deployed and secure.

Final Thoughts

Moving away from Vercel might feel scary at first. But with Dokploy + VPS, you get more control over runtime, logs, and data; more flexibility for any stack you can put in a container; and less dependency on a single third-party vendor. And once you do it once… it becomes your new default.

Want to go deeper into AI tools, automation, and building real systems? Visit prolevelaiacademy.com and become a Pro Level AI Builder in 28 days.