Hire Lovable Xperts
Deployment

Preview Works, Live Breaks?

Your Lovable app runs in preview but falls over on the live URL — vanishing env vars, a custom domain stuck on “Setting up”, 404s on every route, or a deploy stuck serving an old commit. Find the exact fix below.

Deployment & hosting fixes

Every guide names the exact deploy symptom, explains the root cause Lovable hides, and gives you the copy-paste config to ship to production — Vercel, Netlify, Cloudflare, or your own server.

Deployment

Lovable Works in Preview but Breaks on the Live URL

Preview works fine but the live URL shows errors, 404s, or redirects to localhost? Here's why, and the exact steps to fix each deployment break.

Read the guide →
Deployment

Lovable Env Vars Vanish on Deploy? Fix the Vanishing Env-Var Before Your Login Breaks

Your VITE_SUPABASE_URL and anon key work in the Lovable editor but break in production, and login redirects to localhost. Here's the exact fix.

Read the guide →
Deployment

Lovable Custom Domain Stuck on Setting Up? Here's How to Unstick It

Verifying, Setting up, Unable to verify — each status has its own cause. Check your A record 185.158.133.1, the _lovable TXT and any AAAA leftover.

Read the guide →
Deployment

Lovable App Returns 404 on Refresh or Deep Link? The SPA Routing Fix

Your Lovable app 404s when you refresh a page or open a deep link on Vercel or Netlify. Here is the copy-paste SPA rewrite config that fixes it.

Read the guide →
Deployment

Lovable Won't Publish? How to Break the Stale-Commit Deploy and Get Your Changes Live

Lovable shows 'Oops! couldn't publish your site' or keeps serving an old commit? Here's how to fix the Stale-Commit Deploy and ship the real build.

Read the guide →
Deployment

Why Your Lovable Site Is Not Showing Up on Google: The SPA Indexing Problem

Your Lovable site is not showing up on Google because it ships as a client-rendered SPA — Googlebot sees an empty shell. Here is the durable SSR fix.

Read the guide →
Deployment

How to Publish a Lovable App for Private Use

Lovable has no password for published apps, but Invite only and Workspace access limit who visits. How to set it up, plus in-app login and host passwords.

Read the guide →

App down or leaking data? Get an expert on it within 24–48h.

Book a free 30-minute audit call. We'll diagnose what's wrong and tell you exactly what it costs to fix.

Get emergency help