SwitchFromWP

How to Point Your Domain to a Lovable Site Without Breaking Email

A step-by-step DNS cutover for moving a domain from WordPress hosting to Lovable: find your DNS host, export the zone, lower TTL, change only the website records, and verify. Includes DNSSEC, CAA and proxy caveats.

Written by a Certified Lovable ExpertFacts checked 25 November 20265 min read

This page recommends Lovable and contains partner links. If you sign up through one I may earn a commission, at no extra cost to you. Disclosure.

The short answer

You don't need to move your domain or your nameservers to use it with Lovable. In most cases you only change the website records (the root @ and www) at whoever currently hosts your DNS, using the exact values Lovable's domain setup shows you, and add Lovable's verification TXT records. Leave MX, SPF, DKIM, DMARC and other TXT records exactly as they are, and email carries on working.

Four things people confuse

ThingWhat it doesExample
RegistrarWhere you rent the domain name and renew it each year.GoDaddy, Namecheap, 123 Reg, IONOS
NameserversSet at the registrar. They say which company answers DNS questions for the domain.ns1.example-host.com
DNS hostThe company whose nameservers are set. Your records live here.Often the registrar, the old web host, or Cloudflare
Web hostThe server that actually serves the website.Your WordPress host now; Lovable after the move

These can be four different companies. The one you edit at launch is the DNS host. Deeper explanation in nameservers vs DNS records.

Step 1: Find out who hosts your DNS

Terminal (macOS / Linux), or use any online 'NS lookup' tool
dig NS example.com +short

The answer names the DNS host: for example *.ns.cloudflare.com is Cloudflare, ns*.domaincontrol.com is GoDaddy. Log in there. If you edit records anywhere else, nothing will happen, which is a very common reason 'the DNS change didn't work'.

Step 2: Export or record every existing record

Before changing anything, save a copy of the full zone. Many DNS hosts offer a zone file export; otherwise screenshot every record or copy them into a spreadsheet. Then label each one:

RecordUsually belongs toAt launch
A / AAAA for @ and wwwWebsite (old WordPress host)Change to Lovable's values
CNAME for wwwWebsiteReplace with what Lovable's setup asks for
MXEmailLeave alone
TXT v=spf1 ...Email (SPF)Leave alone
TXT/CNAME selector._domainkeyEmail (DKIM)Leave alone
TXT _dmarcEmail (DMARC)Leave alone
TXT google-site-verification=... and similarSearch Console, Microsoft, other servicesLeave alone
CNAMEs for autodiscover, mail, shop, app...Email clients or other servicesLeave alone unless you know they're website-only
CAAControls which certificate authorities can issue SSLCheck (see below)

Watch out

Never follow advice to 'delete all the old records'. Delete only website records that conflict with the new ones (an old A record for @ alongside the new one, for example).

Step 3: Lower the TTL a day or two before

TTL (time to live) is how long, in seconds, other DNS resolvers may cache a record. If your @ and www records have a TTL of 86400 (24 hours), some visitors could keep reaching the old site for up to a day after you change them.

At least one full old-TTL period before launch, lower the TTL on the website records to something short like 300 (5 minutes). After launch, once all is stable, you can raise it again. Some DNS hosts have a minimum TTL or don't let you edit it; that just means waiting longer.

Step 4: Start the domain connection in Lovable

  1. 01

    Publish the project

    A connected domain serves nothing until the project is published.

  2. 02

    Open Settings > Domains

    In the Lovable project, open the project settings, then Domains, and choose Connect domain. Enter the root domain (for example example.com). Lovable sets up www alongside it by default.

  3. 03

    Note the records shown

    Lovable shows the exact records to add: A records for @ and www pointing at an IP address, and TXT records named _lovable and _lovable.www with lovable_verify=... values. Use the values on your screen, not from any article, including this one.

  4. 04

    Use automatic setup if offered

    For many DNS providers Lovable can add the records for you after you sign in to the provider.

Official guidance

Lovable's custom domain guide is the source of truth for the current records and steps. Check it on the day you launch.

Step 5: Change only the website records

  1. At your DNS host, edit the existing A record for @ to Lovable's IP. If there are several A records for @, remove the old ones so only Lovable's remains.
  2. Do the same for www. If www is currently a CNAME, delete that CNAME and add the A record Lovable shows (a name can't have both a CNAME and other records).
  3. Remove any AAAA (IPv6) records for @ and www that point at the old host, otherwise some visitors will still reach it.
  4. Add the _lovable and _lovable.www TXT records.
  5. Don't touch anything labelled email or verification in your Step 2 list.

Step 6: Verify, then test

Check what the world sees
dig A example.com +short
dig A www.example.com +short
dig TXT _lovable.example.com +short
dig MX example.com +short   # should be unchanged

Lovable detects the records and provisions the SSL certificate on its own; it's often minutes and usually within an hour. The domain status in Settings > Domains moves through 'Verifying' and 'Setting up' to 'Active'. When it's Active, test the site over https:// on both the root and www, then send and receive a test email.

Status in LovableWhat it meansWhat to do
VerifyingWaiting to see the records.Wait, and check with dig that the records are live at the right DNS host.
Setting upRecords found; certificate and connection in progress.Usually wait. Follow any step Lovable shows.
Action requiredThe connection flow wasn't finished.Click Complete setup.
OfflineWas live, DNS no longer matches.Someone changed the records; restore the values shown.
FailedCertificate couldn't be issued.Check CAA records (below), fix, then Retry.

What 'propagation' really is

DNS changes don't spread outwards like a wave. The DNS host updates immediately; resolvers around the world keep serving the cached old answer until its TTL expires. During that window some people see the new site and some the old one. That's why you keep the old WordPress hosting running until well after the cutover, and why lowering TTL in advance makes the window short.

If you've changed nameservers rather than records, the change happens at the registry level and can take longer to settle; that's one reason to avoid changing nameservers at launch unless there's a reason to.

DNSSEC, CAA and proxies

  • CAA records restrict which certificate authorities may issue certificates for your domain. If you have any, make sure they allow the authorities Lovable uses (Lovable's docs list Let's Encrypt, Google Trust Services and SSL.com), or the certificate will fail.
  • DNSSEC signs your DNS zone. Changing *records* at the same DNS host is fine. Changing *nameservers* to a different DNS host while DNSSEC is on can make the whole domain (including email) stop resolving. Turn DNSSEC off at the registrar and wait before any nameserver change, then re-enable it at the new host.
  • Cloudflare or another proxy in front of the domain: Lovable has a proxy option under Advanced in the Connect domain dialog that uses a different verification method. Tick it if the orange-cloud proxy is staying on.

Rollback plan

Keep a note of the old A/AAAA/CNAME values from Step 2. If something goes seriously wrong, put them back and, with a short TTL, most visitors return to the WordPress site within minutes. Before rolling back, export anything the new site collected since launch (enquiries, sign-ups) so it isn't lost. Only cancel the old hosting when the new site has been stable for a few weeks.

Next: make doubly sure about mail with keep business email working.

Ready to build the new site?

Start a Lovable project and rebuild privately before you touch your live domain.

Start on Lovable
QR code linking to Lovable with the partner linkScan to try LovableOr tap the code on mobile

Sources checked for this guide

Product and search behaviour changes. These were checked on 25 November 2026; follow the live pages for current details.

Read next