LAST ZONELAST ZONE Get Key
Lovable how-to

How to Connect a Custom Domain to Lovable

Your app works on a free lovable.app address, but a real brand needs its own domain. Here is the full setup, the exact DNS records and what to do when it gets stuck.

Paid planneeded for a custom domain
185.158.133.1the A record value
Up to 72hfor DNS to spread

Connect your domain in 6 steps

  1. Publish your project first — the domain only serves the site once it is published.
  2. Open Project → Settings → Domains, or choose Add domain in the Publish window.
  3. Under Connect existing domain, click Connect domain, type your domain and choose root domain (example.com) or subdomain (app.example.com).
  4. Pick automatic setup (log in to your domain provider) or add the records yourself — see the table below.
  5. If you use www, add its own A record named www and a TXT record named _lovable.www.
  6. Go back to Lovable, check the status, and wait. Lovable adds the SSL certificate (the padlock) by itself.

The DNS records you need

TypeNameValue
A@ (root) or the subdomain, e.g. app185.158.133.1
TXT_lovable (root) or _lovable.app (subdomain)The lovable_verify=… code from the setup window
A (optional)www185.158.133.1
TXT (optional)_lovable.wwwThe verify code shown for www

Set TTL to 300 seconds or leave your provider's default. Some providers want the name left blank, or the full domain, instead of @.

Why the domain is not working yet

Root domain or subdomain?

A root domain (example.com) is best for your main website. A subdomain (app.example.com) is good when your main site lives somewhere else and the Lovable app is the product or dashboard.

When you connect a root domain, Lovable turns on the www redirect by default, so visitors who type www still land in the right place.

After the domain is live

Frequently asked questions

Can I use a custom domain on the free plan?

No. Connecting your own domain needs a paid Lovable plan. Publishing to a lovable.app address is free on all plans.

What IP address does Lovable use?

Point the A record to 185.158.133.1, plus a TXT record that starts with lovable_verify=.

How long does it take?

Often under an hour, but DNS can take up to 72 hours to spread worldwide.

Do I need to buy SSL?

No. Lovable issues the SSL certificate automatically.

Will my email stop working?

Not if you keep your MX records. Only remove A, AAAA or CNAME records that clash with the new ones.

Facts from Lovable's official documentation (docs.lovable.dev), checked October 2026. Lovable changes its product often — if a menu name differs, check the docs. LAST ZONE is an independent site and is not affiliated with Lovable.

Want more from every credit?

Get LAST ZONE through our Telegram bot.

Open the bot