Support
We usually reply within 1–2 business days
Ticket submitted!
Your ticket ID:
A confirmation has been sent to your email address.
Test Your Astro Site Before Going Live — Preview On Your Real Domain | TestURL.live
Astro Migration Guide

Test Your Astro Site Before Going Live — On Your Real Domain

You rebuilt the site in Astro, the Lighthouse scores are gorgeous, and the deploy preview looks perfect. But a *.netlify.app or *.vercel.app URL is not your production domain — and the bugs that bite at go-live are the ones that only appear when the real hostname is in play. TestURL.live gives you a free, shareable preview of your Astro build on your actual domain, before you touch DNS.

Works with Vercel, Netlify & Cloudflare Pages Enter a hostname, not just an IP No hosts file, no downtime

Why The Deploy Preview Lies To You

Astro is fast and the developer experience is excellent — which is exactly why teams over-trust the deploy preview. The catch is that a platform preview URL runs your site under the wrong hostname. Anything that depends on the real domain silently resolves against my-site.netlify.app or my-site.vercel.app instead, and you don't find out until visitors and Googlebot do. The classic go-live surprises:

Editing your local hosts file is the old workaround, but it only previews the site for you, on one machine — you can't share it with a client, can't run Lighthouse or a visual diff against it, and you'll eventually forget to revert it. There's a cleaner way.

How TestURL.live Previews Your Astro Build

Because Astro sites usually live on a managed host that gives you a hostname rather than a raw IP, TestURL.live lets you proxy your domain straight to that hostname.

  1. Deploy your Astro build to its new home and add your custom domain in the Vercel/Netlify/Cloudflare Pages dashboard (you do this before DNS anyway — it'll show "waiting for DNS").
  2. On TestURL.live, enter your domain (e.g. yoursite.com) and the new host as the target — a hostname is fine: my-site.netlify.app, my-site.pages.dev, my-site.vercel.app, or cname.vercel-dns.com.
  3. We spin up a private subdomain like xyzab.testurl.live that proxies to the new host but presents your real domain in the Host header and TLS SNI — so the platform serves the right site and Astro's canonical/redirect logic behaves as in production.
  4. Open the preview URL — you're browsing the Astro site as it will exist on the new host, before any DNS change.
  5. Run the automated comparison: visual diff old vs new, redirect-chain trace, SEO snapshot, Lighthouse, security headers, and a console-error scan for hydration failures.
  6. Share the link with your team. When everything's green, flip DNS with confidence.

The hostname target is the key: most "test before going live" tools assume a static IP, which Astro hosts don't hand out. See the related Astro SEO verification guide for exactly what to check once the preview is open.

What To Verify Before You Flip DNS

Trailing Slash & URLs

Confirm trailingSlash matches your old structure so internal links don't 301-chain or 404 on go-live.

Redirect Map

Trace every legacy path to its 301. Catch the URLs that quietly lost their redirect in the rebuild.

SEO Snapshot

Titles, meta descriptions, canonical tags, H1s, sitemap, and robots.txt — all resolved against your real domain.

Hydration & Console

A console-error scan catches Astro island hydration failures, 404 chunks, and missing client scripts.

Performance (Lighthouse)

Side-by-side LCP, CLS, and TBT for old vs new. Astro should win — verify it actually does on the real domain.

SSL & Security Headers

Verify the new host's certificate covers your domain and that HSTS, CSP, and X-Frame-Options survived the move.

Testing An Astro Site: TestURL.live vs The Alternatives

Approach TestURL.live Deploy Preview URL Hosts File Edit
Runs on your real domainYesNo (preview host)Yes
Accepts a hostname/CNAME targetYesn/aNo (IP only)
Shareable with client/QAYesYesNo
Canonical & sitemap resolve correctlyYesNoYes
Visual diff old vs newBuilt-inNoNo
Not blocked by preview noindexYesOften noindexYes

Testing An Astro Site Before Go-Live — FAQ

How do I test an Astro site before going live?

Deploy to your new host, add your custom domain there, then enter your domain and the platform hostname (e.g. my-site.netlify.app, my-site.pages.dev, cname.vercel-dns.com) on TestURL.live. You'll get a preview URL that proxies your real domain through the new host — no hosts file, no DNS change.

Can I preview an Astro site on Vercel, Netlify, or Cloudflare Pages?

Yes. The "New Server" field accepts a hostname or CNAME, not just an IP — so my-site.vercel.app, cname.vercel-dns.com, my-site.netlify.app, and my-site.pages.dev all work. We resolve it and proxy your domain to it.

Why not just open the .netlify.app / .vercel.app URL?

That URL runs under the wrong hostname, so canonical tags, the sitemap, RSS, and redirects resolve against the preview host. Preview deploys are also commonly served noindex. Testing on your real domain is the only way to catch URL-dependent and header bugs.

Does it work with Astro SSR (server output), not just static?

Yes. Whether your Astro project is SSG (static) or SSR via the Vercel/Netlify/Cloudflare adapter, the proxy preserves the real Host header so server routes, content negotiation, and Host-aware logic behave as in production.

What about trailing slashes and redirects?

Our redirect-chain check traces each request hop so you can confirm trailingSlash and your 301 map match the old URLs before any ranking impact. See the Astro SEO verification guide.

Is it really free?

The preview URL and Lighthouse comparison are free with no signup. The deeper visual/SEO/security comparison and PDF report are on a paid plan or a one-time test credit.

Related Astro Guides & Tools

Don't ship the preview. Ship the real thing — tested.

Free, instant, no signup. Preview your Astro site on your real domain in under 30 seconds.

Test My Astro Site →