your-app.lovable.app address. Visitors reach your site at an address with your own name, which looks more trustworthy and is easier to remember and share. The search visibility you build stays with a domain you control.
Custom domains are available on paid plans.
This page covers what applies to every custom domain: where its DNS records live, what each status means, and how to manage a project’s domains.
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.Buy a domain through Lovable
Connect a domain from another provider
Transfer a domain to Lovable
- Project → Settings → Domains
- Publish dialog → Add domain
- Workspace settings → Workspace domains
- Chats or the project chat, by asking Lovable
- Buy a domain: for the project’s first domain, search under Find and buy a domain. After that, click Buy a new domain under More domains. An In your workspace badge marks results your workspace already owns. While your workspace has a free domain to claim, Buy a new domain is labeled Get free domain.
- Connect a domain you own: for the first domain, click Connect under Connect a domain you own. After that, click Connect domain under More domains.
- Use a workspace domain: workspace admins and owners can select a domain registered through Lovable under Connect a workspace domain. The row shows at most 5 domains, with domains not yet serving a site listed first. To connect a domain the row does not show, use Connect or Connect domain and search for it.
Where do I add or edit DNS records?
A domain’s nameservers, the servers that answer for it, decide where you change its records, not where you bought it. If you point a domain bought through Lovable at your own nameservers, you manage its records at that provider.Add or edit DNS records for a domain bought through Lovable
When a domain uses Lovable’s nameservers, you can add your own DNS records alongside the ones Lovable creates automatically. For example, add aTXT record to verify the domain with a service such as Google Search Console or Google Workspace. You can also add an MX record for email, or any other record your setup requires.
You need to be a workspace admin or owner to change DNS records.
Go to Workspace settings → Workspace domains, open the domain, and expand Advanced → DNS records.
Click Add record and fill in the form:
- Type: select the record type. You can add
A,AAAA,CNAME,MX,TXT,SRV, andNSrecords. - Host: the subdomain the record applies to. Use
@for the root domain (for example,yourdomain.com), or a subdomain label such aswwwormail. - Answer: the record value provided by the service you’re setting up (for example, the
google-site-verificationvalue from Google Search Console). - TTL: the record’s time to live in seconds. The minimum is
300. - Priority: shown only for record types that require it (
MXandSRV).
yourdomain.com, Lovable keeps the SPF record on the @ host. This record has no lock icon, so you can add your own entries to it.
To let an inbox provider such as Google Workspace or Zoho send email from the domain, add its entries to that record instead of adding a second SPF record:
- Open the SPF record’s three dots menu and select Edit your SPF entries.
- In Your SPF entries, enter the entries your provider gives you, for example
include:_spf.google.com. Lovable keeps its own entries before and after yours. - Click Save changes.
Change nameservers for a domain bought through Lovable
By default, Lovable manages the DNS for domains bought through Lovable using Lovable’s nameservers. If you’d rather manage DNS elsewhere, you can point a domain to your own custom nameservers (for example, at Cloudflare). You need to be a workspace admin or owner to change nameservers. Go to Workspace settings → Workspace domains, open the domain, and expand Advanced → Nameservers. Click Edit to open Edit nameservers.- Edit
Enter at least two custom nameservers and click Save nameservers. If the domain has connected projects, Lovable asks you to confirm with Change anyway. - Reset to Lovable
In the Edit nameservers dialog, click Reset to Lovable to restore Lovable’s nameservers.
Domain statuses
In Project → Settings → Domains, Lovable shows the connection status for each custom domain. These statuses apply to domains bought through Lovable and domains from other providers. Addresses under a workspace publishing domain use a separate card with Verifying and Live statuses.- Preparing: Lovable is preparing the connection.
- Looking for your DNS records: Lovable is checking for the required records.
- DNS records found, waiting for them to take effect: Lovable found the records and is waiting for other networks to see them.
- Finishing up: Lovable is completing the connection checks and securing the connection with an SSL certificate.
Manage project domains
Open Project → Settings → Domains and use the three dots menu next to a custom domain:- Set as primary or Unset as primary changes which address visitors use. See Primary domain.
- Check again requests another connection check.
- Setup instructions shows the records for a domain from another provider while it is setting up or needs attention.
- Domain settings opens the workspace domain detail page for workspace admins and owners.
- Disconnect removes the connection from this project after you confirm. Project editors and above can disconnect a domain. Lovable does not cancel the domain’s registration, and you can connect it again later.
www, the menu includes a separate group of actions for the www address. While an address is Disconnecting, its primary-domain and disconnect actions are unavailable.
Email sender rows show their purpose and status. See Email domain statuses and Managing email domains for the sender’s status labels and actions.
Manage workspace domains
Domains bought through Lovable belong to your workspace. Open Workspace settings → Workspace domains to search domains, buy a domain, or select Transfer in to transfer a domain to Lovable. The list also includes domains connected from other providers and domains used for email. A domain registered through Lovable shows its registration, renewal, or transfer status first, before any connection status. Otherwise it shows the first of these connection statuses that applies:- Disconnecting: Lovable is removing the domain’s connections.
- Needs attention: At least one connection has a problem. Open the domain to review the warning.
- Setting up: Lovable is still preparing at least one connection.
- Waiting for DNS: Lovable is waiting for the domain to start using Lovable’s nameservers. To see the nameservers to set at your registrar, open the domain and expand Advanced → Nameservers.
- Connected: The domain’s connections or Lovable-managed DNS are ready.
- Email configured: The domain has email senders but no website connection.
- Lovable manages registration: For domains bought or transferred into Lovable, view Renews, Price, Auto-renew, and Registered. Change auto-renew here. From the card’s three dots menu, select Renew domain, Move domain, or Transfer out. For extensions that support it, select WHOIS privacy from the same menu. For domains registered elsewhere, the card shows the registrar instead.
- Projects: View the projects using the domain and expand a project to inspect its addresses and DNS records. Follow any DNS setup or update instructions shown for an address, or open the project to manage its connection.
- Email: View email senders under the domain, their DNS records, and the projects that use them. Before selecting Remove sender from a sender’s three dots menu, review what removal affects.
- Advanced: Expand DNS records or Nameservers. You can edit DNS records here for a domain registered through Lovable that uses Lovable’s nameservers. For external DNS, the records are read-only and you make changes at your provider.
- Contact: Edit the registration contact information for a domain registered through Lovable, then click Save.
Primary domain
You can set one domain as a project’s primary domain.- Click the three dots menu next to your domain and select Set as primary. You can select a domain while setup is in progress. Lovable uses it as the primary address when the connection is ready. You cannot select an address that is disconnecting.
- The first custom domain you connect to a project automatically becomes the primary domain (for domains added after October 29, 2025), unless the project already has a primary address, such as an address under your workspace’s publishing domain.
- A domain you buy and connect to a project becomes its primary domain, replacing the project’s current primary domain. This applies whether Lovable chose that primary automatically or you set it yourself with Set as primary. Only an address under your workspace’s publishing domain stays primary.
- If a domain is primary, all other connected domains redirect to it. Lovable uses a 302 temporary redirect for page visits. A request that carries data, such as a form submission, gets a 307 temporary redirect instead, so the data survives the redirect.
- Lovable hosting does not support 301 permanent redirects between connected project domains. Primary domains can be changed, so Lovable uses temporary redirects to keep domain changes reversible.
- To unset the primary domain, click the three dots menu next to it and click Unset as primary. All connected domains then serve the project equally.
FAQ
These questions cover behavior that applies to every custom domain. For buying and registration, see Buy a domain through Lovable. For setting up and fixing a domain from another provider, see Connect a domain from another provider.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 domain’s nameservers are the servers that answer for it, and they decide which DNS provider’s records the internet uses. Your registrar sets them.
- 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 or subdomain to an IPv6 address, a newer type of internet address. Keep an
AAAArecord when Lovable provides it. See the prerequisites for connecting a domain for how to identify conflicting records. - A CAA (Certificate Authority Authorization) record lists which certificate authorities may issue SSL certificates for your domain. If your domain uses
CAArecords, they must allow at least one of the certificate authorities Lovable uses. - 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?
CAA records, they must allow Lovable to issue the certificate. See My domain has CAA records and SSL setup fails.What TLS versions does Lovable support?
What TLS versions does Lovable support?
lovable.app URLs use TLS 1.2 or newer, and Lovable rejects connections over TLS 1.0 and 1.1. Lovable enforces this automatically, with no setup needed. The TLS 1.2 minimum satisfies common compliance requirements such as PCI DSS (Payment Card Industry Data Security Standard), the security standard for sites that handle card payments.You can’t change this setting yourself. If your compliance program requires a stricter minimum TLS version for your domain, contact Lovable Support.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?
- Run an SEO review to check indexing, metadata, canonical URLs, sitemap status, performance, and other live-site SEO signals.
- Verify the domain in Google Search Console.
- Submit your sitemap through the Google Search Console connector or directly in Google Search Console.
- If you changed your primary domain, rerun the SEO review so Lovable can re-check the new host.
Can I use a 301 redirect for my primary domain?
Can I use a 301 redirect for my primary domain?
Does Lovable redirect HTTP to HTTPS on my custom domain?
Does Lovable redirect HTTP to HTTPS on my custom domain?
lovable.app address, Lovable redirects plain http:// requests to the same page over https://. Lovable has no setting to force HTTPS, because the redirect is always active.- On the address that serves your site, Lovable uses a 301 permanent redirect from
http://tohttps://. This address is the primary domain or, when no primary domain is set, each connected domain. - On your other connected addresses, such as
wwwor thelovable.appaddress, Lovable sendshttp://requests directly to thehttps://primary domain with a temporary redirect. See Primary domain.
Why does an audit tool or AI assistant show a 500 error for my domain's HTTP address?
Why does an audit tool or AI assistant show a 500 error for my domain's HTTP address?
http:// requests. They show an empty 500 server error, often naming Pingora as the server and showing no redirect address. These tools show the same error for every site.To check the redirect yourself, do one of the following:- Open your site’s
http://address in a private browser tab on a phone using mobile data, with Wi-Fi disabled. The address bar shows thehttps://address. - Test the same tool on
http://example.com, a public test site that is not hosted by Lovable. If the tool shows the same500error, the tool causes the error.
http:// address, contact Lovable Support.Do I need to connect a www subdomain separately?
Do I need to connect a www subdomain separately?
www automatically. For domains from another provider, keep Redirect www.yourdomain.com → yourdomain.com enabled when connecting the root domain. The DNS setup window includes records for both addresses.Lovable groups the two addresses in one row. When both are active, it shows Active and www included. If www needs attention, its progress or warning appears separately below the root domain. If you disabled the redirect option, connect www.yourdomain.com separately when you want to use it.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?
- Same workspace, domain from another provider. Lovable blocks the connection while another project in the workspace still uses the domain. Disconnect it from that project first, then connect it here. The dialog can show Domain unavailable or an error explaining which connection to remove.
- Same workspace, domain registered through Lovable. The dialog shows Move domain?. Select Move and connect to disconnect it from the other project and connect it here. You need permission to connect the workspace’s registered domains.
- Different workspace, domain from another provider. Lovable does not take the domain over, and the dialog shows Domain already in use. Select Connect anyway to set up the connection in this project while the other project keeps serving the domain. The connection here can become active only after the other project stops serving the domain, so disconnect it there to make it live here. If you can’t access that workspace, contact Lovable Support. With the proxy option, Lovable does not allow the connection while the domain is live on the other project.
-
Different workspace, domain registered through Lovable. When you are a member of the workspace that owns the domain, the dialog shows Move domain to this workspace?. To move the domain, you must be an admin or owner of both workspaces, and this workspace must be on a paid plan.
Moving disconnects the domain from projects in the other workspace and moves its renewal billing to this workspace. Select Move and connect to move the domain and connect it here.
When another project in this workspace or an email sender already uses the domain, Lovable moves the domain to this workspace without connecting it. The dialog then shows the step for a domain already in this workspace:
- Move domain? when another project uses it
- Domain unavailable when an email sender uses it
- Held by an email sender. Lovable blocks the connection whichever workspace the sender is in, and the dialog shows Domain unavailable naming the sender. Remove that sender first, in your own email settings or by asking an admin or owner in the workspace that uses it. See What happens if I delete an email domain?.
Where can I see my connected domains?
Where can I see my connected domains?
- Project → Settings → Domains: all domains connected to a project
- Publish dialog: your primary domain when it is Active, shown as the website URL. While Lovable is still setting up a domain you bought, or the first domain you connected for a project, the dialog shows that domain under the website URL with a note that it is still being set up. The note disappears if the setup has not progressed for 72 hours. Click Manage domains to see all of them in Project → Settings → Domains. The button label includes the number of addresses the project has, for example Manage 2 domains.
- Workspace settings → Workspace domains: domains bought through Lovable, domains connected from other providers, and email domains. Open a domain for its projects, email senders, DNS records, and registration details. On the Enterprise plan, the list also includes the workspace’s publishing domain
- The project chat: ask Lovable which domains are connected, what state each one is in, and which one is primary
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 registered with another provider, disconnecting removes the address from this project without canceling its registration. The root domain can still appear in Workspace domains if other projects or email senders use it. Remove the corresponding DNS records at your provider if you no longer want the address to point to Lovable.
What happens to my custom domain if I downgrade or cancel my plan?
What happens to my custom domain if I downgrade or cancel my plan?
- Already-connected domains keep working, and you can still disconnect them on any plan.
- Connecting a new domain requires a paid plan. After a downgrade to Free, you can’t buy domains or connect domains to projects, including domains already in your workspace, until you upgrade again.
- Domains bought through Lovable are billed separately from your subscription, so a plan change does not affect their registration or renewal. Auto-renew keeps renewing and charging as usual, and the workspace owner can still manage the domain from Workspace settings → Workspace domains, including disabling auto-renew or transferring the domain out.
Can I remove the your-app.lovable.app project URL?
Can I remove the your-app.lovable.app project URL?
your-app.lovable.app project URL from your project. You can add a custom domain and set it as your primary domain, so visitors reach your app at a branded URL instead of the default project URL.How do I add a TXT record (for example, for Google Search Console) to a domain bought through Lovable?
How do I add a TXT record (for example, for Google Search Console) to a domain bought through Lovable?
Why does sign-in fail on my custom domain?
Why does sign-in fail on my custom domain?
- Built-in backend: Lovable adds a custom domain to the redirect URLs automatically when the domain becomes Active. If sign-in still fails, ask Lovable in the project chat to add your domain to the auth redirect URLs, or add it under More → Users → Settings → Advanced.
- Your own Supabase project: add the domain in that project’s auth settings. See Site URL and redirect URLs.
- Google sign-in with your own Google OAuth credentials: also add the new domain’s redirect URL in Google Cloud Console and select it in Lovable. See Managing Google authentication.