Tunnel vs hosting: localhost options compared
ngrok, Cloudflare Tunnel, Vercel, Netlify and VibeDeploy can all get your local site to a public URL, but they do not do the same thing. Two are tunnels (temporary, tied to your machine) and three are hosts (permanent, always on). Here is the honest breakdown of what each is best for and which to pick.
Only choosing between the two tunnels? Read ngrok vs Cloudflare Tunnel, in detail.
In one line
Use a tunnel (ngrok, Cloudflare Tunnel) for a quick temporary share while your computer stays on. Use a host (Vercel, Netlify, VibeDeploy) for a real, always-on site. If you want it online for good on your own domain, hosted in the EU, VibeDeploy takes your build output or a deploy from your coding agent over MCP.
| Feature | ngrok | Cloudflare Tunnel | Vercel | Netlify | VibeDeploy |
|---|---|---|---|---|---|
| Type | Tunnel (temporary) | Tunnel (temporary) | Host (permanent) | Host (permanent) | Host (permanent) |
| Stays online when your computer is off | cancel | cancel | check_circle | check_circle | check_circle |
| Stable URL that does not change | Yes, one assigned dev domain | With a named tunnel | check_circle | check_circle | check_circle |
| Custom domain | Pay-as-you-go plan and up | Yes (via Cloudflare) | Yes | Yes | Yes, on every plan |
| Production-grade / always-on | cancel | cancel | check_circle | check_circle | check_circle |
| Permanent URL on your own domain | cancel | cancel | check_circle | check_circle | check_circle |
| Where the site is served from | Your own machine | Your own machine | Global CDN (US company) | Global CDN (US company) | EU (Belgium) |
| Best for | A quick temporary demo | Exposing a server that keeps running locally | Next.js apps (developers) | Static sites (developers) | Keeping a site online on your own domain, hosted in the EU |
New to all this? Start with the step-by-step guide.
Each option, honestly
ngrok
TunnelInstantly exposes the server still running on your computer on a public URL.
Best for: A quick temporary demo, or testing webhooks against your local machine.
The catch: It is not hosting. Your computer must stay on, and on a free account visitors see an ngrok warning page before your site.
Cloudflare Tunnel
TunnelConnects a server you keep running (a home lab, a self-hosted box) to Cloudflare's network.
Best for: Exposing something you self-host and keep online yourself, with a stable domain via Cloudflare.
The catch: Your own origin still has to keep running. Cloudflare does not host a copy of your site for you.
Vercel
HostThe default host for Next.js and React apps, deployed from Git.
Best for: Developers shipping a Next.js or framework app and comfortable with a Git and build workflow.
The catch: Assumes developer skills (Git, CLI, builds). US-led infrastructure, and usage-based pricing can climb with traffic.
Netlify
HostA popular host for static sites and the Jamstack, with drag-and-drop or Git deploys.
Best for: Developers who already have a static build (a dist or build folder) to put online.
The catch: Still a developer workflow, US-based, and bandwidth is metered in credits (20 per GB) against your plan's allowance.
VibeDeploy
HostAn EU host for sites you have already built: upload the build output (the dist or build folder), or let your coding agent deploy it over MCP.
Best for: Keeping a site online on your own domain, hosted in the EU.
The catch: One region in Belgium, no global edge network, and a paid plan from EUR 4 a month once the 14-day trial ends. Backends run as containers next to the site (up to 6 services, 2 CPU and 2 GiB in total), and container data is not yet in snapshots.
Searching for a Vercel tunnel? What exists instead
There is no such feature, and that is fine, because what you actually want is one of two tools. A tunnel like ngrok or Cloudflare Tunnel shows work-in-progress straight from your machine; a deploy gives you a link that stays online after you close the laptop.
Neither of Vercel's closest features fills the tunnel role. Running vercel dev starts a server only your own machine can reach, and every preview deployment is a hosted copy of your site rather than a window into your local one.
So if the goal is a permanent URL, take the deploy route: upload your build to VibeDeploy and the link keeps working on your own domain.
Which should you pick?
- You just need a temporary link to show someone right now, and you can keep your computer onngrok or Cloudflare Tunnel
- You self-host a server and want a stable public address for itCloudflare Tunnel
- You are a developer shipping a Next.js or framework appVercel
- You are a developer with a static build who wants simple hostingNetlify or VibeDeploy
- You want the site online for good on your own domain, hosted in the EU, from an upload or your coding agentVibeDeploy
Frequently asked questions
What is the difference between ngrok and Vercel or Netlify?expand_more
ngrok is a tunnel: it makes the site that is still running on your own computer reachable from the internet, but only while your machine and the tunnel stay on. Vercel and Netlify are hosts: they run their own copy of your site on always-on servers, so it stays live independently of your laptop. For a permanent website you want a host, not a tunnel.
Is Cloudflare Tunnel free hosting?expand_more
No. Cloudflare Tunnel is free, but it is a tunnel, not hosting. It connects a server you keep running yourself to Cloudflare's network. If your own machine or server stops, the site stops. A host actually stores and serves your site for you.
Can a host run my localhost app's backend too?expand_more
A tunnel shows your whole stack, server included, but only while your own machine keeps running it. On VibeDeploy the front end is served as static files, and your own server, Postgres, MySQL, Redis or a worker can run as containers next to the site (up to 6 services, 2 CPU and 2 GiB in total), deployed by your AI agent through the MCP tool deploy_app. Container data is not yet included in snapshots.
Which option keeps my site online when my computer is off?expand_more
Any real host: Vercel, Netlify, or VibeDeploy. They run their own copy of the site. Tunnels (ngrok, Cloudflare Tunnel) do not, because the site is still running on your machine.
Is there a Vercel tunnel for sharing localhost?expand_more
No such feature exists. What you actually want is one of two tools: a tunnel like ngrok or Cloudflare Tunnel when someone needs a quick look at the site running on your machine, or a real deploy when the link has to stay online after you close your laptop. VibeDeploy handles the second case: upload the build once and the URL stays up on your own domain.
Put your build online for good
Upload your build output, or let your coding agent deploy over MCP. A permanent URL on your own domain in minutes, hosted in the EU. No credit card for the 14-day trial.
Start free