https://yourdomain.com, its other addresses redirect there, and search engines index it under your domain. The guide follows five steps: publish, choose how to get your domain, wait for the domain to go live, test the site, and help people find it.
Before you start, check that you have:
- A project you are ready to share. Lovable publishes the current version of your project.
- Editor access or higher on the project. By default, editors and above can publish and connect domains.
- A paid plan for the custom domain. Publishing itself works on all plans.
- Workspace admin or owner permissions if you want to buy a domain through Lovable or edit its DNS records.
Publish your project
When you publish, Lovable deploys a snapshot of your project to a live URL. The Publish dialog does not use credits and works when your credit balance is zero. Your site stays live indefinitely.Click Publish
Check the website address
lovable.app under Website URL. To change it, click the address or its pencil icon, edit it, and confirm with the check mark.Review the security scan
Click Publish in the dialog
Choose how to get your domain
Your app is live at[url-subdomain].lovable.app, an address formed from your project’s URL subdomain. A custom domain replaces that address with your own.
Two terms appear on every path. DNS (Domain Name System) tells browsers where your domain points. The company that manages your domain stores its DNS records, and setting up a domain means adding or changing those records. An SSL certificate is what lets your site load over a secure HTTPS connection, shown by the padlock icon in the browser. Lovable creates the certificate for you on every path.
You can take one of three paths:
- Buy a domain through Lovable
- Connect a domain you already own
- Transfer a domain to Lovable
Start the purchase
Choose a domain
Choose the term and renewal
- Choose how many years to register the domain. The dropdown shows 1 year term by default, and most domain extensions (the ending, such as
.com) allow up to 10 years. - Check the expected renewal price and date, shown before you pay.
- Keep Auto-renew enabled so the domain renews automatically and your site stays online.
Enter your registration details
- Click Registration details.
- Fill in the contact information required by ICANN, the organization that manages domain registration worldwide.
- Click Save.
Complete checkout
- Click Confirm purchase. Lovable sends you to Stripe.
- Pay in Stripe. Lovable returns you to the Domains tab, where a dialog shows Registering domain and then Domain registered.
- Click Done.
yourdomain.com and www.yourdomain.com to your project. You do not need to change any settings elsewhere.Confirm the registrant email
Wait for the status to show Live
lovable.app URL and every domain you connected. The first custom domain you add becomes the primary domain automatically, and once it is Live, Lovable redirects every other address to it. The exception is a project that already has a primary address, for example a branded workspace URL. To make a different domain primary later, open the three dots menu next to a Live domain in Project → Settings → Domains and click Set as primary. For how redirects work, see Primary domain.
Test your live site
Check the result as a visitor sees it. Open a private browser window, so that cached pages do not affect the result, and check three things:- Your domain shows your app. Open
https://yourdomain.com. Your published app loads with the padlock icon in the address bar, which means the SSL certificate is active. If the browser shows a connection warning or an error page instead, check that the domain status is Live in Project → Settings → Domains and that your project is published. - Your other addresses redirect. Open your
lovable.appaddress, andwww.yourdomain.comwhen it shows Live as well. Both redirect to your primary domain. - Sign-in and forms work. If your app has accounts, sign in once on the new domain. If your app saves data, for example through a form, submit one entry and check that it saved. The Troubleshooting section covers what to do when sign-in fails.
Help people find your site
Your site is live and tested on your domain. Three follow-ups bring visitors to it, and the first two happen in the same place: the SEO & AI search tab.-
Run an SEO and AI search review. SEO (search engine optimization) is what makes your site appear in Google, and AEO (answer engine optimization) is what makes it appear in answers from AI assistants such as ChatGPT. The review checks both, lists what it finds, and offers to fix most of it. Some checks only run against the live site: indexing, Google Search Console setup, and AI-search readiness. Two ways to run it:
- Open More → SEO & AI search. The first review starts when you open the view. If it does not, click Scan project. For later reviews, click Scan again.
- Ask Lovable in chat to run an SEO review and confirm the Run SEO review card.
-
Set up Google Search Console from the review. Google Search Console is Google’s free tool that shows how your site appears in Google Search. Google needs to verify that you own the domain and to receive your sitemap, the list of your pages that Google reads. Among the review’s findings, look for Google Search Console isn’t fully set up and click Try to fix. Lovable connects the Google Search Console connector if needed, verifies the site, and submits the sitemap from chat. Lovable asks you to approve the connection and, when the site needs republishing, the publish. When it is done, the finding reads Google Search Console is set up.
To verify without the connector, add the
TXTrecord Google gives you at your DNS provider. For a domain bought through Lovable, add it under Workspace settings → Workspace domains → Configure → DNS records. - Check how your pages appear in search results and link previews. Open the page selector in the address bar above the preview. Each page shows a Social and a Search preview. To change a title, description, or social sharing image, click Ask Lovable to edit. Lovable prepares the request in chat for you.
FAQ
These entries cover the questions this journey raises. The custom domain FAQ and the publish FAQ answer everything else, from TLS versions to what happens when a domain expires.What does launching on a custom domain cost?
What does launching on a custom domain cost?
- Publishing does not use credits, and the live site does not use credits on its own. Apps with a backend or AI features use credits as visitors use them. See Credits and usage.
- A custom domain requires a paid plan.
- Connecting a domain you already own adds nothing to your Lovable bill. You keep paying your current registrar for the domain.
- Buying a domain through Lovable costs the yearly price shown before checkout, in US dollars, and renews at the renewal price shown on the order page. Lovable bills the domain separately from your subscription.
- Transferring a domain to Lovable costs the transfer fee shown after the eligibility check, which includes a year of registration, and then renews yearly.
Can I use a subdomain instead of the root domain?
Can I use a subdomain instead of the root domain?
blog.yourdomain.com or app.yourdomain.com instead of the root domain. You add and configure each subdomain individually, and different subdomains of the same domain can serve different projects.What happens to the domain if I downgrade my plan?
What happens to the domain if I downgrade my plan?
Troubleshooting
These are the problems people encounter most often on this journey. For every other domain status and error, see Troubleshooting domains from other providers and the publish troubleshooting section.My domain shows my old website instead of my Lovable app
My domain shows my old website instead of my Lovable app
A, AAAA, or CNAME records from your previous host.What to do: Remove the old A, AAAA, and CNAME records for the address you are connecting, so that only Lovable’s A record (185.158.133.1) and the verification TXT record remain, then wait for the change to take effect. Leave MX and other record types in place, so email and other services on your domain keep working.My domain status changed from Verifying to Unable to verify
My domain status changed from Verifying to Unable to verify
TXT value, then click Check status. To see what the internet currently returns for your domain:- Open dnschecker.org.
- Enter
yourdomain.com, choose theArecord type, and look for185.158.133.1. - Enter
_lovable.yourdomain.com, chooseTXT, and look for yourlovable_verify=value.
I don't know where to add the DNS records
I don't know where to add the DNS records
- Open dnschecker.org.
- Enter your domain and choose the
NSrecord type. - Note the company named in the results. That is where you add the records.
I see a Cloudflare error 1001 or 1003 on my domain
I see a Cloudflare error 1001 or 1003 on my domain
- In Cloudflare’s DNS settings, set the records for your Lovable domain to DNS only (gray cloud) instead of Proxied (orange cloud), then wait a few minutes and try again.
- To keep Cloudflare’s proxy in front of your site, disconnect the domain and connect it again with Advanced → Uses Cloudflare or similar proxy enabled. Lovable then asks for a single
CNAMErecord instead. See Use a CDN or reverse proxy.
Sign-in fails on the new domain
Sign-in fails on the new domain