← All guides

Lovable Custom Domain Not Working? DNS, SSL and Cloudflare Fixes

LovableBoltBase44

You connected your own domain to a Lovable project, and it won’t go live. Maybe the Domains tab is stuck on Setting up domain, the certificate never arrives, visitors land on your old website, or Cloudflare puts an error page in front of the app. Each of those has a different cause, and the fix for each one sits in your DNS records, your Cloudflare settings or your Lovable domain settings rather than in your app’s code.

This guide walks through what Lovable expects to find in DNS, how to read each symptom, and how to fix it at your DNS provider. The last sections cover the same problem on Bolt and Base44, and what to do when sign-in breaks once the domain works. Related: Lovable app not working. Tool pages: /fix/lovable, /fix/bolt, /fix/base44.

Before you touch DNS: three checks in Lovable

Is the project published? Lovable lets you add a domain whenever you like, yet the domain serves nothing until you publish. An Active domain on an unpublished project still shows nothing (Lovable: custom domains).

Are you on a paid plan? Connecting a domain needs a paid plan. If the workspace drops to Free, existing connections keep serving, but new connections are blocked, including a domain your workspace already holds (Lovable: custom domains).

What does the status line say? Open Project → Settings → Domains and read the message under the domain. The progress stages tell you where setup stopped:

Stage shownWhat it means for you
Looking for your DNS recordsLovable can’t see the records yet. Compare them with Setup instructions.
DNS records found, waiting for them to take effectYour records are right. Other networks are still catching up.
Issuing certificateDNS is fine; the SSL certificate is the blocker. Check CAA records.
A warning, or Needs attention on wwwSomething is missing or wrong. Follow the warning text.

The project chat also works: ask about your domain, and per Lovable’s docs the agent replies with its state, how long it has sat there, the records it expects and whether they’re visible, plus the publish status (Lovable: custom domains).

Which records Lovable expects

For a domain registered somewhere else and connected without a proxy, the setup window lists:

  • An A record with the IPv4 address given in the setup window for that hostname.
  • An AAAA record pointing at an IPv6 address, when Lovable lists one. Keep it if it’s listed.
  • A TXT ownership record with a value starting lovable_verify=. Its host is _lovable on a root domain, and _lovable.<prefix> on a subdomain (_lovable.app when you connect app.yourdomain.com).

If the www redirect stayed on, there are separate records for the root and for www. Copy every one. The host field differs by provider: @, blank, the full domain name, or just the subdomain label. Lovable’s docs name Amazon Route 53 as a provider where you leave the host empty or type the domain itself (Lovable: custom domains).

If you lost the values, pick Setup instructions from the domain’s three dots menu, or use Set up DNS under the domain.

Wrong, old or extra A, AAAA and CNAME records

Symptom: the domain shows your old site

When a hostname has more than one A, AAAA or CNAME answer, some visitors reach the old host and some reach Lovable. This can happen even while Lovable shows Active. A leftover IPv6 record matters too: some DNS providers create an AAAA record for a new domain on their own, and devices that prefer IPv6 will follow it to the wrong server (Lovable: custom domains).

The fix:

  1. Get the exact records Lovable wants for that hostname (Setup instructions, or the project chat).
  2. Look the domain up on a public DNS checker and compare both the A and the AAAA answers with Lovable’s values.
  3. At your DNS provider, keep Lovable’s records for that hostname and delete any extra A, AAAA or CNAME at that name.
  4. Leave unrelated records alone, especially MX records that carry your email.
  5. Back in Lovable, choose Check again from the domain’s three dots menu.

Symptom: “Some DNS records for this domain are missing or wrong”

This warning means the records at your provider no longer match what Lovable needs. Try to fix attempts an automatic repair when your provider supports it; otherwise copy the records from Setup instructions by hand, then Check again (Lovable: custom domains). If an already-active domain shows an Update notice, Lovable is asking you to repoint it to a new address. The site keeps working meanwhile, but update the records so it stays that way.

SSL stuck at “Issuing certificate”: check CAA records

A CAA record names the certificate authorities allowed to sign certificates for a domain. If yours has CAA entries and none of them is one Lovable uses, the certificate can’t be issued, so the domain stalls on Issuing certificate or a warning appears.

Lovable’s docs list three issuers and recommend allowing all of them:

AuthorityCAA value
Google Trust Services0 issue "pki.goog"
Let’s Encrypt0 issue "letsencrypt.org"
SSL.com0 issue "ssl.com"

Where your provider splits the record into fields, use 0 as the flag, issue as the tag, and the issuer’s domain without quotes (Lovable: custom domains).

Look at the parent domain as well. A subdomain like app.example.com that has no CAA entries itself inherits the ones on example.com. If you can’t edit the parent, add CAA records on the subdomain itself, since those take precedence. Then select Check again.

You don’t need to buy or upload a certificate from your registrar. Lovable provides its own certificate, and one sold by your registrar isn’t used by Lovable’s hosting. Lovable’s docs say to contact its support if a certificate still hasn’t appeared after 72 hours.

Cloudflare: the orange cloud and 1xxx errors

If Cloudflare runs your DNS, the cloud icon next to each record decides whether traffic goes through Cloudflare’s proxy (orange, Proxied) or straight to the host (gray, DNS only).

Standard setup: turn the proxy off

For the normal A-record connection, Lovable asks you to keep its records pointed straight at its addresses and to disable proxying while setup completes. Its FAQ says Cloudflare errors 1001 and 1003 on a Lovable domain come from Cloudflare’s proxy rather than from Lovable, and the fix is to set those records to DNS only and try again after a few minutes (Lovable: custom domains).

Error 1000: “DNS points to prohibited IP”

Cloudflare documents several causes for this one. Two are relevant to a hosted app builder. First, an A record in your Cloudflare DNS that points at a Cloudflare IP address. Second, a record pointing at a SaaS provider that uses Cloudflare for SaaS, where the provider hasn’t configured a custom hostname for your domain; Cloudflare says that is the case in which the error is returned (Cloudflare: Error 1000).

For a Lovable domain, those causes suggest two checks: switch the Lovable records to DNS only, and make sure the domain finished connecting in Project → Settings → Domains (status Active).

Error 1014: “CNAME Cross-User Banned”

Cloudflare blocks a CNAME that points into a different Cloudflare account unless the target uses Cloudflare for SaaS (Cloudflare: Error 1014). If you see it on a Lovable domain, check that you used the records from Lovable’s setup window rather than a CNAME you made up to your-project.lovable.app.

If you want to keep Cloudflare’s proxy

Lovable can sit behind a CDN or reverse proxy you run, but you have to pick that option at connection time. In the connect dialog, expand Advanced and enable Uses Cloudflare or similar proxy. Lovable then gives you a CNAME to your project’s lovable.app address in place of the A record, with no TXT verification record, and one CNAME each for root and www if you kept the redirect. In this mode Lovable doesn’t configure, check or monitor your proxy; keeping it working is on you (Lovable: custom domains).

Switching an existing connection to proxy mode means disconnecting and reconnecting with that option enabled.

Root domain, www and subdomains

  • Root plus www. When you connect yourdomain.com, the option to redirect www.yourdomain.com is on by default. Lovable connects both and lists them together; www included appears when both are live. If www has its own warning, its records are the problem, not the root’s.
  • Only one of them. If you switched the redirect off, www isn’t connected at all. Connect it separately if you want it.
  • A subdomain. Type the whole subdomain, for example app.yourdomain.com. Each subdomain is connected on its own, and one exact domain can serve only one project; different subdomains can serve different projects.
  • Which address wins. One domain can be primary. The others redirect to it with a 302, and Lovable hosting doesn’t offer 301 redirects between project domains. The *.lovable.app address can’t be removed, but it stops being the main address once a custom domain is primary (Lovable: custom domains).

“Domain already in use” or “Domain unavailable”

Inside one workspace, Lovable won’t connect an external domain that another project still uses; disconnect it there first. If the domain lives in a different workspace, Connect anyway sets it up here, but it only goes live once the other project stops serving it. Proxy-mode connections are refused outright until the other project lets go of the domain (Lovable: custom domains).

How long to wait for DNS

Lovable’s docs allow up to 72 hours for DNS changes to spread, and say a domain bought through Lovable takes anything from a few minutes to several hours to finish setup. While you wait:

  • Use a public DNS checker to see what resolvers around the world return for your hostname.
  • Test in a private window, so a cached copy of the old site doesn’t fool you.
  • Use Check again after each change instead of deleting and re-adding the domain straight away.

Waiting doesn’t fix wrong records. If the checker shows anything other than Lovable’s values, fix them first; the clock only matters once the answers are right.

Sign-in breaks on the new domain

The site loads on your domain, but login fails or bounces somewhere else. That’s an auth redirect problem, not DNS. Lovable says:

  • Built-in backend (Lovable Cloud): the domain is added to the allowed redirect URLs automatically once it becomes Active. If login still fails, ask the agent in the chat, or add it yourself at More → Users → Settings → Advanced.
  • Your own Supabase project: list the domain in that project’s Site URL and redirect URLs yourself.
  • Google sign-in that uses your own OAuth credentials: register the new domain’s callback URL in Google Cloud Console as well (Lovable: custom domains).

For the Supabase side in detail, including the “link goes to localhost” variant, see Supabase auth redirecting to localhost.

The same problem on Bolt and Base44

Bolt

Bolt now hosts published projects on Bolt Cloud, so its records differ from Lovable’s. You can only connect a domain to a published project. For a domain registered elsewhere, Bolt asks for a CNAME on www to site-dns.bolt.host, and an ALIAS-type record (ALIAS, ANAME, or Cloudflare’s flattened CNAME) on the root, aimed at that same host. If your provider has none of those, use an A record to the IP shown on Bolt’s DNS page; Bolt’s SSL page gives it as 75.2.60.5. Bolt notes that ALIAS is not AAAA, and an AAAA record won’t connect the domain (Bolt: connect your domain).

A Warning status on Bolt points to missing records, Cloudflare’s proxy being on, or old A records from a previous host. Bolt wants its records set to DNS only and warns that even one leftover A record can block the certificate. After fixing, use Ensure SSL certificate in Domains & Hosting. Bolt allows up to 24 hours for an external domain to leave Pending (Bolt: domain status and SSL).

If Bolt says another project is already using the domain, it’s still connected to a previous deployment on another hosting service. Remove it from that service’s domain settings first. And if you moved a project from Bolt hosting to Netlify, the domain doesn’t follow; reconnect it in Netlify (Bolt: domain issues).

Base44

Base44 custom domains need the Starter plan or above. For a root domain, Base44 lists an ANAME/ALIAS to base44.onrender.com, with A → 216.24.57.1 as the fallback where your provider lacks ALIAS, plus a CNAME on www to base44.onrender.com. A subdomain takes just one CNAME to that host (Base44: connecting an external domain).

Two Base44 rules differ from Lovable’s. Base44 serves over IPv4 only and asks you to delete AAAA records on the names you connect. It also wants proxying off and no CAA records that block the certificate authorities it uses. Give DNS as long as 48 hours; if a domain still won’t verify, a WHOIS lookup shows whether the registrar put it on clientHold or serverHold. A domain that a different workspace used before can be claimed with a TXT record at _b44-verify.yourdomain.com (Base44: connecting an external domain; Base44: domains overview).

FAQ

How long does Lovable domain verification take?

Lovable allows up to 72 hours for DNS changes. If the records are correct and the stage reads DNS records found, waiting for them to take effect, waiting is the fix. If it still reads Looking for your DNS records, your records don’t match yet.

What is “DNS points to prohibited IP”?

It’s Cloudflare’s Error 1000. On a hosted app it points to a proxied record or a hostname the host hasn’t finished setting up. Set the records to DNS only and confirm the domain is Active in Lovable.

Should the Cloudflare proxy be on?

Not for the standard connection. Set Lovable’s records to DNS only. Turn the proxy on only if you connected the domain with Uses Cloudflare or similar proxy, and accept that you then maintain the proxy setup yourself.

Why can’t users sign in on my domain?

The new domain isn’t in the auth redirect list. Lovable Cloud adds it once the domain is Active; your own Supabase project and your own Google OAuth app need it added by hand.

Can I use a subdomain?

Yes. Type the whole subdomain, for example app.yourdomain.com, when connecting. Each subdomain is connected separately, and its TXT host becomes _lovable.<prefix>.

When the records look right and it still won’t go live

If the DNS checker matches Lovable’s values, CAA allows its issuers, the proxy is off and the domain still won’t settle, or sign-in breaks only on the new address, a senior engineer can trace the domain, certificate and auth redirects end to end. Fixed price, agreed upfront.

Comments

Add a comment

Generated for you. Click to type your own.

Required. Never shown on the page. Privacy policy.

Basic markdown: **bold**, *italic*, `code`, lists, quotes, and fenced code blocks. HTML shows as plain text.

Your draft stays on this device until you post.