How to Connect a Custom Domain
Point your own domain at a published Lovable project, with the DNS records explained in plain terms.
Written and reviewed by Lovable Student — Independent guides, prompts and troubleshooting notes for people building with Lovable. Expert build help provided by PromptSites.com.
Published 24 Aug 2026 · Tested with Lovable as of 24 Aug 2026

Overview
A custom domain is two things: a published project, and DNS records at your registrar pointing your domain at it.
Beginner explanation: DNS is a phone book. You are adding an entry so your domain name resolves to the right place.
Technical explanation: You will typically add an A or CNAME record and wait for propagation. Until propagation completes, some networks see the old destination.
Steps
- Publish the project first.
- Add the domain in project settings.
- Copy the DNS records shown.
- Add them at your registrar exactly, with no trailing dots or extra subdomains.
- Wait for propagation and verify over HTTPS.
:::tip Check propagation from a different network or phone data before assuming it has failed. :::
What to check afterwards
- The domain loads over HTTPS
- Both the apex and www resolve as intended
- No certificate warnings
Common problems
- Records added to the wrong host field. Registrars differ in whether you enter @ or the full domain.
- Old records left in place. Conflicts cause intermittent failures.
- Testing too early. Propagation can take hours.
Where people get stuck
If you have followed the steps and the result still is not right, the fastest path is usually to describe the exact behaviour you expected, the behaviour you got, and any error text, then ask for a fix in one focused follow-up prompt. If that loop is not converging, hand it over.
Was this guide helpful?
Related questions
You might also need
- AnswerHow do I change the favicon?Ask Lovable in chat to update the favicon, and upload or link the image you want — Lovable will swap the icon file and reference it in the page head for you.
- AnswerHow do I connect my own domain to Lovable?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.
- AnswerHow do I change the social sharing image?Ask Lovable to update the Open Graph image, or edit the og:image meta tag in your page head and upload the image asset — this controls the preview card shown when your link is shared on social platforms.
- AnswerHow do I choose my primary domain?In Project settings → Domains, set which connected domain (e.g. root vs `www`, or which of several domains) is primary; Lovable serves and redirects other connected domains to that one.