Skip to content
Every tutorial here is 100% free — and always will be
LSLovableStudent

What DNS records does Lovable need?

Last checked 31 Aug 2026

Short answer

Lovable shows the exact records to add when you connect a domain — typically an A record for the root/apex domain and a CNAME for `www` (or a subdomain), plus any verification record it asks for.

Where to find the exact records

The specific values (IP address, CNAME target, verification token) are generated per project when you add a domain in Project settings → Domains — always use the records shown there rather than guessing or reusing values from another project or tutorial, since they can be project-specific.

What the record types generally do

Record Purpose
A Points your root domain (e.g. mydomain.com) to Lovable's server IP
CNAME Points a subdomain (e.g. www.mydomain.com) to Lovable's hosting
TXT (sometimes) Verifies you own the domain before Lovable issues SSL

Exactly which combination you need depends on whether you're connecting the root domain, www, or both.

What DNS records do I need to add for mydomain.com and www.mydomain.com?

How to add them

  1. Copy the values exactly from Lovable's Domains panel.
  2. Add them in your DNS provider's control panel (registrar, or Cloudflare/similar if that's where your nameservers point).
  3. Avoid extra trailing dots, stray spaces, or leaving an old conflicting record for the same host in place.

What usually goes wrong

Sources

Was this answer helpful?

Related questions

Website made, maintained and hosted by PromptSites.com

PromptSites logo