4 min readVibeDeploy team

Localhost to live URL, the simple way

The fastest way to turn a localhost project into a public URL. Three honest options compared, plus a 2-minute path with EU hosting and automatic SSL.

The simplest way to get a localhost site online is to deploy its built files to a static host that gives you a public HTTPS URL. If you just want the quickest answer: build your project (usually npm run build, which produces a dist/ or build/ folder), drag that folder into VibeDeploy, and you get a live https://yourname.vibedeploy.be URL in about 30 seconds. Add a custom domain when you are ready. No server to rent, no config files to write.

That is the short version. The rest of this page explains the real options, when each one fits, and the exact steps.

First, what "localhost" actually is

http://localhost:3000 (or :5173, or :8000) is a server running only on your own machine. Nobody else can reach it. To put it online you need one of two fundamentally different things:

  1. A tunnel that temporarily exposes your running local server to the internet.
  2. A deploy that copies your built site to a host that serves it permanently.

These solve different problems. Pick by what you actually need.

Option 1: a temporary tunnel (for a quick demo)

Tools like a tunnel service give your running localhost a temporary public address, often for a few minutes or hours. This is great for showing a teammate a work-in-progress, testing a webhook, or a quick screen-share demo.

The catch: the URL dies when you close your laptop, the address is random and ugly, and your machine has to stay on. It is a demo trick, not hosting. If you want the link to keep working tomorrow, you need a real deploy.

Option 2: deploy the built site (for anything real)

Most localhost projects, including everything built with AI tools, compile down to static files: HTML, CSS, JavaScript, and assets. Once you have those built files, a static host serves them to the world. This is the right answer for a portfolio, a landing page, a client site, a side project, or an AI-generated app front-end.

The steps are the same almost everywhere:

# from your project folder
npm run build
# produces dist/ (Vite, Astro, SvelteKit static) or build/ (CRA, some others)

Then upload that output folder. With VibeDeploy:

  1. Start a free 14-day trial, no credit card.
  2. Click New Site and drag in your dist/ or build/ folder.
  3. You get a live *.vibedeploy.be URL within about 30 seconds.
  4. Open Domains, add your own domain, and point the DNS records it shows you. SSL provisions automatically, usually within 60 seconds.

If your project is plain HTML with no build step, even simpler: drop the folder with your index.html straight in.

Option 3: let an AI agent deploy it for you

If you build in an MCP-capable client like Claude, Cursor, or Windsurf, you can skip the manual upload entirely. Connect the VibeDeploy MCP server at https://mcp.vibedeploy.be/mcp, then say "deploy this to VibeDeploy" in plain language. The agent ships your build and replies with the live URL. We cover this in detail in What is MCP hosting.

Which one should you use?

  • Just need to show someone for five minutes? Use a tunnel.
  • Want a link that keeps working, on your own domain? Deploy the built files.
  • Building with an AI tool or coding agent? Let the agent deploy over MCP.

For most people asking "how do I get my localhost site online", option 2 is the real answer, because the point is usually a link that lasts.

A note on "but my app has a backend"

A static host serves your front-end. If your localhost app also runs an always-on server (a custom Node API, a Flask app, a database you manage), that backend needs a server host. A static or single-page front-end, including one that calls an external API or a service like Supabase, deploys cleanly to VibeDeploy while the backend stays where it runs. Be honest with yourself about which kind of app you have: most marketing sites, landing pages, and AI-built front-ends are static and are a perfect fit.

Why EU hosting, briefly

If your visitors are in Europe or your site touches any personal data, where it is hosted matters for GDPR. VibeDeploy serves only from Belgian data centres, with a Data Processing Agreement available on every paid plan. That is a different default from most US-based static hosts. See why GDPR matters for AI-built sites.

Cost

The 14-day trial covers one site with a custom domain, so you can take a localhost project all the way to a live HTTPS URL at no charge. After that, the Maker plan is EUR 15/month, flat, with no per-bandwidth surprises. Compare the static-host options on the comparison pages.

Next steps

From the VibeDeploy team

Ship your AI-built site in minutes

VibeDeploy hosts your AI-built websites in the EU with custom domains, automatic SSL, and a 14-day free trial that gets you online today.

Related reading

7 min readPillar

How to deploy AI-built websites in 2026

From prompt to production URL: deploy patterns for Lovable, Bolt.new, Cursor, v0 and Claude artifacts, with EU hosting and custom domains.

hostingdeploymentai
5 min read

The Lovable-to-production checklist

The pre-launch checklist for Lovable sites: export path, build output, forms, analytics, DNS, SSL, staging and rollback. Eight checks, one boring launch.

lovableproductionchecklist
5 min read

Claude artifacts: from chat to your own domain

How to take a Claude artifact out of claude.ai and onto your own domain: what the format is, where its limits are, and the exact paste-to-live flow.

claudeartifactscustom-domain
4 min read

What is MCP hosting? Deploying a site via MCP

MCP hosting lets an AI agent deploy your site to a live URL, no manual upload. How deploy-via-MCP works and how to connect it in Claude, Cursor or Windsurf.

mcphostingdeployment
4 min read

Deploy a Lovable site to a custom domain

Step-by-step guide to take any Lovable project from a lovable.app subdomain to your own domain, with EU hosting and automatic SSL. Five-minute end-to-end.

lovablecustom-domaindeployment
5 min read

Bolt.new export: from prompt to production URL

How to take a Bolt.new project from the in-browser StackBlitz preview to a real production URL on your own domain. Five minutes, no build server needed.

boltdeploymenthosting
6 min read

GDPR matters when hosting AI-built sites in Europe

Why EU-resident hosting matters for sites built with AI tools, what the regulation actually requires, and how to set up a GDPR-compliant deploy without enterprise sales calls.

gdprhostingeu