xxx.lovable.app URL.
Connecting a custom domain improves your site’s:
- Brand identity: look more trustworthy and professional
- Search engine visibility: better SEO and discoverability
- Memorability: easier for users to share and remember
Choose how to set up your domain
You can set up a domain at any time, but you need to publish your project before your domain can start serving your site. You can access the domain setup from:- Project → Settings → Domains
- Publish modal → Custom domain
- Buy a new domain
Register and set up a domain in Lovable. All domains bought through Lovable belong to your workspace, not a single project. - Connect existing domain
Connect an existing domain from your workspace or a domain from another provider.
Buy a domain through Lovable
Buy a domain in Lovable and connect it to your project automatically. You do not need to configure anything manually. You need to be a workspace admin or owner to buy and connect a domain through Lovable. Follow the steps below:Search or select a suggested domain
- Prices are shown in USD.
- Premium domains cost more than standard domains.
- We support most major generic top-level domains and a limited set of country code top-level domains.
Review your order
- Term length
Choose how long to register the domain, from 1 to 10 years. Multi-year registration may offer cost savings. - Auto-renew
Enabled by default and recommended. When enabled, your domain renews automatically before it expires using your saved payment method. You’ll be charged the renewal price shown at the time of purchase (subject to change based on registrar pricing). - Registration details
Required contact information for domain registration, see next step.
Enter your registration details
- Enter your registration details required by ICANN (the organization that manages domain registration worldwide). Registration details cannot be changed after purchase.
- Click Save.
- If the email you provided matches your verified Lovable account email, verification is handled automatically.
- Otherwise, you receive a verification email and must click the link before the deadline to confirm ownership and avoid suspension.
- Registers the domain on your behalf
You see Registered on Lovable next to your domain. - Configures DNS records
Arecords and verificationTXTrecords are created automatically. - Sets up SSL/HTTPS
Your domain gets a free SSL certificate, so your site is served securely. - Connects the domain to your project
Bothyourdomain.comandwww.yourdomain.comare set up automatically and listed separately.
blog.yourdomain.com or app.yourdomain.com), go to Connect domain → Your domains, click Connect next to the root domain, then select Use a subdomain.
Domain setup typically completes within a few minutes, but can take up to several hours. You can follow the progress in the UI.
Domain statuses
Your domain bought through Lovable may show one of these statuses:| Status | Description | User action |
|---|---|---|
| Pending | Your domain is being registered and configured. DNS records and SSL are being set up. If the setup takes longer than expected, you see a warning. | No action required. Wait for setup to complete. If you see the warning, click Check status to refresh. Contact support if it doesn’t complete within a few hours. |
| Live | Domain is fully configured and serving your project. SSL is active. | No action required. |
| Ready | Domain is correctly configured, but your project isn’t published yet. Domain will start serving automatically when you publish. | Publish the project. |
| Removed | The domain is no longer connected to this project, for example because registration expired. | Reconnect it from your workspace domains if needed. |
Manage workspace domains bought through Lovable
All domains bought through Lovable belong to your workspace, not a single project. This means you can view them in one place and connect them to any project in the workspace. To view and manage all domains that you bought through Lovable, go to Workspace settings → Workspace domains and click View domains. You can:- View all domains
See all domains in your workspace, including their name and expiry. - Search and filter
Find domains by name. - Manage specific domains from Manage domain modal:
- View registration details and alerts
- View expiration and renewal details and alerts
- Enable or disable auto-renew
- Renew the domain manually to extend your domain registration for another year
- See which project the domain is connected to, including a link to the project
- Disconnect from project (project editor or higher)
This does not cancel your registration. The domain remains in your workspace and can be reconnected.
Manage project domains bought through Lovable
To manage a specific project domain bought through Lovable, go to Project → Settings → Domains and click the three dots menu next to the domain. You can:- View domain details
Opens the Manage domain modal, where you can view registration, renewal, and connection details. - Set or unset as primary
Choose which domain should be the main domain for your project. - Disconnect from project (project editor or higher)
Remove the domain from your project. This does not cancel your registration. The domain remains in your workspace and can be reconnected.
Connect a domain from another provider
You can connect a domain you already own using automatic setup (powered by Entri) or manual DNS configuration. Both methods require verifying ownership of your domain.Prerequisites
- You have project editor permissions or higher to connect and disconnect domains.
- You have access to the DNS settings for the domain or subdomain you want to connect. Ownership verification requires adding DNS
AandTXTrecords provided by Lovable during setup. - There are no
AAAArecords set for the domain you are connecting. Having anAAAArecord can interfere with domain setup and cause traffic to be routed incorrectly.
Connect your domain
Follow the steps below to connect the domain:Enter your domain
- Enter your domain or subdomain (for example,
yourdomain.comorblog.yourdomain.com). - Click Connect domain. This opens the Entri modal.
- Click Continue.
www subdomain is not automatically added. You can add it separately if you want both.Configure DNS records
- Automatic setup with Entri
Your domain provider is detected automatically. Log in and authorize Entri to update your DNS records. - Manual setup
Select your domain provider from the list. If your provider is not listed, scroll to the bottom of the Select your domain provider modal and choose Go to our manual setup. Copy theArecord andTXTrecord and input them directly into your domain registrar or DNS provider.
A record. Depending on your provider, the host name may need to be:@- left blank
- or set to your domain name (for example,
example.com)
Advanced: Use a CDN or reverse proxy
Lovable can be used behind your own , such as Cloudflare, CloudFront, or Fastly. To do this, enable the advanced Domain uses Cloudflare or a similar proxy option when connecting a domain from another provider. When this option is enabled:- You are responsible for configuring and maintaining your CDN or proxy
- Lovable does not configure, validate, or monitor your CDN or proxy setup
CNAME recorded is pointed correctly, Lovable issues the SSL certificates.
Traffic will then flow through your CDN or proxy before reaching Lovable.
Domain statuses
When you connect domains purchased outside Lovable, you see clear statuses that reflect verification progress, DNS propagation, SSL certificate readiness, and required user action.| Status | Description | User action |
|---|---|---|
| Unpublished | Shown only for your xxx.lovable.app project URL when the project is not yet published. | Publish the project. |
| Ready | The domain is ready but the project was unpublished. When published again, the status automatically becomes Live. | Publish the project. |
| Action required | The custom domain setup was not completed. | Click Complete setup to finish connecting. |
| Verifying | Waiting for DNS records to propagate. | Click Check status to check the latest status and verify the DNS records. Check that your A and TXT records are added correctly at your DNS provider, especially the full TXT value. |
| Unable to verify | DNS verification did not complete within one hour. This usually means your DNS records are incorrect or still propagating. Note: DNS propagation can take up to 72 hours, although most updates are applied within a few hours. | Click Check status to refresh the status and re-verify your DNS records. Check that your A and TXT records are added correctly at your DNS provider, especially the full TXT value. |
| Setting up | Verification complete; SSL certificates are being issued. | No action required; domain will automatically move to Live or Failed. |
| Failed | Ownership verified, but SSL certificate could not be provisioned. | Click Retry to attempt again. |
| Live | Domain is live and serving your project. | No action required. |
| Offline | Domain was Live but DNS records are no longer valid. Your domain is no longer pointing to your project. | Click Recover. Review displayed DNS records and update them at your DNS provider to reconnect your domain. |
| Removed | This domain was removed because it was added to another project or DNS verification never completed (DNS records weren’t added correctly or didn’t finish propagating). | Click Reconnect to connect the domain again. |
Manage project domains from other providers
To manage a specific project domain bought from another provider, go to Project → Settings → Domains and click the three dots menu next to the domain. You can:- Set or unset as primary
Choose which domain should be the main domain for your project. - Disconnect from project
Remove the domain from your project. This does not cancel your registration with your domain provider. Make sure to clear DNS settings in your domain provider to completely clear the connection.
Primary domain
Lovable allows you to set one domain as the primary domain.- The domain status must be Live in order to mark it as primary. Click the three dots menu next to your domain and click Set as primary.
- The first custom domain you add to a project automatically becomes the primary domain (for domains added after October 29, 2025).
- If a domain is primary, all other domains redirect to it.
- Only one domain can be primary at a time.
- You can unset the primary domain; in that case, all connected domains serve the project equally. Click the three dots menu next to your primary domain and click Unset as primary.
FAQ
What do DNS, A records, TXT records, AAAA records, and SSL mean?
What do DNS, A records, TXT records, AAAA records, and SSL mean?
- DNS determines where your domain points on the internet.
- A DNS provider is the service where you manage DNS records for your domain, such as
A,TXT, orAAAArecords. - An A record points a domain or subdomain to an IP address.
- A TXT record is used to verify domain ownership.
- An AAAA record points a domain to an IPv6 address and can interfere with domain setup if present.
- An SSL certificate enables HTTPS and allows browsers to securely connect to your site.
Does Lovable provide an SSL certificate for my custom domain?
Does Lovable provide an SSL certificate for my custom domain?
Can I buy or connect a domain without publishing my project first?
Can I buy or connect a domain without publishing my project first?
Will connecting a custom domain affect my SEO?
Will connecting a custom domain affect my SEO?
Do I need to connect a www subdomain separately?
Do I need to connect a www subdomain separately?
- For domains purchased through Lovable, both the root domain and
wwwsubdomain (yourdomain.comandwww.yourdomain.com) are set up automatically and listed separately. - For domains purchased outside Lovable, the
wwwsubdomain is not included when you set up your domain. You need to add it separately, and it will be listed separately.
Can I connect a subdomain instead of a full domain?
Can I connect a subdomain instead of a full domain?
blog.yourdomain.com or app.yourdomain.com) instead of the root domain. When connecting your domain, include the subdomain you want to use.Can I connect multiple subdomains?
Can I connect multiple subdomains?
blog.yourdomain.com, shop.yourdomain.com, and app.yourdomain.com.Can I connect the same domain to multiple projects?
Can I connect the same domain to multiple projects?
yourdomain.com to project A, blog.yourdomain.com to project B).Can I connect a domain used by another project?
Can I connect a domain used by another project?
Where can I see my connected domains?
Where can I see my connected domains?
- Project → Settings → Domains: all domains connected to a project
- Publish modal: all Live domains connected to a project
- Workspace settings → Workspace domains: all domains bought through Lovable
How do I set a primary domain?
How do I set a primary domain?
How do I unset a primary domain?
How do I unset a primary domain?
How do I disconnect a custom domain?
How do I disconnect a custom domain?
- Go to Project → Settings → Domains.
- Click the three dots menu next to your domain, click Disconnect, then click Disconnect again to confirm.
- For domains bought through Lovable, this only disconnects the domain from the project. It does not cancel your registration. The domain remains in your workspace and can be reconnected.
- For domains purchased outside Lovable, this only disconnects the domain from the project. It does not cancel your registration with the external provider. The domain is just removed from Lovable. Make sure to clear DNS settings in your domain provider to completely clear the connection.
Can I remove the xxx.lovable.app project URL?
Can I remove the xxx.lovable.app project URL?
xxx.lovable.app project URL from your project. However, you can add a custom domain and set it as your primary domain. This allows visitors to access your app from a branded URL instead of the default xxx.lovable.app project URL.What TLDs (domain extensions) are available when buying a domain through Lovable?
What TLDs (domain extensions) are available when buying a domain through Lovable?
What happens if the registration fails after buying a domain through Lovable?
What happens if the registration fails after buying a domain through Lovable?
What happens if I don't renew a domain bought through Lovable?
What happens if I don't renew a domain bought through Lovable?
Can I edit the registration details for a domain bought through Lovable?
Can I edit the registration details for a domain bought through Lovable?
Troubleshooting domains from other providers
My custom domain is connected, but it never becomes live
My custom domain is connected, but it never becomes live
- Use a DNS lookup tool like dnschecker.org to confirm that your domain resolves to the expected records. DNS changes can take up to 72 hours to propagate.
- Go to Project → Settings → Domains and confirm the DNS records Lovable expects.
- Clear your browser cache or test the site in an incognito window.
- Try removing and re-adding the domain in Project → Settings → Domains.
My domain shows the wrong site or an outdated version
My domain shows the wrong site or an outdated version
AAAA) record.Check whether your domain has any AAAA records configured. An AAAA record can interfere with domain routing and cause traffic to bypass the expected destination.To resolve this:- Review your DNS settings at your DNS provider.
- Remove any
AAAArecords for the domain. - Retry connecting the domain after the change has propagated.
My domain stays in the "Verifying" state during manual setup
My domain stays in the "Verifying" state during manual setup
A record is modified before verification finishes, Lovable cannot verify the domain or issue SSL certificates.While verification is in progress:- Do not enable proxying on the
Arecord. - Do not point the
Arecord to a CDN or reverse proxy.
- Disable proxying (DNS-only) on the provided
Arecord. - Ensure the
Arecord points directly to Lovable’s IP address. - Wait for the domain status to change to Live.