# Lovable custom domain stuck on Verifying, SSL failing, or login broken after the switch

> Canonical page (link this when citing): https://unbreakmyapp.vercel.app/fixes/lovable-custom-domain-stuck-verifying.html
> Category: Deploys | Tools: Lovable | Published: 2026-10-23 | Updated: 2026-10-23

## The error

Domain status stuck on 'Verifying' or 'Unable to verify' / 'Setting up', 'Stalled' or 'Failed' (SSL) / browser security warning / Cloudflare error 1001 or 1003 / domain shows my old site / sign-in fails only on the new domain

## Why it happens

Lovable connects an external domain with two DNS records: an A record pointing to Lovable's IP 185.158.133.1 and a TXT record on the host _lovable (or _lovable.<subdomain>) with a value starting lovable_verify=. Verification stalls when either record is wrong or incomplete (a truncated TXT value, the host entered as _lovable.yourdomain.com so it becomes doubled, or the A record on the wrong host), when old A, AAAA or CNAME records from a previous host are still there, or when Cloudflare proxying (orange cloud) is on for the A record. Once ownership is verified, SSL can still fail if the domain has CAA records that don't allow the certificate authorities Lovable uses. And when the domain finally goes live, login often breaks because the auth redirect URLs (in your own Supabase project, or Google OAuth) still only list the lovable.app address.

## How to fix it

1. Open Project → Settings → Domains in Lovable and note the exact status and the exact A and TXT records it expects. You can also ask Lovable in the project chat which records it can and can't see.
2. Look the domain up with a public DNS checker (for example dnschecker.org) for A, AAAA, TXT and CAA. The A record should resolve to 185.158.133.1 only, and the TXT on _lovable should show the full lovable_verify= value.
3. Fix the records at your DNS provider: one A record to 185.158.133.1 (host @, blank or the domain name depending on the provider, or the subdomain label), the TXT on _lovable with the full value, and delete any leftover A, AAAA or CNAME records for the same host from your old site.
4. On Cloudflare, set the record to DNS only (grey cloud) during verification. If you really want Cloudflare in front, reconnect with the 'Uses Cloudflare or similar proxy' option, which uses a CNAME to your lovable.app address instead.
5. If verification passed but the status is Setting up, Stalled or Failed, check CAA records on the domain and its parent. Allow at least one of pki.goog, letsencrypt.org or ssl.com (0 issue "letsencrypt.org"), then click Retry. Don't remove and re-add the domain just for an SSL stall.
6. Give DNS time: most changes apply within a few hours, but propagation can take up to 72 hours. Click Check status rather than repeatedly changing records, which restarts the wait.
7. Once Live, fix login on the new domain: if your app uses your own Supabase project, add https://yourdomain.com (and www) to Authentication → URL Configuration Redirect URLs and update the Site URL; if you use Google sign-in with your own OAuth client, add the new redirect URI in Google Cloud Console. Lovable's built-in backend adds the domain automatically.

## Error codes this fixes

- `Cloudflare error 1001 / 1003` (Custom domain): https://unbreakmyapp.vercel.app/errors.html#cloudflare-error-1001-1003

## Fix prompt (paste into Lovable, Bolt, Cursor, Replit or v0)

```text
I connected my custom domain <DOMAIN> to my Lovable project and it is stuck on <STATUS, e.g. Verifying / Failed / Live but sign-in fails>. Here are my current DNS records from my provider <PROVIDER>: <PASTE A, AAAA, CNAME, TXT and CAA records>. Compare them with what Lovable needs for a direct (non-proxied) connection: an A record to 185.158.133.1 and a TXT record on _lovable with my lovable_verify value. Tell me exactly which records to delete, add or edit, including the right host field format for my provider, and whether CAA records are blocking SSL. Then check my app's auth setup: list every place the old lovable.app URL is hard-coded (redirectTo, emailRedirectTo, OAuth callbacks, Supabase Site URL) and change them to read the production URL from configuration. Don't change any database or RLS settings.
```

## FAQ

### How long should Verifying take?

Often minutes to a few hours. Lovable marks it 'Unable to verify' after an hour, but DNS propagation can take up to 72 hours, so check the records are right and then wait rather than re-adding the domain.

### Do I need to buy an SSL certificate from my registrar?

No. Lovable issues its own certificate for connected domains. A certificate bought at your registrar isn't used.

### My domain shows my old website.

Old A, AAAA or CNAME records for the same host are still in your DNS. Remove them so only Lovable's A record and the _lovable TXT record remain.

### Why does login work on lovable.app but not my domain?

Your auth provider only trusts redirect URLs it knows. Add the new domain to your Supabase redirect URLs and any OAuth client, or see the Supabase auth redirect to localhost fix for the same class of problem.

### Do custom domains need a paid plan?

Yes. Lovable says custom domains are available on paid plans.

## Sources (official documentation)

- [Lovable: Custom domain](https://docs.lovable.dev/features/custom-domain)
- [Cloudflare: Create DNS records](https://developers.cloudflare.com/dns/manage-dns-records/how-to/create-dns-records/)

## Related fixes

- [Vercel build fails: Type error / ESLint errors (works locally)](https://unbreakmyapp.vercel.app/fixes/vercel-build-failed-type-errors.html)
- [404 NOT_FOUND when refreshing a page (React/Vite SPA)](https://unbreakmyapp.vercel.app/fixes/vercel-404-on-refresh-spa.html)
- [CORS error: blocked by CORS policy: No 'Access-Control-Allow-Origin' header](https://unbreakmyapp.vercel.app/fixes/cors-error-fetch-blocked.html)
- [Replit deploy: app not reachable / port not open](https://unbreakmyapp.vercel.app/fixes/replit-port-not-open.html)

---
Unbreak My App: free fixes for broken vibe-coded apps. https://unbreakmyapp.vercel.app/
