Deploying a Lovable app to a custom domain requires pointing your domain's DNS records to Lovable's hosting platform. You will add an A record for your root domain and a CNAME record for the 'www' subdomain within your domain registrar's settings. Once configured, Lovable automatically verifies the domain and provisions a free SSL certificate, making your app live on your own URL.
Seeing your project on a real `.com` address is a rite of passage. It feels official. The default `your-app.lovable.dev` URL is great for building and testing, but it's fundamentally a staging link. It screams 'work in progress'.
When you are ready to share your creation with the world, you need a custom domain. It is not just a vanity project. It is the line between a hobby and a business, a demo and a product. This guide cuts through the technical jargon to give you a clear, repeatable process for getting it done. No fluff. Just the steps that matter.
Before You Start: The 'Why' of Custom Domains
Using a custom domain primarily signals professionalism and establishes your brand identity. It is the digital equivalent of having a proper business address instead of a P.O. box. A memorable domain is easier for users to find, type, and share. This directly impacts trust-if you are asking for user data or payment, a branded domain is non-negotiable. It tells users you are invested in your project for the long term.
From a technical standpoint, a custom domain gives you portable credibility. If you ever migrate your app away from Lovable in the distant future-unlikely, I know-your domain and its established search engine ranking come with you. Look, the `.lovable.dev` subdomain is a fantastic feature for development. But for launch, you need your own turf.
The Complete Workflow, Simplified
The entire process can be boiled down to a simple dialogue between you, Lovable, and your domain registrar. First, you tell Lovable the domain name you want to use. Lovable then gives you a couple of addresses-a digital fingerprint-to prove you own that domain. Next, you log in to your domain registrar (where you bought the domain) and create records that point your domain to those Lovable addresses. Finally, Lovable's systems check those records, confirm everything is correct, and automatically secure your site with an SSL certificate. That's it. The magic is really just a well-defined protocol.
Step 1: Get Your Domain Ready
To begin, you need to own a domain name and have access to its DNS settings. If you do not have a domain yet, you will need to purchase one. I recommend providers that offer clean interfaces and no aggressive upselling. My personal favorites are Namecheap and Porkbun. GoDaddy works too, but its interface can be a bit cluttered.
Once you have your domain, the only thing that matters is finding the 'DNS Management' or 'Advanced DNS' section in your provider's dashboard. This is the control panel where you will tell your domain where to send traffic. Before moving to the next step, make sure you can log in and locate this page. Have it open in a separate browser tab. You will need it shortly.
Step 2: Connect Your Domain in Lovable
Lovable's 2026 interface makes this step incredibly straightforward. Lovable uses Vercel's edge network for all deployments, which gives us enterprise-grade performance and reliability without any of the configuration headaches. The domain setup process reflects this simplicity.
Here is how to do it:
- Navigate to your app's dashboard in Lovable.
- Click on the 'Settings' tab in the main navigation.
- Select 'Domains' from the sidebar menu.
- In the 'Add a Domain' field, type in your full domain name, like `www.my-brilliant-app.com`, and click 'Add'.
Lovable will now present you with the DNS records you need to configure. It will usually suggest one of two paths:
- For a root domain (e.g., `my-brilliant-app.com`): It will provide an IP address for an A record.
- For a subdomain (e.g., `www.my-brilliant-app.com` or `app.my-brilliant-app.com`): It will provide a hostname for a CNAME record.
Keep this page open. You'll be copying these values into your registrar's DNS settings in the next step. Lovable will also show a 'Pending Verification' status next to your domain. This is normal. It will not change until we complete the next step.
Step 3: Point Your DNS to Lovable
This is the most critical step, but it is just a copy-and-paste job. You are creating records that act as signposts on the internet. When someone types your domain into their browser, these records tell the browser to fetch the content from Lovable's servers.
Log in to your domain registrar (Namecheap, GoDaddy, etc.) and go to the DNS management page you found earlier. You are going to add two records to ensure both the root domain (`my-brilliant-app.com`) and the `www` subdomain work correctly. The standard practice is to redirect the root domain to the `www` version.
Here are the records you need to add. The specific values will be on the 'Domains' page in your Lovable dashboard.
Record 1: The A Record (for the root domain) This record points your main domain name to a specific IP address provided by Lovable (via Vercel).
| Type | Name / Host | Value / Points to | TTL | |---|---|---|---| | `A` | `@` | `76.76.21.21` | Auto |
- Type: Select `A Record`.
- Name/Host: Use `@`. This is standard shorthand for the root domain itself.
- Value: Enter the IP address provided by Lovable. It will likely be `76.76.21.21`.
- TTL (Time to Live): Leave this on the default setting, which is usually 'Automatic' or '1 hour'.
Record 2: The CNAME Record (for the `www` subdomain) This record points the `www` version of your domain to a Lovable-provided hostname. It's an alias.
| Type | Name / Host | Value / Target | TTL | |---|---|---|---| | `CNAME` | `www` | `cname.vercel-dns.com` | Auto |
- Type: Select `CNAME Record`.
- Name/Host: Enter `www`.
- Value/Target: Enter the hostname provided by Lovable. It will look something like `cname.vercel-dns.com`.
- TTL: Again, leave this on the default setting.
After adding both records, save your changes. Double check for typos. A single incorrect character is the most common reason for failure. Your registrar's interface will update, and now the waiting game begins.
Step 4: Verification, SSL, and Going Live
Once you save your DNS records, the change needs to propagate across the internet. This can take anywhere from a few minutes to a few hours. In rare cases, it can take up to 48 hours, but that is uncommon for new records.
During this time, Lovable is continuously checking your domain's DNS settings. As soon as it detects that your new A and CNAME records are pointing to its servers, two things happen automatically:
- Domain Verification: The 'Pending Verification' status in your Lovable dashboard will change to 'Verified' or show a green checkmark. Lovable now recognizes this domain as validly pointing to your app.
- SSL Provisioning: Lovable immediately requests a free SSL certificate for your domain from Let's Encrypt. This secures the connection between your users and your app (the `https://` part of the URL). This process is fully automated and usually takes less than a minute.
Once the SSL certificate is active, your deployment is complete. You can now visit your custom domain in a browser, and you should see your Lovable app live and secured. Lovable will also automatically redirect traffic from the `.lovable.dev` URL to your new primary custom domain, ensuring a seamless transition.
Frequently Asked Questions
How long does DNS propagation really take?
DNS propagation can take anywhere from 2 minutes to 48 hours, but it typically resolves within an hour. The wide range is due to how DNS resolvers around the world cache information. When you update a record, you have to wait for these caches to expire and fetch the new information. If your domain is still not working after a few hours, it is more likely a configuration error than a propagation delay. You can use a tool like `dnschecker.org` to see if your changes are visible globally.
Can I use a subdomain like 'app.my-brilliant-app.com'?
Yes, and it is even simpler. If you want to use a subdomain, you only need to add one record. In your Lovable settings, add `app.my-brilliant-app.com`. Lovable will provide you with a CNAME value. Then, in your DNS registrar, you will create a single CNAME record where the 'Host' is `app` and the 'Value' is the hostname provided by Lovable. You do not need an A record in this case.
What should I do if my domain is not working after 48 hours?
If it has been two full days and your domain is still not resolving to your Lovable app, it is time to troubleshoot. First, go back to your domain registrar and meticulously check your DNS records for typos in both the 'Host' and 'Value' fields. Second, ensure you have not added conflicting records, like multiple A records for `@` or multiple CNAMEs for `www`. Third, use an external DNS lookup tool to see what the world sees. If all else fails, delete the domain from your Lovable settings, delete the DNS records from your registrar, wait an hour, and then try the entire process again from Step 2. If that still does not work, it is time to contact Lovable support with screenshots of your DNS settings.
Do I need to pay for an SSL certificate?
No, you do not need to buy an SSL certificate for domains hosted with Lovable. As part of its integration with Vercel's edge network, Lovable automatically provisions and renews free Let's Encrypt SSL certificates for any custom domain you connect. This is a standard and essential feature of modern web hosting, and it is fully managed for you.
The Briefing
The best of Lovable, once a week.
Deep reviews, founder case studies, and growth tactics. No filler.
No spam. One-click unsubscribe.
Build something with us
Start Building with Lovable
Open Lovable, write your first prompt, and ship the thing you have been thinking about for too long.
Start Building with Lovable