Lovable custom domain not working? DNS, SSL and redirect fixes
Last reviewed 21 November 2026
You bought the domain, added some records, and Lovable still says it’s setting up. Or the domain works, but shows your old website. Nearly every case comes down to a handful of DNS details. Here they are, in the order to check them.
Make sure you’re on a paid Lovable plan and the app is published. Add exactly the records Lovable shows, where your domain’s nameservers point, then allow up to 72 hours. If it shows an old site, delete leftover A, AAAA or CNAME records. If there’s no padlock, check CAA records. With Cloudflare, set the records to DNS only.
Before anything else
- Custom domains need a paid Lovable plan, and the app must be published before the domain shows it.
- Edit DNS where your nameservers point, not necessarily where you bought the domain. If your registrar has no DNS records option, as Namecheap notes, your DNS is somewhere else.
- Domains bought through Lovable are set up by Lovable. Switching one to other nameservers takes the site and email offline until the records are recreated.
The records Lovable asks for
From Lovable’s domain guide, for a domain registered elsewhere:
- An A record pointing the domain at the IP address Lovable shows, plus an AAAA record if Lovable lists one.
- A TXT record with the host
_lovable(or_lovable.plus your subdomain) and a value startinglovable_verify=. - Records for both the root and www. Connecting the root domain turns on a www redirect by default, so copy every record shown.
Different DNS providers write the host differently: @, blank, the domain name, or just the subdomain. Copy the values exactly.
What each status means
Lovable shows Setting up domain, then progress steps (looking for records, records found, finishing up), then Active. Needs attention means records are missing or have changed. Changes usually take a few hours, and Lovable allows up to 72.
Common problems
| What you see | Usually | Fix |
|---|---|---|
| Stuck on Setting up | Records missing, mistyped, or still updating | Check with a DNS lookup tool, wait, then remove and re-add the domain |
| Active, but shows the old site | Old A, AAAA or CNAME records from a previous host | Delete them. Watch for an AAAA record your provider added automatically |
| Stuck on Finishing up, or no padlock | CAA records blocking the certificate | Allow pki.goog, letsencrypt.org and ssl.com, on the parent domain too |
| Cloudflare error 1001 or 1003 | Cloudflare’s proxy (orange cloud) is on | Set the records to DNS only (grey cloud) |
| “Domain Service Error” | The DNS setup window couldn’t load. Nothing was changed | Open the domain’s three-dots menu and choose Setup instructions to add the records yourself, or turn off script blockers and try again |
| Email stopped working | Mail records deleted while clearing old ones | Keep MX and other unrelated records |
Lovable issues the SSL certificate itself, so a certificate from your registrar isn’t used. If it hasn’t been issued after 72 hours, contact Lovable support. HTTP always redirects to HTTPS.
Using Cloudflare on purpose
If you want Cloudflare in front of the site, Lovable has a proxy mode that uses a CNAME record instead of an A record and no TXT record. Lovable doesn’t configure or monitor your Cloudflare setup in that mode, so it’s yours to keep working. During standard setup, keep proxying off.
After it goes live
- Sign-in: on Lovable’s built-in backend, the domain is added to the sign-in settings automatically. On your own Supabase project, or with your own Google credentials, add it yourself. See fixing Google sign-in.
- Primary domain: the first custom domain you connect usually becomes primary, and a domain you later buy through Lovable and connect replaces it. Other connected domains redirect to the primary one with temporary (302) redirects. Lovable doesn’t offer permanent 301 redirects between project domains.
- Search: connect Google Search Console for the new domain. See Lovable SEO.
Questions founders ask
How long does a Lovable custom domain take?
Usually a few hours. Lovable says DNS changes can take up to 72 hours. If the certificate still isn’t issued after that, contact Lovable support.
Do I need to buy SSL for my Lovable domain?
No. Lovable issues the certificate itself, and registrar certificates aren’t used. If it won’t issue, check your CAA records.
Can I use Cloudflare with Lovable?
Yes, either with records set to DNS only, or with Lovable’s proxy mode. In proxy mode, Lovable doesn’t monitor your Cloudflare settings.