Lovable custom domain not working: stuck pending, no SSL, or www fails
Updated · by Zane
Start with the status, not the records
Open your project, then Settings, then Domains. Each domain has a status badge, and Lovable's documentation describes what each one means and what to click. Most people skip this and start editing DNS at random. The badge tells you which of the two jobs failed: proving that you own the domain, or issuing the security certificate.
- Verifying or Unable to verify. Lovable is still waiting for your A and TXT records. The documentation says Unable to verify appears when verification did not finish within one hour, and usually means the records are wrong or still spreading. Click Check status.
- Setting up, Stalled or Failed. Ownership is proven and the certificate is being issued. Until it is ready, browsers show a security warning instead of your site. For Stalled or Failed, the documentation says to click Retry, without removing the domain.
- Ready. The domain is fine but the project is not published. Publish it.
- Offline, Removed or Connection issue. The domain worked, or was connected elsewhere, and something changed. The warning under the domain says what Lovable found.
- Check failed. Lovable could not run its check. The documentation says not to change your DNS because of this status alone.
What Lovable expects to find
For a domain bought elsewhere, Lovable's documentation lists these records:
- An
Arecord pointing the domain to Lovable's address, currently shown in the docs as185.158.133.1. Copy the value from your own Domains screen, not from this page. - A
TXTrecord with the host_lovable(or_lovable.wwwfor www) and a value starting withlovable_verify=. - No
AAAArecord, because the documentation says it can interfere with setup and send traffic to the wrong place. - No
CAArecord that blocks Lovable's certificate authorities.
For a domain bought through Lovable, the documentation says these records are created automatically and a new domain normally shows Pending for a few minutes up to several hours.
Step 1: confirm the project is published
Lovable's documentation says you can connect a domain at any time, but it serves nothing until you publish. Open the lovable.app address of the project. If it is blank or broken, connecting a domain will not fix it. See blank page after publishing first. Also note that connecting a new domain needs a paid plan.
Step 2: compare your records with what Lovable asked for
Log in where your DNS is managed. That is the registrar where you bought the domain (GoDaddy, Namecheap and similar), or Cloudflare if you moved the nameservers. Compare each record with the setup window in Lovable.
- A truncated TXT value. Lovable's status table specifically tells you to check the full TXT value. Some DNS screens cut long values or add quotes.
- Old records for the same host. Remove any leftover A, AAAA or CNAME from a previous site or a parking page, so that only Lovable's A record and the TXT record remain. The documentation gives this as the reason a domain shows your old site.
- The host field. For the plain domain it may need to be
@, left blank, or the full domain name, depending on the provider. The documentation names Amazon Route 53 as one that wants it blank. - Records added in the wrong place. If you changed nameservers to Cloudflare or another provider, records in the old registrar's DNS page are ignored.
Then check from the outside, not from the registrar's own screen. Go to dnschecker.org and look up the A, TXT and AAAA records. Or in a terminal:
# Which address does the domain point to? (use your own domain)
dig +short A yourdomain.com
# Any IPv6 (AAAA) record left over? This should print nothing
dig +short AAAA yourdomain.com
# The ownership record (the host is _lovable)
dig +short TXT _lovable.yourdomain.com
# Any CAA rules that could block the certificate?
dig +short CAA yourdomain.comStep 3: the certificate step (Setting up, Stalled, Failed)
CAA records
A CAA record limits which companies may issue certificates for your domain. Lovable's documentation says these records can block the certificate, and recommends allowing all three authorities it uses: Google Trust Services (pki.goog), Let's Encrypt (letsencrypt.org) and SSL.com (ssl.com). Check the parent domain too, since a subdomain inherits CAA from it. Then click Retry in the Domains screen.
Cloudflare's orange cloud
If Cloudflare manages the domain, the A record must show a grey cloud (DNS only) while Lovable verifies. Lovable's documentation says that enabling the proxy on the provided A record leaves the domain in Verifying, and that Cloudflare errors 1001 and 1003 come from the proxy, not from Lovable. If you want to keep the orange cloud, there is a separate proxy setup, covered in the Cloudflare redirect guide.
Step 4: www and the plain domain are separate
According to Lovable's documentation, when you connect yourdomain.com the box to also connect www is on by default, and www appears as its own entry with its own A record (host www) and its own TXT record (host _lovable.www). Both entries show Action required until you click Complete setup for each. If you turned the option off, www shows Not connected until you click Connect.
Once both are Live, the first domain you add becomes the primary domain, and the other addresses redirect to it. The documentation says this redirect is a temporary 302, and Lovable does not support a permanent 301 between its own connected domains. So if you see www bouncing to the plain domain, that is intended. If you set up your own redirect at Cloudflare or your registrar as well, the two can fight each other.
Step 5: if it still will not go live
- Ask in the Lovable project chat about the domain. The documentation says it reports the state, how long it has been there, which records it expects and whether it can see them.
- Try removing and re-adding the domain, which the documentation lists as a last self-service step.
- If the same domain was used by another project, the documentation says this can produce Connection issue until it is disconnected there.
- After 72 hours with correct records on a lookup tool, contact Lovable support with the lookup result.
Once it is Live: check sign-in
A new domain can break login even when the site loads. Lovable's documentation says apps on its built-in backend get the domain added to the sign-in redirect list automatically, but apps with their own Supabase project need it added by hand. See login redirects after publishing, and reset links that do not work if only the password reset email is affected.
Test the fix
- The Domains screen shows Live for the plain domain and for www.
- Open both in a private window and confirm they load over https with no warning.
- Open the lovable.app address and confirm it forwards to your primary domain.
- Sign in and confirm you stay on the custom domain.
The second video on the home page shows a fix like this, from a failing deploy to a working launch on a custom domain. The same kind of problem on other tools is covered in Replit custom domain not working and Base44 domain pending verification.
FAQ
How long should I wait before assuming it is broken?
Lovable's documentation says DNS changes can take up to 72 hours, though most are live within a few hours. It also says Verifying turns into Unable to verify after one hour without a match. Lovable does not publish a longer deadline, but if the records already look right on a lookup tool, waiting longer will not change anything. Click Check status and read the status instead.
Is my app down while the domain is not working?
Not because of the domain. The app keeps its own lovable.app address, and Lovable's documentation says you cannot remove it. If that address loads and your domain does not, the problem is in the domain setup. If that address is blank too, see the guide linked in step 1.
Why does www show an error when the plain domain works?
In Lovable the plain domain and www are separate entries, each with its own records. Lovable's documentation says that when you connect a root domain, the option to also connect www is on by default, and www is then listed as its own domain that needs its own setup. If you turned that option off, www shows as Not connected until you click Connect next to it.
Do I need to buy an SSL certificate?
No. Lovable's documentation says it issues and serves its own certificate for the connected domain, and a certificate bought from your registrar is not used. If it has not been issued after 72 hours, Lovable asks you to contact its support.
Checklist
Still stuck?
Send me the app link and what's broken. The first look is free and you get a fixed quote before I touch anything.
Related guides
- Bolt.new Stripe webhook not working after deploying to Netlify (404 or no upgrade)
- Lovable custom domain with Cloudflare: fix "too many redirects" (ERR_TOO_MANY_REDIRECTS)
- Lovable email verification not working: signup confirmation emails not arriving
- Lovable Google sign in showing redirect_uri_mismatch or an unverified app warning
- Base44 custom domain stuck on Pending verification
- Base44 payment succeeded, but the customer was not upgraded
- Lovable Stripe checkout: "Edge Function returned a non-2xx status code"
- Lovable password reset link not working or sending users to the wrong page
- Replit custom domain not working: stuck on Verifying or showing a blank page
- Is your Supabase data public? A two-minute RLS check
- Blank white page after publishing your AI-built app
- “No such price” when going live: Stripe test and live mode mixed up
- Stripe payment succeeded but the user is still on the Free plan
- Subscription cancelled in Stripe but the user still has the paid plan
- Stripe webhook signature verification failed (400): causes and fix
- Login sends users to localhost or the preview URL after publishing
- Supabase update returns no error but nothing changes