Web Development

Lovable Custom Domains: Setup and Configuration Guide

Complete guide to connecting your own domain to Lovable apps

By Ethan ParkerPublished Updated 8 min read
LovableCustom DomainsDNS ConfigurationWeb HostingSSL Setup
lovable-pricing-enterprise-top-banner.jpg
d1382e6c-00e1-44c1-899d-b91c1b980acd.png
Ethan Parker

Senior Software Developer & Trading Technology Specialist

Ethan Parker is a software developer with over 8 years of experience in building web applications, trading tools, and financial technology solutions. He specializes in Python, JavaScript, API integrations, and trading automation, helping traders improve efficiency through innovative technology.

Connecting a custom domain to your Lovable project gives your application a professional identity and makes it easier for users to find and remember. The process involves configuring DNS records at your domain registrar and verifying ownership through the Lovable dashboard. While the steps are straightforward, several details can trip up first-time users.

Lovable handles SSL certificate provisioning automatically once the domain points correctly to their infrastructure. This means you don't need to manage certificates manually or worry about renewal cycles. The platform uses Let's Encrypt under the hood, which covers most standard use cases without additional configuration.

Custom domain support is available on paid plans starting with the Launch tier. Free and Starter plans remain on the default lovable.app subdomain. If you're currently on a lower tier, you'll need to upgrade before the custom domain option appears in your project settings.

Prerequisites Before Starting

Before diving into DNS configuration, gather the following: access to your domain registrar's DNS management panel, the exact domain or subdomain you want to connect, and administrative access to your Lovable account. If you're connecting a root domain like example.com, you'll need to create A records. For subdomains like app.example.com, CNAME records work better.

  • Domain registrar login credentials
    • Target domain or subdomain name
    • Lovable account with Launch plan or higher
    • Basic understanding of DNS record types

    Step-by-Step DNS Configuration

    Log into your Lovable dashboard and navigate to the project you want to connect. Open Settings, then Domains, and click Add Custom Domain. Enter your domain name and Lovable will display the required DNS records. Copy these values exactly as shown — even a single character difference will cause verification to fail.

    At your registrar, create the records shown in the Lovable interface. For root domains, you'll typically see two A records pointing to different IP addresses for redundancy. For subdomains, you'll see a single CNAME record. Some registrars require the @ symbol for root domains, while others leave the host field blank. Check your registrar's documentation if you're unsure.

    Scroll horizontally to see all columns

    Common DNS Record Types for Lovable
    Record TypeHost/NameValue/TargetTTL
    A@ or blankLovable IP 13600
    A@ or blankLovable IP 23600
    CNAMEwww or subdomainproject.lovable.app3600
    lovable-pricing-enterprise-top-banner.jpg

    After saving the DNS records, return to the Lovable dashboard and click Verify. DNS propagation can take anywhere from a few minutes to 48 hours, though most registrars update within an hour. If verification fails immediately, wait 15-30 minutes and try again. The Lovable interface will show a green checkmark once the domain is fully connected and SSL is active.

    Lovable enterprise pricing banner showing custom domain features

    The pricing comparison page shows which tiers include custom domain support. Launch, Scale, and Enterprise plans all allow at least one custom domain, with higher tiers supporting multiple domains per project.

    Lovable pricing comparison table with custom domain limits per plan

    Once verified, your application becomes accessible at the custom domain. Lovable automatically provisions and renews SSL certificates. You can verify this by visiting your domain and checking for the padlock icon in the browser address bar. The certificate covers both the root domain and www subdomain if you've configured both.

    Troubleshooting Common Issues

    Verification failures usually stem from one of three causes: incorrect record values, DNS propagation delays, or conflicting existing records. Double-check that you've copied the IP addresses or CNAME target exactly from the Lovable dashboard. Remove any old A or CNAME records for the same host before adding the new ones.

    • Verify record values match Lovable dashboard exactly
      • Remove conflicting records for the same host
      • Wait for DNS propagation (up to 48 hours)
      • Check for CAA records blocking Let's Encrypt
      • Ensure domain isn't parked or redirected elsewhere

      Managing Multiple Domains

      Scale and Enterprise plans support multiple custom domains per project. This is useful for brands with regional domains (example.com, example.co.uk, example.de) or for running the same application under different brand names. Each domain requires its own DNS configuration and verification process.

      You can designate one domain as primary. The primary domain receives all traffic, while secondary domains redirect to it. This prevents duplicate content issues with search engines and ensures consistent analytics tracking. Change the primary domain at any time from the Domains settings page.

      Scroll horizontally to see all columns

      Custom Domain Limits by Plan
      PlanDomains per ProjectPrimary DomainAuto SSL
      Free0N/AN/A
      Starter0N/AN/A
      Launch1YesYes
      Scale5YesYes
      EnterpriseUnlimitedYesYes

      Redirects and www Handling

      Lovable automatically handles www redirects once both the root domain and www subdomain are verified. If you only configure the root domain, visitors accessing www.example.com will see a browser error unless you add a separate CNAME record for www pointing to your project's lovable.app URL. The same applies in reverse — configuring only www leaves the root domain inaccessible.

      Configuring both root and www domains from the start saves troubleshooting time later. The verification process is identical for each.

      For more complex redirect needs — such as redirecting old domains to new ones, or handling trailing slashes — you'll need to implement those at the application level or use a DNS provider that supports URL redirects. Lovable's built-in handling covers the standard root-to-www or www-to-root scenario only.

      Security Considerations

      Custom domains inherit Lovable's security headers and DDoS protection automatically. The platform sets HSTS, X-Frame-Options, and Content-Security-Policy headers on all responses. You don't need to configure these separately. However, if your application sets its own security headers, they may override Lovable's defaults.

      Lovable security features banner showing SSL and protection details

      The security controls panel shows active protections for your project. Custom domains benefit from the same rate limiting, bot detection, and attack mitigation as lovable.app subdomains. Enterprise plans add options for custom WAF rules and dedicated IP ranges.

      Lovable security controls dashboard showing active protections

      If you need to restrict access to specific IP ranges or implement geographic blocking, those configurations happen at the application level within your Lovable project code. The platform doesn't currently offer a dashboard toggle for IP allowlists on custom domains.

      Migrating from Another Host

      Moving an existing domain to Lovable requires careful timing to minimize downtime. Lower the TTL on your current DNS records to 300 seconds (5 minutes) at least 24 hours before the migration. This ensures DNS caches worldwide expire quickly when you switch the records to Lovable's values.

      • Reduce TTL to 300 seconds 24+ hours before migration
        • Add Lovable DNS records alongside existing ones
        • Verify both configurations work in staging
        • Switch primary records to Lovable
        • Monitor for 48 hours, then remove old records

        Subdomain Strategies for Teams

        Organizations often use subdomains to separate environments: staging.example.com for testing, app.example.com for production, and docs.example.com for documentation. Each subdomain connects to a different Lovable project. This keeps environments isolated while maintaining a consistent brand presence.

        Team members with appropriate permissions can manage subdomain connections independently. The Scale plan's five-domain limit applies across all projects in the workspace, so plan your subdomain strategy accordingly. Enterprise workspaces remove this limit entirely.

        Scroll horizontally to see all columns

        Subdomain Use Cases by Environment
        SubdomainPurposeLovable Project
        app.example.comProductionMain project
        staging.example.comTesting/QAStaging project
        preview.example.comFeature previewsPreview deployments
        docs.example.comDocumentationDocs project

        Monitoring and Maintenance

        Once configured, custom domains require minimal ongoing maintenance. Lovable handles SSL renewal automatically. The main tasks are monitoring for unexpected downtime and ensuring your domain registration doesn't expire. Set up domain expiration alerts at your registrar — an expired domain breaks the connection and requires re-verification.

        Domain expiration is the most common cause of custom domain failures after initial setup. Calendar reminders at 30, 14, and 7 days before expiry prevent this entirely.

        The Lovable dashboard shows domain status with green, yellow, or red indicators. Green means fully operational. Yellow typically indicates SSL renewal in progress or minor DNS inconsistencies. Red means verification has failed — often due to changed DNS records or an expired domain. Check the Domains page weekly during the first month, then monthly thereafter.

        Advanced Configuration Options

        Enterprise customers can request dedicated IP addresses for their custom domains. This enables IP allowlisting in corporate firewalls and improves deliverability for transactional emails sent from the domain. Dedicated IPs also isolate your reputation from other Lovable customers, which matters if you're sending high-volume email.

        Custom edge caching rules are another Enterprise feature. You can configure cache TTLs per path, exclude specific routes from caching, and purge the cache programmatically via API. These options appear in the Domains settings when your workspace is on an Enterprise plan.

        For most teams, the standard shared infrastructure performs well. Lovable's global CDN caches static assets at edge locations worldwide. Dynamic content routes through optimized paths to the nearest compute region. Custom caching rules only become necessary when you have specific performance requirements that the defaults don't meet.

        Frequently Asked Questions

        Can I use a custom domain on the Free or Starter plan?

        No. Custom domains require at least the Launch plan. Free and Starter plans are limited to the default lovable.app subdomain.

        How long does DNS propagation take after adding records?

        Typically 15-60 minutes, but can take up to 48 hours depending on your registrar and TTL settings. Lower TTL values speed up propagation.

        Do I need to configure SSL certificates manually?

        No. Lovable automatically provisions and renews Let's Encrypt SSL certificates once domain verification succeeds.

        Can I connect multiple domains to one project?

        Yes, on Scale (up to 5) and Enterprise (unlimited) plans. Launch plan supports only one custom domain per project.

        What happens if my domain registration expires?

        The domain will stop resolving, breaking access to your app. You'll need to renew the domain at your registrar and wait for DNS propagation. Lovable will re-verify automatically once the domain is active again.

        Can I redirect my custom domain to another URL?

        Lovable doesn't support URL redirects at the platform level. Redirects must be configured at your DNS provider or implemented in your application code.

        Does Lovable support wildcard subdomains?

        No. Each subdomain must be added and verified individually in the Domains settings.

        Final Assessment of Lovable Custom Domains

        Lovable's custom domain implementation covers the essentials well: automatic SSL, straightforward DNS verification, and support for multiple domains on higher tiers. The process works reliably for standard use cases, and the dashboard provides clear status indicators. Teams needing advanced features like dedicated IPs, custom caching rules, or wildcard subdomains will need the Enterprise plan. For most projects launching on a custom domain, the Launch or Scale plan provides everything needed without unnecessary complexity.

        Recommended articles

        lovable-pricing-enterprise-top-banner.jpg

        Web Development

        Lovable

        Explore Lovable and related information.

        Ethan Parker · 2026-11-20 · 8 min read

        lovable-pricing-enterprise-top-banner.jpg

        Web Development

        Lovable Review

        Explore Lovable Review and related information.

        Ethan Parker · 2026-11-20 · 8 min read

        lovable-pricing-enterprise-top-banner.jpg

        Web Development

        Lovable Login

        Explore Lovable Login and related information.

        Ethan Parker · 2026-11-20 · 8 min read