Skip to content
Every tutorial here is 100% free — and always will be
LSLovableStudent

How do I connect my own domain to Lovable?

Last checked 31 Aug 2026

Short answer

In Project settings, go to Domains, add your domain, and create the DNS records Lovable gives you (usually an A record or CNAME) at your domain registrar or DNS host — then wait for verification, which can take anywhere from minutes to a few hours.

Steps

  1. Open Project settings → Domains in your Lovable project.
  2. Add the domain you own (buy one first with any registrar if you don't have one).
  3. Lovable shows you the DNS records to add — typically an A record (for the root/apex domain) and/or a CNAME (for a subdomain like www).
  4. Log in to wherever your domain's DNS is managed (your registrar, or Cloudflare, etc.) and add those exact records.
  5. Return to Lovable and wait for it to verify — DNS changes can take from a few minutes up to 48 hours to propagate, though it's usually much faster.

Show me the DNS records I need to add to connect mydomain.com to this project.

Before you start

  • You need to already own the domain (via any registrar — Lovable doesn't sell domains directly inside the product for all setups, so check what's shown in your Domains tab).
  • Publish your project first — a custom domain points at a published app.

What usually goes wrong

  • Adding the records at the wrong place (e.g. editing DNS in the registrar's dashboard when the domain's nameservers actually point to Cloudflare, so changes there are ignored).
  • Conflicting existing records (an old A record for @ left in place alongside the new one).
  • Not waiting long enough — DNS propagation isn't instant; give it time before assuming it's broken. If it's genuinely stuck, see why-isn-t-my-custom-domain-connecting.

For the exact record types, see what-dns-records-does-lovable-need. For Cloudflare specifically, see how-do-i-connect-a-cloudflare-domain-to-lovable.

Sources

Was this answer helpful?

Next step

Related questions

Related troubleshooting

Related questions

Website made, maintained and hosted by PromptSites.com

PromptSites logo