How to deploy a vibe coded website to the internet

How to deploy a vibe coded website

You asked ChatGPT, Claude or Cursor to build a website. npm run dev looks great, but the address is still localhost:3000 and nobody else can see it. Deploying is the step that puts your code on a server that runs all day, reachable at a real address.

This guide walks through the whole process and assumes no server experience.

What deploying actually does

Whichever service you use, putting a site online comes down to five steps:

  1. Get the code, from GitHub or a file you upload.
  2. Install and build, for example npm install and npm run build.
  3. Run the application on a server, continuously.
  4. Attach an address: a domain and an HTTPS certificate.
  5. Check that the site really answers.

The five steps of deploying a vibe coded website, from source code to a live site

On a VPS you handle each step yourself, plus Docker, a reverse proxy, a firewall and certificate renewal. That is why many people who build with AI choose a deployment platform instead.

Before you deploy: check four things

Most failed deployments come from these, so fixing them first saves time:

  • It builds on your machine. Run npm run build. If it fails locally, it fails on the server.
  • Your .env file is not committed. It holds passwords and API keys. Keep it in .gitignore and add an .env.example that lists only the variable names.
  • There is a production start command. package.json needs a start script. Some AI-generated projects only have dev. See deploying Lovable, Bolt, v0 and Cursor projects.
  • Data is not on temporary disk. Uploads and SQLite files must live in persistent storage, or they vanish on the next deployment.

Deploying on VibeVN

VibeVN puts websites online for people who already have source code.

Step 1: Push your code to GitHub

Create a repository, public or private, and push your code:

git init
git add .
git commit -m "first version"
git branch -M main
git remote add origin https://github.com/you/your-repo.git
git push -u origin main

More options, including ZIP uploads, are in how to host a website from GitHub.

Step 2: Connect and pick the repository

Sign in with GitHub, open a new deployment, then choose the repository and branch. VibeVN reads the code to detect the framework (Next.js, Express, NestJS, Nuxt, SvelteKit, Laravel, Django and others), the database, and the environment variables it needs.

Step 3: Review the plan and fill in settings

You see how the site will be built and run before anything happens. Pick a subdomain such as your-site.vibevn.app, then choose CPU and RAM. If the project has an .env.example, you are asked for each value. If the code uses PostgreSQL, MySQL or MongoDB, a database is created for the site.

Step 4: Watch it build and open your site

The build runs with live logs. When the health check passes you have an HTTPS address to share. From then on, pushing to the chosen branch deploys the new code.

Step 5: Add your own domain (optional)

Add your domain to the site, create the DNS records it shows you, and press Verify. HTTPS is issued automatically.

When a deployment fails

Failures are normal, especially with AI-written code. VibeVN reads the logs and names the likely cause: a missing package, a wrong import path, a missing environment variable, a wrong port, or a database problem. From the Basic plan, AI also proposes a fix as a pull request that you review first. Nothing changes in your code until you approve it.

For a Next.js project, the guide to fixing Next.js build errors covers the common cases one by one. Node.js backends are covered in Node.js hosting.

Frequently asked questions

Can I deploy if I cannot code?

Yes, as long as the code already runs on your machine. You do not need to know about servers, but you should be able to push to GitHub and read an error message. You can paste that message into your AI tool for an explanation.

How is vibe hosting different from normal hosting?

Traditional hosting gives you a place for files and you configure the rest. Vibe hosting is a loose name for services aimed at people building with AI: bring the code, and the build and operations are handled for you.

How much does it cost?

See pricing for current plans. New accounts get a 7-day trial of the Starter plan, enough to find out whether your site runs before you pay.