Lovable custom domain not working or stuck pending
On this page
Short answer
Don't use an IP address from an older guide. Copy the records from Setup instructions in Project → Settings → Domains, add every one at your DNS provider (including any AAAA record Lovable lists), and remove all other A, AAAA and CNAME records at that name. When the domain shows Active, publish the project.
Deploy Without Errors Pack
Environment variables on Vercel, Netlify and Replit, SPA refresh rewrites, npm peer dependency errors and domain setup.
Secure checkout by Stripe
One-time payment through Stripe. Priced in USD. Local taxes such as UK VAT may be added at checkout.
The exact error you'll see
In Project → Settings → Domains, below the domain:
Some DNS records for this domain are missing or wrong, so visitors may not reach it.
Source: https:/
Progress lines shown below the domain during setup:
Looking for your DNS records
DNS records found, waiting for them to take effect
Issuing certificate
Source: https:/
When the domain is already connected in a different workspace:
Domain already in use
Source: https:/
Applies to
- Lovable projects with a domain bought elsewhere and connected through automatic setup (Entri) or manual DNS
- Domains bought through Lovable, where Lovable sets the records itself
- Records involved: the A record, the AAAA record if Lovable lists one, the TXT record at
_lovable(or_lovable.<prefix>for a subdomain) with a value startinglovable_verify=, and CAA records - Connecting a new domain requires a paid plan
Why it happens
- The records aren't there or don't match. Lovable is "waiting to find the records shown in Setup instructions."
- Leftover records from an old host. Lovable says records from a previous host "can send some or all visitors there instead of your app."
- CAA records block the certificate. The domain then "stays at Issuing certificate or shows a connection warning."
- A proxy is on during setup. Lovable says to disable proxying while setup completes, unless you use the CDN/proxy option.
- The domain is Active but the project isn't published. Lovable says to publish the project once the domain becomes Active.
How to fix it, step by step
- Open Project → Settings → Domains, click the three dots next to the domain and choose Setup instructions. Copy every record.
- At your DNS provider, add the A record. Add the AAAA record too if Lovable lists one. Use the host format your provider expects (
@, blank, or the domain name). - Add the TXT record at
_lovablewith the fulllovable_verify=value. - Remove every other A, AAAA or CNAME record at the same name. Leave MX records for email alone.
- If you use CAA records, allow at least one of these. Lovable recommends all three:
0 issue "pki.goog",0 issue "letsencrypt.org",0 issue "ssl.com". For a subdomain, check the parent domain's CAA records too. - If you use Cloudflare, set the records to DNS only (gray cloud) during setup. To keep a proxy, enable Advanced → Uses Cloudflare or similar proxy when connecting. Lovable then gives you a CNAME to your
lovable.appURL and needs no TXT record. - In the three-dots menu, choose Check again. When the domain shows Active, publish.
What the docs don't spell out
- The old "no AAAA record" advice no longer holds. Lovable now says "Keep all records Lovable provides, including any AAAA record." Remove only AAAA records Lovable didn't give you. Some DNS providers add one automatically to new domains. (Lovable docs (opens in a new tab))
- Active doesn't mean sign-in works. With the built-in backend, Lovable adds the domain to the auth redirect URLs when it becomes Active. With your own Supabase project, you must add it under Site URL and Redirect URLs yourself. (Lovable docs (opens in a new tab), Supabase (opens in a new tab))
- Cloudflare 1001 or 1003 errors come from Cloudflare's proxy, not from Lovable. Switch the records to DNS only. (Lovable docs (opens in a new tab))
How to check it worked
- Paste the domain into dnschecker.org, as Lovable suggests, and compare the A and AAAA results with the records Lovable gave you.
- The domain shows Active in Project → Settings → Domains, and the published site loads over HTTPS.
- Lovable says DNS can take up to 72 hours, though most changes are live within a few hours.
Sources
- https:/
/ : statuses and messages, record types,docs. lovable. dev/ features/ custom- domain (opens in a new tab) _lovableTXT, AAAA guidance, CAA values, proxy mode, Cloudflare errors, 72-hour propagation, redirect URLs, paid plan - https:/
/ : Site URL and Redirect URLs in URL Configurationsupabase. com/ docs/ guides/ auth/ redirect- urls (opens in a new tab)
Related fixes
Tool to consider: Lovable.
Deploy Without Errors Pack
Environment variables on Vercel, Netlify and Replit, SPA refresh rewrites, npm peer dependency errors and domain setup.
Secure checkout by Stripe
One-time payment through Stripe. Priced in USD. Local taxes such as UK VAT may be added at checkout.