Lovable custom domain not working — the DNS records, the statuses, and the 1-hour rule
Lovable custom domain not working — the DNS records, the statuses, and the 1-hour rule
Add exactly the records Lovable’s setup window shows: an Arecord with “the IP address Lovable shows for that domain”, an AAAA record if the window lists one, and a _lovable TXT record starting lovable_verify=. Three things break it: an old A, AAAA or CNAME record that Lovable did not provide, a proxied (orange-cloud) record, or an external SSL certificate you assumed was being used. DNS can take up to 72 hours, though most changes are live within a few hours; the SSL certificate comes after that (Lovable docs, read 21 Nov 2026).
How do I fix Lovable custom domain not working —?
Step 1 — Delete every conflicting record for that host first
At your DNS provider, remove every A, AAAA, and CNAMErecord for the exact host you are connecting that Lovable did not provide, so that only Lovable’s records will remain. Keep MX records. A stray AAAArecord is the one people leave behind, sometimes one the DNS provider added on its own: it routes traffic somewhere else for any visitor whose network prefers IPv6 — which is why the symptom is usually “my domain shows the wrong site” rather than an outright failure. But if Lovable’s setup window lists an AAAArecord, that one stays: the docs say “If Lovable also lists an AAAArecord, add it as well.”
Do this before adding anything. A leftover record and a correct record can coexist happily in a DNS zone, and the resolver, not you, decides which one a given visitor gets.
Not a developer? We fix this for you at a fixed price: $299 emergency triage, done in 48 hours or fully refunded. Not sure what else is broken? Send the repo for the $49 audit.
What if the quick fix doesn't work?
- 02
Step 2 — Add Lovable's A record and _lovable TXT record
In Lovable: Project → Settings → Domains → Connect domain, then either let Entri configure your provider automatically or choose manual setup and copy the records out. The
Arecord’s value is “the IP address shown for this domain in Lovable”: copy it from the setup window rather than from any guide, this one included. If the window also lists anAAAArecord, add it the same way with the IPv6 value it shows. The verificationTXTrecord uses the host_lovablefor a root domain (or_lovable.appfor the subdomainapp) and a value startinglovable_verify=. Lovable suggests a TTL of300seconds where your provider lets you set it. (Lovable docs, “Launch your site on a custom domain”, read 21 Nov 2026.)The host field for the
Arecord is the part registrars disagree on: depending on the provider it must be@, left blank, or set to the domain name itself. Amazon Route 53, for instance, requires it blank or set to the domain name. Copy theTXTvalue in full — the docs note it “is unique to your domain, so copy it rather than typing it”, and a truncated paste fails silently. - 03
Step 3 — Keep the records unproxied (DNS only)
On a normal connection, do not enable proxying on Lovable’s records and do not point them at a CDN or reverse proxy. If you do, the setup does not complete — Lovable is reading back your proxy’s address instead of its own. On Cloudflare that means the gray cloud (DNS only), not the orange one. Cloudflare error 1001 or 1003 on the domain is the same misconfiguration observed from Cloudflare’s side.
If you genuinely want Lovable behind your own CDN, that is a different connection flow, not a variation of this one: enable Advanced → Uses Cloudflare or similar proxy while connecting the domain. Lovable then uses a
CNAMEpointing at your project’s published address instead of the A record, so publish the project before you connect. - 04
Step 4 — Publish the project, then read the status
Publish the project: the domain serves the published app, and in proxy mode the
CNAMEpoints at the published address, so it has to exist first.From here the status in the project’s Domains tab is the diagnostic. Setting up domainwith “Looking for your DNS records” means Lovable cannot see the records yet: check them with
dig(below) before you wait any longer. “DNS records found, waiting for them to take effect” means stop editing. “Finishing up” is the certificate. Needs attention means Lovable found a connection problem: open the setup instructions, or select Try to fix if your provider supports automatic repair. Activemeans done. If the certificate has not been issued after 72 hours, Lovable’s docs say to contact Lovable Support. - 05
Step 5 — Fix what the new hostname broke
Sign-in is the usual casualty. Your app’s auth redirect URLs still list the old hostname, so the login round-trip returns to a URL that is no longer the one the user is on. Add the new domain under Cloud → Users → Auth settings → Advanced.
Then check
www. When you connect a root domain, “The Redirectwww.yourdomain.com→yourdomain.comoption is enabled by default”, andwwwhas its own records: anArecord namedwwwand a verificationTXTrecord named_lovable.www. Add those too, or disable the option to connect only the root domain. When both work, the status reads Activewith “www included”. A domain bought through Lovable gets the root andwwwset up automatically. (Lovable docs, read 21 Nov 2026.)
DNS is correct but Lovable is still setting up the domain
Your registrar’s control panel is not the thing Lovable reads. Lovable queries public DNS, so the only check that settles the argument is a resolver query from outside your account. Run these four against the exact host you connected — each one has a single correct answer, and the first one that disagrees is your bug:
dig +short A yourdomain.com— must return the IP address Lovable’s setup window shows for that domain, and nothing else. Older guides, and this page until 21 Nov 2026, give185.158.133.1as that value; Lovable’s docs no longer publish a fixed address, so compare against the window, not against a guide. Two addresses means a leftover record is still in the zone.dig +short AAAA yourdomain.com— must return exactly what the setup window lists: the IPv6 value if it lists anAAAArecord, nothing if it does not. Any other answer is a record Lovable did not provide, and it is why the domain works for some visitors and not others.dig +short TXT _lovable.yourdomain.com— must return one string beginninglovable_verify=, complete to the last character. The value is unique to your domain, and a truncated paste fails silently.dig +short CNAME yourdomain.com— must return nothing on a standard connection. ACNAMEhere means you are on the proxied setup, which is a different flow with different records.
Two answers are worth interpreting rather than fixing. If the TXT query returns nothing but dig +short TXT _lovable.yourdomain.com.yourdomain.com returns your value, the DNS panel appended your domain to what you pasted — put _lovablealone in the host field, not the fully-qualified name. And if every query returns the right answer while the progress line still reads “Looking for your DNS records”, you are inside the window rather than broken: select Check again, and the next paragraph is the number that tells you when to stop waiting.
How long is “not propagated yet” before it is actually misconfigured?
This page used to give a one-hour rule: an “Unable to verify” status that Lovable’s docs defined as verification not completing within one hour. Lovable’s current docs (read 21 Nov 2026) no longer list that status or any one-hour cut-off for a domain connected from another provider. The number they give is this: “DNS changes may take up to 72 hours to propagate, though most updates are live within a few hours.” A domain bought through Lovable “usually finishes within an hour”.
So the clock is a poor test; digis a good one. If a public resolver already returns exactly the records the setup window shows, the remaining wait is Lovable’s, and editing records that are already right only gives DNS a new change to spread. If it returns anything else — a second address, a stray AAAA entry, a truncated or doubled TXThost, a proxied address — the domain is misconfigured, at any hour. The 72-hour figure also marks the escalation point for the certificate: if it has not been issued after 72 hours, Lovable’s docs say to contact Lovable Support.
The domain resolves but HTTPS fails — the certificate path
A domain that answers on http:// and errors on https://has passed the first gate and stalled on the second. DNS and certificate issuance are separate steps with separate failure modes, and the progress line names the second one: “Finishing up” is Lovable completing the connection checks and securing the connection with an SSL certificate. Lovable generates and installs that certificate itself — “when you connect a custom domain to your Lovable app, we automatically generate and install an SSL certificate for it” — and sets one escalation point: if it has not been issued after 72 hours, contact Lovable Support.
Here is the thing worth knowing before you spend three days waiting: Lovable’s docs now name the certificate authorities it uses (this page said they did not until 21 Nov 2026). That is normally an irrelevant detail. It stops being irrelevant the moment your zone contains a CAA record, because a CAArecord is an allow-list of certificate authorities and it is enforced against whoever is issuing. RFC 8659 puts the obligation on the CA in normative terms: “a CA MUST NOT issue a certificate unless the CA determines that either (1) the certificate request is consistent with the applicable CAA RRset or (2) an exception specified in the relevant CP or CPS applies.” Let’s Encrypt, as one published example, “checks CAA records before every certificate we issue” and identifies itself in those records as letsencrypt.org.
The consequence is specific and it is the reason this failure is so hard to read from the outside: with a restrictive CAArecord in place, every DNS check on this page passes, the setup does not get past “Finishing up”, and nothing in the zone looks wrong. Three moves, in order:
- Run
dig +short CAA yourdomain.com. An empty answer clears this whole line of enquiry — with noCAArecord, “every public CA is allowed to issue certificates for any domain name in the public DNS, provided they validate control of that domain name.” - A non-empty answer is the suspect. Lovable’s docs say to “add
CAArecords that allow at least one of the certificate authorities Lovable uses”, and list them:0 issue "pki.goog",0 issue "letsencrypt.org"and0 issue "ssl.com". Add at least one of them next to your existingissueentries; you do not need to delete theCAAset. (Lovable docs, “Connect a domain from another provider”, read 21 Nov 2026.) - Stop removing and re-adding the domain to force another attempt. Certificate authorities rate-limit failed attempts, and the published limits are tight enough to matter within a single afternoon: Let’s Encrypt, one of the three authorities Lovable lists, allows “up to 5 authorization failures per identifier … every hour”, refilling at one every twelve minutes, and “up to 5 certificates … per exact same set of identifiers every 7 days”. Treat repeat attempts as a finite budget rather than a free action.
One symptom belongs to a different page. If HTTPS works and the site loads but the deployed build behaves unlike the editor, the certificate is not your problem — that is the preview works but production breaks failure, which has nothing to do with DNS.
Does removing and re-adding the domain reissue the certificate?
It is the reflex, and it is rarely the fix. The repair actions Lovable’s current docs name are Check again and, where your DNS provider supports automatic repair, Try to fix; for a certificate that has not been issued after 72 hours, the docs point you to Lovable Support. Deleting and re-adding starts the connection checks from the beginning against the same records, so if a record was wrong it is still wrong.
There is one case where reconnecting is the documented move: changing the kind of connection. To put Cloudflare’s proxy in front, the docs say to disconnect the domain and connect it again with Advanced → Uses Cloudflare or similar proxy enabled; “Lovable then asks for a single CNAMErecord instead.” Reconnect to change the setup, not to retry it.
What custom nameservers change, and the labels in the workspace domain list
A domain bought inside Lovable and a domain connected from elsewhere fail differently, and the fork is nameservers. “By default, Lovable manages the DNS for domains bought through Lovable using Lovable’s nameservers” — which is why those domains never show you an A record to get wrong. Switching that off is a one-line change with a wide blast radius: “when you switch to custom nameservers, Lovable stops managing the domain’s DNS. You become responsible for every DNS record at your provider.”
Every record on this page becomes yours to maintain at that point — the A record (and AAAA record, where Lovable lists one) with the values Lovable shows, the _lovable verification TXT, no stray records from an old host, and any SPF, DKIM or DMARC records your app needs to send mail. It also means nothing warns you when one of them is dropped by a zone import or a provider migration. The workspace-wide domain list, where Lovable-bought domains live, uses its own labels (Lovable docs, read 21 Nov 2026):
| Label in the workspace domain list | What Lovable documents it as | What it means for you |
|---|---|---|
| Waiting for DNS | Lovable is waiting for the domain to start using Lovable's nameservers. | Check the nameservers at the registrar. There is no record to fix until the domain uses Lovable's nameservers. |
| Setting up | Listed as a label; the setup stages are those of the project Domains tab above. | Wait. A domain bought through Lovable usually finishes within an hour. |
| Connected | Listed as a label. | Done. Move on to the auth redirect URLs and anything else holding the old hostname. |
| Needs attention | Listed as a label; in the project Domains tab the same label means “Lovable found a connection problem.” | Open the domain and follow its setup instructions; if you switched to custom nameservers, the records are now yours to fix. |
| Email configured | Listed as a label. | Email is set up for this domain, which is a separate record set from the web records (see below). |
| Disconnecting | Listed as a label; in the project Domains tab it means “Lovable is removing the connection from this project.” | Wait for it to finish before changing records. |
Custom nameservers are also where a Lovable domain stops being a Lovable problem. If the reason you are reaching for them is that you want the app itself off Lovable’s hosting, the domain is the last step of that job rather than the first — the order of operations is in migrating a Lovable app to Next.js.
Registrar-specific steps: Squarespace, GoDaddy and Namecheap
The records are identical at every registrar. What differs is where the panel hides them, and — the part that actually decides whether your first attempt succeeds — how long each registrar says its own changes take. Those numbers are quoted below from each registrar’s own documentation, because the comparison is the point:
| Registrar | Where the records live | Host value for the root domain | The window the registrar itself quotes |
|---|---|---|---|
| Namecheap | Domain List → Manage → Advanced DNS → Host records → Add New Record | @ — “used to point a root domain (yourdomain.tld) to the IP address” | “Normally, it takes 30 minutes for newly created records to take effect.” |
| GoDaddy | Domain Portfolio → the domain → DNS → Add New Record → Type: A | @ — “Enter @ to put the record on your root domain” | “Most DNS changes take effect within an hour but could take up to 48 hours to update globally.” |
| Squarespace | Domains dashboard → the domain → DNS in the side panel | @ | “…it can take 24 to 48 hours for the change to your records to update.” |
Put those three numbers next to Lovable’s own — up to 72 hours, most within a few hours — and a pattern falls out that no troubleshooting thread mentions. Namecheap’s stated window is half an hour. GoDaddy’s and Squarespace’s stated worst cases — up to 48 hours, and 24 to 48 hours — run to two days. On those two registrars a domain still at “Looking for your DNS records” the next morning is a plausible outcome of a correct configuration, not proof of a wrong one. The response is to verify with digrather than to start editing: if the resolver returns the setup window’s values, select Check again and let it run. Changing records that were already right is how a short delay becomes a three-day one.
Two registrar-specific frictions are worth naming. Squarespace re-authenticates you — your password, or your second factor — before it will save a DNS edit, which is the step people abandon halfway through a cutover and then assume they completed. And Amazon Route 53, if that is where your zone lives, will not accept @ at all: the host field has to be left blank or set to the domain name itself.
What a custom domain does not configure
Email is the assumption that costs people a launch week. Lovable’s documentation is unambiguous: “hosting your app on a custom domain does not automatically configure email sending.” A Live domain proves the Arecord resolves and the certificate issued. It proves nothing about deliverability, and password resets and receipts are a separate DNS job with a separate record set — SPF, which “authorizes which servers can send email for your domain”; DKIM, which “cryptographically signs emails to prevent tampering”; and DMARC, which “defines how providers handle failed authentication and protects against spoofing”. Lovable sends transactional mail from a dedicated subdomain of your domain — it “automatically creates a transactional subdomain such as notify.yourdomain.comfor delivery” — so the records go on that subdomain, not on the host you just connected. If mail is already failing, that is its own fix: email on your custom domain needs its own DNS records.
The same is true of everything else that held the old hostname. Auth redirect URLs, OAuth provider consoles, Stripe webhook endpoints and any absolute links inside email templates all keep pointing at xxx.lovable.app until you change them, and each one fails quietly and separately. Working through that list in one pass is what a productionised deployment covers; the rest of the Lovable failure set is catalogued under other Lovable production problems.
What happens to the lovable.app URL and its indexed pages after cutover
This is the part of a Lovable custom-domain cutover that nobody in this search result covers, and it is the part with lasting consequences. The xxx.lovable.appproject URL cannot be removed — Lovable states there is currently no way to take it off a project. It keeps resolving, keeps serving your app, and stays eligible to be indexed alongside your real domain.
Setting a primary domain does not consolidate that away either. When a primary domain is set, every other connected domain redirects to it using a 302 temporary redirect, and Lovable is explicit that its hosting does not support 301 permanent redirects between connected project domains — deliberately, because the primary domain is a reversible setting. A 302 tells a search engine to keep the original URL, which is the opposite of what you want on a permanent move. Treat consolidation as an on-page job instead: set a self-referencing canonical tag on your custom domain and make every internal link, sitemap entry, and Search Console property point at it, because the redirect will not do the consolidating for you.
If the cutover has to land on a fixed date — a launch, a campaign, a client demo — the safer move is to hand the cutover to an engineer, so the zone edit, the sweep of records Lovable did not provide, the proxy setting and the auth redirect list are all done in one sitting instead of discovered one at a time across three separate rounds of waiting for DNS.
Send your app URL. A senior engineer records a 10-minute teardown.
Free, and fully async — no call to book. A senior engineer walks your app on video: what’s broken, what’s risky, what to fix first. In your inbox within 24 hours. Want the code read line by line instead? Send the repo for the $49 audit.
Why do AI-built apps hit Lovable custom domain not working —?
Lovable does not hand your domain to your Vercel account, and this is where most Lovable custom-domain guides go wrong. Lovable’s documentation asks for an Arecord with “the IP address Lovable shows for that domain” — its own hosting, not Vercel — plus a TXT record at host _lovable starting lovable_verify=, and then issues the certificate itself. Anything you were told about 76.76.21.21, cname.vercel-dns.com, or a Vercel project dashboard applies to an app you have already migrated off Lovable, not to a Lovable-hosted one. The docs are explicit that a certificate sitting at your registrar is not used: “any SSL certificate at your external registrar is not used by Lovable’s hosting.”
An AAAArecord is where old advice, this page’s included, now does damage: until 21 Nov 2026 this page told you to remove every AAAArecord. Lovable’s current docs say the opposite when the setup window lists one: “If Lovable also lists an AAAArecord, add it as well”, and “Keep an AAAArecord when Lovable provides it.” The AAAArecords to remove are the ones Lovable did not provide — and “Some DNS providers add an AAAArecord to a new domain automatically.” A stray one sends browsers that prefer IPv6 to whatever it points at, so the domain looks half-migrated and behaves differently on different networks. The Arecord can be perfect and the symptom persists. (Lovable docs, “Connect a domain from another provider” and “Set up a custom domain”, read 21 Nov 2026.)
Proxying breaks the connection rather than serving. On a normal connection Lovable’s docs say to “set the records for your Lovable domain to DNS only(gray cloud)” instead of Proxied. Leave the orange cloud on and the setup never completes, because the address Lovable reads back is Cloudflare’s, not its own. Cloudflare error 1001 or 1003 on the domain is the same fault seen from the other side — those come from Cloudflare’s proxy, not from Lovable. Running Lovable behind a CDN is supported, but it is a different setup: you enable Advanced → Uses Cloudflare or similar proxywhen connecting, and “In proxy mode Lovable uses a CNAME record instead of an A record”, pointing at your project’s published address — so publish the project first.
A stale record from the previous host is the fourth cause. At the hostname you are connecting, Lovable asks you to “remove any A, AAAA, or CNAMErecord that Lovable did not provide”, because records from a previous host “can send some or all visitors there instead of your app”. Keep your MX records: they carry your email, not your site.
“Added my domain 3 days ago, still getting 'Site can't be reached'”
Diagnose Lovable custom domain not working — by failure mode
Lovable shows a status for the connection, and while it reads Setting up domaina progress line names the stage. Both are a better diagnostic than the browser error. Read them in the project’s Domainstab and match the row below before touching a single DNS record. The labels are the ones Lovable’s docs list for the project Domains tab, checked on 21 Nov 2026. They changed after this page’s August 2026 check, so older guides (and this page before 21 Nov) use names such as “Verifying”, “Stalled” and “Offline” that the domain panel no longer documents. “Verifying” and “Live” now appear only on the publishing-domain card. The workspace-wide domain list uses a slightly different set; it is further down.
| Lovable status | What it actually means | The fix | Wait, or act? |
|---|---|---|---|
| Setting up domain · Preparing | Lovable is preparing the connection | Nothing yet | Wait |
| Setting up domain · Looking for your DNS records | Lovable cannot see the records yet: they are missing, on the wrong host, or not visible to public DNS yet | Run the dig checks below against the records in the setup window. If an answer differs, fix that record; if all match, select Check again | Act if dig disagrees with the setup window; otherwise wait (Lovable: up to 72 hours, most within a few hours) |
| Setting up domain · DNS records found, waiting for them to take effect | The records are right and Lovable is waiting for them to take effect | Stop editing records: they are already right | Wait |
| Setting up domain · Finishing up | Lovable is completing the connection checks and securing the connection with an SSL certificate | If it does not finish, check for CAA records that leave out Lovable's certificate authorities (section below) | Wait; contact Lovable Support if the certificate has not been issued after 72 hours |
| Needs attention (next to the domain or its www address) | Lovable found a connection problem | Open the setup instructions and compare each record with dig; select Try to fix if your DNS provider supports automatic repair. When the label sits next to the www address, check the www records (an A record named www and a TXT record named _lovable.www) | Act |
| Active (with “www included”) | Lovable has finished setting up the connection; “www included” means the www address is active too | Nothing on the domain. Fix what the new hostname broke: auth redirect URLs, webhook endpoints, hard-coded links | Done — move to the cutover checklist |
| Disconnecting | Lovable is removing the connection from this project | Nothing at your DNS provider until it finishes; then remove the records if the domain should no longer point at Lovable | Wait |
Related errors we fix
Still stuck with Lovable custom domain not working —?
If your domain has been pending for days, or you need launch-day certainty, we handle the DNS and Vercel configuration end-to-end:
- →The domain is still 'Setting up domain' hours after the records went in, and they look right
- →The certificate still has not issued and you are near Lovable's 72-hour support point
- →You're on Cloudflare and can't figure out proxy vs DNS-only
- →You have a launch deadline and need this working today
- →You want the lovable.app URL consolidated properly, not left indexed behind a 302
Lovable custom domain not working — questions
Do I use an A record or a CNAME for a Lovable custom domain?+
How long should a Lovable custom domain take before I assume it is broken?+
Why does my Lovable domain show my old site after I pointed it correctly?+
Does removing and re-adding the domain force a new SSL certificate?+
Can I use Cloudflare in front of a Lovable app?+
What happens to my xxx.lovable.app URL after the custom domain goes live?+
Why did sign-in break after I connected the custom domain?+
Is a Lovable custom domain free, or does it need a paid plan?+
My Lovable domain loads over http but https fails — what is blocking the certificate?+
What changes if I switch my Lovable domain to custom nameservers?+
How much does a deployment fix cost?+
Ship the fix. Keep the fix.
Emergency Triage restores service in 48 hours. Break the Fix Loop rebuilds CI so this error cannot ship again.
Hyder Shah leads Afterbuild Labs, shipping production rescues for apps built in Lovable, Bolt.new, Cursor, Replit, v0, and Base44. our rescue methodology.
Lovable custom domain not working — experts
If this problem keeps coming back, you probably need ongoing expertise in the underlying stack.
Sources
- Lovable docs — Set up a custom domain (record types, AAAA kept when Lovable provides it, project and workspace domain labels, setup stages, www for bought domains, CAA, 72-hour certificate escalation; read 21 Nov 2026)
- Lovable docs — Connect a domain from another provider (A record = the IP Lovable shows; add a listed AAAA; _lovable TXT; www redirect on by default; DNS only; proxy-mode CNAME; CAA values pki.goog, letsencrypt.org, ssl.com; read 21 Nov 2026)
- Lovable docs — Launch your site on a custom domain (record table, TTL 300, _lovable.www, remove records Lovable did not provide, keep MX; read 21 Nov 2026)
- Cloudflare — DNS-only vs proxied records
- Lovable docs — Custom emails (a custom domain does not configure email sending; SPF, DKIM, DMARC; the notify. transactional subdomain)
- RFC 8659 — DNS Certification Authority Authorization (a CA MUST NOT issue unless the request is consistent with the CAA RRset)
- Let's Encrypt — CAA (checked before every certificate issued; the letsencrypt.org issuer identifier; no CAA record means any public CA may issue)
- Let's Encrypt — Rate limits (5 authorization failures per identifier per hour; 5 certificates per exact set of identifiers per 7 days)
- Namecheap — How can I set up an A (Address) record (Advanced DNS path, @ for the root domain, 30-minute stated window)
- GoDaddy — Add an A record (Domain Portfolio → DNS path, @ for the root domain, up to 48 hours stated globally)
- Squarespace — Edit your domain's DNS records (DNS side panel, re-authentication before saving, 24 to 48 hours stated)