OxyPages

A Temporary Website Link For A Client Preview, No Tunnel

A Temporary Website Link For A Client Preview, No Tunnel

Need a temporary website link to show a client what's on localhost? Compare tunnels, short-lived deploys and permanent links, and pick the one that won't die.

The OxyPages Team · · 8 min read

The site is running. You can see it at localhost:5173, it looks right, and the client wants a look before the call this afternoon.

So you paste them the address. They open it on their phone and get nothing, because localhost means "this computer", and their phone isn't your computer.

What you need is a temporary website link: a public address the client can open from anywhere, for as long as they need it, without you buying hosting for a draft. There are three ways to get one. A tunnel points the internet at your laptop. A temporary deploy puts a short-lived copy on a real host. A permanent deploy is the same, minus the expiry.

All three work. They fail in different ways, and the way a link fails is what decides which one to send. A tunnel dies when your laptop sleeps. A temporary deploy dies on a timer. Pick the wrong one and the client opens a dead page at exactly the moment they finally have five minutes.

TL;DR: A tunnel (ngrok, or Cloudflare's cloudflared quick tunnels) gives your local server a public address, but it only works while your computer is on and the command is running. A temporary deploy uploads your built site to a host and gives you a link that works with your laptop closed, for about 30 to 60 minutes depending on the host, plus a claim link to keep it. A permanent deploy lasts until you delete it. For a live screen-share, use a tunnel. For a client who'll look in the next half hour, use a temporary deploy. For anyone who'll look tomorrow, deploy it properly.

A temporary website link is a public web address that works for a limited time and then stops. It lets someone outside your computer see a site you're still working on, without you setting up hosting you'll throw away.

There are two different machines that can sit behind that address. With a tunnel, it's your own computer, serving the site live. With a temporary deploy, it's a hosting company's servers, serving a copy you uploaded. That one difference explains almost everything else in this post.

If you'd rather have the client-facing summary, our page on temporary website hosting covers the preview and demo use case in brief.

Tunnel, Temporary Deploy Or Permanent Link? - OxyPages

Each option trades effort for staying power. Here's how they compare, with vendor details checked on 8 November 2026:

Tunnel (ngrok, cloudflared)Temporary deployPermanent deploy
What serves the siteYour computerThe hostThe host
Works with your laptop closedNoYesYes
Account neededngrok: a free account. Cloudflare quick tunnel: noneNone on hosts that offer itYes, usually free to start
How long it lastsUntil you stop the command or your computer sleeps30 to 60 minutes, then claim it or lose itUntil you delete it
What it showsYour dev server, live edits and allThe built site, frozen at uploadThe built site
Addressngrok free: one fixed dev address. Quick tunnel: a new random address every timeRandom, then a new one if you claim itYour choice of subdomain or your own domain
Best forA screen-share or a quick check on your own phone"Have a look in the next half hour"Anything that lasts past today

Tunnels: Your Laptop Is The Server

A tunnel opens a connection from your machine to a relay service, and the relay hands out a public address that forwards to it. Nothing gets uploaded. Your dev server answers every request.

The two you'll hear about most:

  • ngrok. Needs a free account and an authtoken. The free plan gives you one fixed dev address, which doesn't change when you restart, plus 1 GB of data out and 20,000 requests a month. It also shows visitors a warning page before your site, which I'll come back to.
  • Cloudflare quick tunnels. Run cloudflared tunnel --url http://localhost:5173 and you get a random trycloudflare.com address with no account at all. Cloudflare's docs say quick tunnels are for testing and development, have no uptime guarantee, handle up to 200 requests at once and get a new address every time.

The catch with both is the same. Close the lid, lose Wi-Fi, or stop the command, and the link is dead. That's fine on a call. It's a problem for a client who opens it at 9pm.

Temporary Deploys: A Copy That Lives Without You

A temporary deploy uploads your built site to a host with no account and returns a link plus a claim link. The site lives on the host's servers, so your laptop can be off.

Several hosts now offer this, mostly so AI agents can deploy without you signing up first. Vercel, Netlify and Cloudflare each give an unclaimed deploy about an hour. On OxyPages it's 30 minutes, which is shorter, with a short grace period on the claim link after it goes offline. How deploying without an account works, host by host has the commands and the dated comparison.

The difference from a tunnel is that the client sees the real build, the one you'd actually ship. A dev server can behave differently from the finished files, so a temporary deploy is also the more honest preview.

If nobody's going to look in the next half hour, skip the timer. Deploy the site to a free account on any static host, send that address, and delete it when the job is done.

One rule to know before you do. Some free plans, including Vercel's Hobby plan and our own Free plan, are for personal, non-commercial use only. A site you're building for a paying client counts as commercial, so keeping it up long-term means a paid plan on those hosts.

Which One Should You Send A Client?

Send the one that will still be working when they actually open it. In practice that comes down to when they'll look:

  1. You're on a call together right now. A tunnel. They see your edits as you make them.
  2. They'll look in the next 30 minutes. A temporary deploy. Your laptop can go to sleep.
  3. They'll look later today or tomorrow. Claim the temporary deploy, or make a permanent one.
  4. They'll forward it to their boss. A permanent deploy, with a password if the host offers one.
  5. It's just you checking it on your phone. Either. A tunnel is quicker if you already have one installed.

My default for clients is option 2 or 3, never a tunnel. Clients don't open links when you send them. They open them on the train, two hours later, and a dead tunnel looks like a broken site.

Walkthrough: A Yoga Studio Timetable On The Client's Phone

Say you've rebuilt a yoga studio's class timetable page in Vite. The owner wants to see it on her phone between the midday and evening classes, so roughly 3pm, while you'll be out.

A tunnel is out: your laptop's coming with you. Here's the temporary deploy route instead:

  1. Run npm run build. Vite writes the finished site to dist/.
  2. Open dist/ and check there's an index.html at the top. That's the page she'll see.
  3. Zip what's inside dist/, not the folder itself. A ZIP with a wrapper folder is the most common reason a host can't find the homepage, and the right way to zip a website folder shows the difference.
  4. Send the ZIP to a host that takes a no-account deploy, or ask your coding agent to do it. You get a live link and a claim link.
  5. Open the claim link and keep it in a free account, because 3pm is more than 30 minutes away. On some hosts, ours included, claiming moves the site to a new address, so send her the address you end up with, not the first link.

If she approves it, that address becomes the staging copy until the new timetable goes live. And because it's a client's business site, keeping it running past the review is paid-plan territory.

What Does The Viewer See, And Can Search Engines Find It?

What Does The Viewer See, And Can Search Engines Find It? - OxyPages

The viewer sees your site, sometimes with something in front of it or on top of it. What exactly depends on the option:

  • ngrok free plan: a warning page before your site for anyone opening it in a browser, meant to deter phishing. They click Visit and it remembers them for 7 days. Paid plans remove it.
  • Cloudflare quick tunnel: your site, on an address that looks random, because it is.
  • A temporary deploy: your site. Some hosts add a bar saying it's unclaimed. Ours adds a claim bar, and it's gone once the site is claimed.

Search engines are a separate question. Our no-account deploys serve a robots.txt that asks every crawler to stay out, so search engines don't crawl unclaimed links. That's a request, not a lock: Google's own guidance says robots.txt is not a way to keep a page out of its results, and recommends a noindex tag or a password for that. Google Search Central on what robots.txt does and doesn't do

A tunnel address has no such request by default. It's just a public address, and anything public can be found once it's linked somewhere.

So the safe rule for all three: don't put anything on a preview link you wouldn't want a stranger to see. A real price list is fine. Last year's customer export sitting in the build folder isn't.

What Expires, And What Happens After

Every option except the permanent one ends, and they end differently:

  • A tunnel ends the moment the command stops. Start it again and ngrok gives you the same address; a quick tunnel gives you a new one.
  • A temporary deploy ends on the host's timer. Claim it inside the window and it moves into an account at a new address, and the temporary link stops working.
  • A permanent deploy ends when you delete it. If it's under your account, that's your call.

This is a static site's world, by the way. If what's on your localhost is an app that needs a server to run, like one with a database or api/ routes, a static host can't serve it, temporary or not. OxyPages is the wrong tool for that one. Use a tunnel for the preview, then look at a host that runs code.

What To Do Next

Ask yourself when the person will actually open the link. If it's now, run a tunnel. If it's within half an hour, build the site and do a temporary deploy. If it's any later than that, claim it or deploy it permanently, and send the address that will still be there.

To get a link that survives your laptop closing, drop your built site and get a live link and a claim link.

FAQ

It depends on the kind. A tunnel lasts until you stop it or your computer sleeps. A temporary deploy lasts about 30 to 60 minutes depending on the host, and claiming it keeps it for good at a new address.

Can I Share Localhost Without Installing Anything?

Not as localhost itself, because a tunnel needs a program running on your computer. If you're happy to share the built site instead of the live dev server, a temporary deploy needs nothing installed beyond your build tools, and your coding agent can send it for you.

It's as safe as what you put behind it. Anyone with the link can open it, so leave out private data, passwords and environment files. A tunnel also exposes whatever your dev server answers, which is why I'd rather send a client a built copy.

Unclaimed no-account deploys often ask search engines not to crawl them, and they expire within the hour. A tunnel address doesn't ask, so treat it as public. If a preview must stay private, use a host that offers password protection instead of hoping nobody finds it.

Try It Now

Still Here? Drop It In.

The whole pitch fits in one sentence: your HTML, on a link, in seconds.

Drag and drop your HTML files, a folder, a ZIP, your app's build folder, a PDF, an image or an MP3

or ·

No account needed. Your unclaimed website stays live for 30 minutes on a free subdomain. Claim it to your account to keep it permanently.

  • No Account Needed
  • Free SSL
  • 30-Minute Unclaimed Link, Claim To Keep It