Lovable custom domain not working
Last verified:
The fix
Lovable custom domain not working: the lovable.app URL loads and your domain does not. Read the status in Domains, then match the A or CNAME record Lovable shows. Do not rewrite the app.
- 1
Open the lovable.app URL from the Publish dialog
If that URL does not load, stop. Build errors need fixing, Publishing failed, or a white screen after Your website is live are the publish page and the blank-page page. This page is only for a
lovable.appURL that loads while the custom domain does not. A domain on Ready is the same gate: publish the project. The domain starts serving when that publish exists. - 2
Read the status on the domain row
Project settings, then Domains. Action required means click Complete setup and add the records from that window. Verifying or Unable to verify means the
AandTXTare missing, incomplete, or not visible yet. Setting up means wait. Stalled or Failed means Retry, then checkCAAif you have those records. Offline means Recover and put the displayed records back. Connection issue means read the warning under the row. Another project still serving this domain has to be disconnected there. Do not remove and re-add a domain that is Setting up or Stalled. - 3
Make the DNS for that hostname match one mode
Standard mode: one
Arecord to185.158.133.1, plus the_lovableTXTrecord with the fulllovable_verify=value. DeleteAAAArecords and any previousAorCNAMEon that host. Leave theArecord DNS-only until the status is Live. Proxy mode, only if you enabled Uses Cloudflare or similar proxy: theCNAMELovable shows to the project'slovable.appURL, and noArecord beside it. Cloudflare errors 1001 and 1003 want the gray cloud on the standardArecord.wwwand the apex each need their own completed row.example.com. A 185.158.133.1 _lovable.example.com. TXT lovable_verify=... # proxy mode only: CNAME to the lovable.app URL from Domains # no A record on that same host - 4
Wait until the row says Live, then retest
Click Check status. DNS can take up to 72 hours, and most updates show within a few hours. Open the domain in a private window. A certificate warning while the row says Setting up is the certificate still being issued. After Live, set the primary domain from the row menu if you want the other hostnames to 302 there. Do not change Vite
base, and do not disconnect the domain to force a new certificate. Sign-in that works onlovable.appand fails only on this domain is the Google login page, after this domain is Live.
Why it happens
Publish has to succeed before a custom domain can serve the app. Project settings, then Domains, is the status. The Publish dialog keeps showing the lovable.app address, with a note that the domain is still being set up, until that domain is Live. If setup does not progress for 72 hours, the note disappears. That is not Live. A domain bought through Lovable can sit on Pending while registration, DNS, and SSL finish, or on Ready when DNS is done and the project is not published yet. Ready means publish. It does not mean the records are wrong.
A domain from another provider is verified with the records in the DNS setup window. The usual pair is an A record to 185.158.133.1 and a TXT record. The TXT host is _lovable on the root, or _lovable. plus the subdomain label (for example _lovable.blog). The value starts with lovable_verify=. Copy the whole value. The host field depends on the provider: @, blank, the domain name, or the subdomain label. Route 53 wants the host blank or set to the domain name. An AAAA record on that same host sends traffic somewhere else. Lovable's troubleshooting says an AAAA record can make the domain show the wrong site. Old A or CNAME records from the previous host do the same. For the host you are connecting, the leftover records have to go, so only Lovable's A record and the verification TXT remain. If you see 185.158.133.1, that is Lovable's address.
www and the apex are different hostnames, and each one has its own row. Domains bought through Lovable get both. For a domain you already own, Redirect www to the apex is on by default, and both rows start as Action required until you click Complete setup on each. If you turned that redirect off, www stays Not connected after the apex is Live. Click Connect on that row. A primary domain has to be Live first. Every other connected domain then 302-redirects to it. Lovable does not use a 301 between project domains. A 302 from www to the apex, after you set a primary, is that setting.
The status names the wait. Verifying means DNS has not been seen yet. Check status, and confirm the A and the full TXT value. Unable to verify means that check did not finish within one hour. Propagation can take up to 72 hours. Most updates are visible within a few hours. Setting up means ownership is verified and the certificate is still being issued. Until it is ready, the browser shows a security warning instead of the site. Wait for Live. Stalled means certificate setup is taking longer than expected. Failed means ownership verified and the certificate could not be issued. Both use Retry. You do not remove the domain to retry. If those statuses stick and the DNS has CAA records, add an issue record for at least one of pki.goog, letsencrypt.org, or ssl.com. A subdomain inherits CAA from the parent when it has none of its own. Lovable issues the certificate. A certificate uploaded at the registrar is not the one this host uses. If it is still not issued after 72 hours, that is a support case, not a code change. Offline means the domain was Live and the records no longer point at the project. Recover shows the records to put back. Check failed means the check itself did not finish. The domain may still work. Do not edit DNS from that badge alone.
Cloudflare in front of the normal A record is a different failure. Error 1001 or 1003 is Cloudflare's proxy. Set that record to DNS only (gray cloud), not Proxied, and do not proxy the A record while status is Verifying. The advanced Uses Cloudflare or similar proxy option is the other mode. It replaces the A record with a CNAME to the project's lovable.app URL, shown under Domains after you publish, and it does not ask for the verification TXT. Leave the orange cloud off unless you turned that option on. Do not keep the old A record beside that CNAME.
The next error you'll probably hit
Once this is fixed, the usual follow-up is Lovable app not deploying: read the banner. Lovable app not deploying: the Publish dialog says Build errors need fixing or Publishing failed. Match that sentence, fix that cause, and publish again.
Prompt to paste back into your AI tool
Paste this above the error.
Lovable custom domain not working. The lovable.app URL from the Publish dialog is: <loads, or the publish banner if it does not> The domain is <hostname>. Project settings → Domains says: <Pending, Ready, Action required, Verifying, Unable to verify, Setting up, Stalled, Failed, Live, Offline, Connection issue, or Check failed> The records on that host today are: <paste the A, AAAA, CNAME, TXT, and CAA rows, or "not checked yet"> Do not rewrite the app. Do not change Vite base. Do not add a second A record next to a proxy CNAME. Do not upload a certificate at the registrar. Do not delete the domain while the status is Setting up or Stalled. 1. If lovable.app does not load, stop and follow the publish banner. This is not a DNS edit. 2. Tell me the one status action: Complete setup, publish because the row is Ready, wait, Retry, Recover, or fix the warning. 3. For an external domain, say whether this is the A record 185.158.133.1 plus the _lovable TXT, or the proxy CNAME to the project lovable.app URL. Name leftover A, AAAA, or CNAME rows to delete. Say gray-cloud the A record unless proxy mode is on. 4. If www and the apex are different rows, say which one is not completed. Do not treat a 302 to the primary domain as a bug. 5. Leave the code unchanged.
Common questions
+The lovable.app site works. Why is the custom domain still not serving it?
The domain row is not Live. Verifying and Unable to verify are DNS. Setting up, Stalled, and Failed are the certificate. Ready means the project is not published. The Publish dialog keeps the lovable.app address until the domain is Live, and the setup note can disappear after 72 hours without the domain going Live.
+Should I add a CNAME and an A record?
No. The standard setup is an A record to 185.158.133.1 plus the _lovable TXT record. The CNAME to your project's lovable.app URL is only for Uses Cloudflare or similar proxy, and it replaces the A record. Old A, AAAA, or CNAME rows on that host are why the domain still shows the previous site.
+www loads and the apex does not, or the browser warns that the certificate is not ready. What now?
www and the apex are separate rows. Complete setup on each, unless you turned the www redirect off and have not connected www. A certificate warning while the row says Setting up is the certificate still being issued. Stalled or Failed uses Retry. CAA records have to allow pki.goog, letsencrypt.org, or ssl.com. Lovable issues the certificate. Do not install one at the registrar.
+I proxied the domain in Cloudflare and now it errors. Is that Lovable?
Error 1001 or 1003 is Cloudflare's proxy. On the standard A record, set the cloud to DNS only until the domain is Live. Orange-cloud proxying is the separate Uses Cloudflare or similar proxy option, which uses Lovable's CNAME instead of the A record.
Related errors
- Lovable app not deploying: read the bannerLovable app not deploying: the Publish dialog says Build errors need fixing or Publishing failed. Match that sentence, fix that cause, and publish again.LovableCursorViteSupabaseNov 2, 2026
- Lovable or Bolt published blank pageLovable or Bolt published blank page: publish succeeded and the preview still runs. Fix the first console error, or the script that came back as HTML.LovableBoltViteReactOct 20, 2026
- ERR_TOO_MANY_REDIRECTS after adding CloudflareThe browser loops as soon as the custom domain is proxied. Cloudflare's Flexible SSL talks to the host over HTTP, and the host redirects that HTTP request back to HTTPS.CursorLovableBoltVercelNext.jsOct 26, 2026
- Lovable Google login not working after publishLovable Google login not working after publish: preview sign-in still works. Add the published origin to the redirect allow list, and stop sending Google a preview or localhost redirectTo.LovableCursorSupabaseAuthNov 11, 2026