KBAISE/ for lovable
Library
Docs

Set up a custom domain

about 15 minShippingchecked 22h agoOfficial page
The short version

Custom domains replace your default Lovable link with your own web address on paid plans. You can buy one through Lovable, connect one from an outside service, or transfer one in, but your site will not appear until you publish the project.

Anyone on a paid plan who wants their published app to use a professional web address instead of a lovable.app link.

Do this, in order

  1. 1

    Publish your project so it is ready to serve content once the address is connected.

    A custom domain will not show your app until the project is published.

  2. 2

    Open Project Settings, select Domains, and choose to buy a new domain or connect one you already own.

    This starts the connection process and displays the domain options for your project.

  3. 3

    If using a domain from another provider, add the required records shown under Set up DNS at your domain registrar.

    Your domain registrar needs these instructions to direct internet traffic to Lovable.

  4. 4

    Wait for the domain status in Project Settings to show Active.

    This confirms DNS records are verified and Lovable has finished setting up your free security certificate.

  5. 5

    Open the three-dots menu next to your domain and select Set as primary if it is not already chosen.

    This ensures other connected domains redirect to your main address.

Paste this into your project

I want to set up a custom domain for this project. What are my options to either buy a domain or connect one I already own, and what status is my domain setup currently in?

Words decoded

DNS
The system that directs web browser traffic to the right computer hosting your website.
Nameservers
The specific computers that hold the master directory telling the internet where your domain points.
Primary domain
The main web address for your site that visitors see, with all other connected addresses redirecting to it.
SSL certificate
A security setup that adds the padlock icon to your web address and keeps visitor data private.
SPF record
A setting in your domain records that lists which services are allowed to send email from your address.

Where people get stuck

  • Switching a Lovable-bought domain to custom nameservers stops Lovable from managing DNS, breaking your live site and email until you manually recreate every record at your new provider.
  • Connecting a custom domain does not display your site to visitors until you actually publish the project.
  • Do not add a second SPF record to handle external email services like Google Workspace; instead, use the edit SPF option in Lovable to combine them into the single allowed record.
  • Lovable uses temporary redirects (302/307) rather than permanent 301 redirects between project domains, so keep this in mind if planning strict SEO redirect setups.

The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.