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.
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
| Thing | What it does | Example |
|---|---|---|
| Registrar | Where you rent the domain name and renew it each year. | GoDaddy, Namecheap, 123 Reg, IONOS |
| Nameservers | Set at the registrar. They say which company answers DNS questions for the domain. | ns1.example-host.com |
| DNS host | The company whose nameservers are set. Your records live here. | Often the registrar, the old web host, or Cloudflare |
| Web host | The 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
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:
| Record | Usually belongs to | At launch |
|---|---|---|
A / AAAA for @ and www | Website (old WordPress host) | Change to Lovable's values |
CNAME for www | Website | Replace with what Lovable's setup asks for |
| MX | Leave alone | |
TXT v=spf1 ... | Email (SPF) | Leave alone |
TXT/CNAME selector._domainkey | Email (DKIM) | Leave alone |
TXT _dmarc | Email (DMARC) | Leave alone |
TXT google-site-verification=... and similar | Search Console, Microsoft, other services | Leave alone |
CNAMEs for autodiscover, mail, shop, app... | Email clients or other services | Leave alone unless you know they're website-only |
| CAA | Controls which certificate authorities can issue SSL | Check (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
- 01
Publish the project
A connected domain serves nothing until the project is published.
- 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 upwwwalongside it by default. - 03
Note the records shown
Lovable shows the exact records to add: A records for
@andwwwpointing at an IP address, and TXT records named_lovableand_lovable.wwwwithlovable_verify=...values. Use the values on your screen, not from any article, including this one. - 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
- 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. - Do the same for
www. Ifwwwis currently a CNAME, delete that CNAME and add the A record Lovable shows (a name can't have both a CNAME and other records). - Remove any AAAA (IPv6) records for
@andwwwthat point at the old host, otherwise some visitors will still reach it. - Add the
_lovableand_lovable.wwwTXT records. - Don't touch anything labelled email or verification in your Step 2 list.
Step 6: Verify, then test
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 Lovable | What it means | What to do |
|---|---|---|
| Verifying | Waiting to see the records. | Wait, and check with dig that the records are live at the right DNS host. |
| Setting up | Records found; certificate and connection in progress. | Usually wait. Follow any step Lovable shows. |
| Action required | The connection flow wasn't finished. | Click Complete setup. |
| Offline | Was live, DNS no longer matches. | Someone changed the records; restore the values shown. |
| Failed | Certificate 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
Scan to try LovableOr tap the code on mobileSources 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
Technical topics
Nameservers vs DNS Records: What to Change When You Move from WordPress to Lovable
Registrar, nameservers, DNS host and records explained in plain English, what each record type does, and when (rarely) you should change nameservers instead of records.
Technical topics
Keep Business Email Working When Moving a WordPress Website to Lovable
Why moving your website doesn't have to touch your email, what MX, SPF, DKIM and DMARC records do, how to protect them during the cutover, and how to keep contact-form notifications arriving.
Content and SEO
WordPress-to-Lovable SEO Migration: URLs, Redirects, Links and Validation
How to keep your search visibility when moving from WordPress: keep URLs where you can, map every changed URL to its closest match with a 301, fix internal and image links, and test it all before and after launch.
Technical topics
What Changes About Hosting When You Move from WordPress to Lovable?
What your WordPress hosting quietly provides today, which parts Lovable replaces, which stay separate, and how to compare costs and performance honestly before you cancel anything.