To use a custom domain on Lovable, open Project Settings, add your domain, and create the CNAME (or A) record Lovable shows you at your DNS provider. To send email from that domain, also add an SPF record, your provider's DKIM record, and a DMARC record at _dmarc.yourdomain, then verify.
In your Lovable project, go to Settings then Domains, click Add domain, and enter yourdomain.com. Lovable shows you a CNAME (or A) record to add.
At your DNS provider (Cloudflare, Namecheap, etc.), add the exact record Lovable gave you. Propagation usually takes a few minutes to a couple of hours.
If you send email from the domain (transactional or marketing), add a TXT record at the root: v=spf1 include:your-esp -all. Use our SPF generator to build it for your provider.
Copy the DKIM TXT record from your email provider (SendGrid, Resend, Postmark, etc.) into DNS at the selector they give you.
Add a TXT record at _dmarc.yourdomain: v=DMARC1; p=none; rua=mailto:you@yourdomain. Start at p=none, monitor, then tighten to quarantine and reject.
Paste this into Lovable (or any AI builder) and fill the {braces}.
Set up my custom domain on this Lovable project. My domain is {yourdomain.com}. Add the domain in project settings, show me the exact DNS record(s) I need to create, and give me copy-paste SPF, DKIM and DMARC TXT records for sending email from this domain with {your email provider}. Start DMARC at p=none.No. Lovable hosts your app; email is sent by whatever email provider you integrate. You must add that provider's SPF and DKIM records, plus DMARC, yourself.
Almost always missing or misconfigured SPF/DKIM/DMARC. Run your domain through our DMARC checker and DNS health checker to see exactly what's missing.
Run your domain through our free checkers to confirm SPF, DKIM and DMARC resolve correctly.
DeliverSignal runs these checks daily and alerts you when something breaks.
Start your free 14-day trial