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.
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
Nameservers decide who answers for your domain; DNS records are the answers. When you move a site from WordPress to Lovable, you normally keep your nameservers and change only the website records. Changing nameservers moves the whole zone, email included, to a new DNS host, so every record must be recreated there first. Do that only when you have a reason, such as transferring the domain into Lovable so it manages DNS for you.
How the pieces fit together
When someone types example.com, their device asks a resolver. The resolver asks the .com registry which nameservers are responsible for example.com. That list of nameservers is what you set at your registrar. The resolver then asks those nameservers for the record it needs: the A record for the website, or the MX record if it's delivering an email.
So there are two separate places to change things:
| You change... | At... | Effect |
|---|---|---|
| Nameservers | The registrar | Moves responsibility for every record to a different DNS host. |
| DNS records | The current DNS host | Changes one answer, such as where the website lives. |
How to check which nameservers are authoritative
dig NS example.com +short # Ask the registry directly, bypassing caches: dig NS example.com @a.gtld-servers.net +norecurse # for .com and .net
For .co.uk and other country domains, an online NS lookup or the WHOIS 'Name servers' field does the same job. If the registrar's dashboard shows different nameservers from what dig returns, believe dig: some dashboards show defaults, not what's in effect.
What each record type does
| Type | Purpose | Website move? |
|---|---|---|
| A | Points a name at an IPv4 address. | Yes: @ and www change to Lovable's values. |
| AAAA | Points a name at an IPv6 address. | Remove old ones for @/www that point at the WordPress host. |
| CNAME | Makes one name an alias of another name. Can't sit alongside other records on the same name. | An existing www CNAME is usually replaced. |
| TXT | Free text, used for verification and email policies (SPF, DMARC, some DKIM). | Add Lovable's _lovable TXT records. Keep all others. |
| MX | Where email for the domain is delivered. | Never touch for a website move. |
| NS | Lists nameservers; can also delegate a subdomain to other nameservers. | Don't change the root ones. Subdomain NS records (for example email-sending subdomains) stay. |
| CAA | Which certificate authorities may issue SSL for the domain. | Check they don't block Lovable's certificate authorities. |
| SRV | Locates services like SIP phones, Teams or chat. | Leave alone. |
Root domain vs www
example.com (the root, written @ in most DNS editors) and www.example.com are different names with their own records. Both need to point at the new site, and one should redirect to the other so there's a single address. In Lovable you set this with the Primary domain: the other connected address redirects to it.
Which to choose? Keep whichever the WordPress site used (check Settings > General > Site Address in WordPress, or which version your Search Console data is on). Switching from www to non-www at the same time as changing platform is an unnecessary extra variable.
When changing nameservers does make sense
- You're moving DNS hosting away from an old web host you're about to cancel. If your DNS lives with the WordPress host, cancelling hosting can delete your DNS zone and take email down with it. Moving DNS first, as its own planned step, avoids that.
- You're transferring the domain into Lovable or buying one through it, so Lovable manages DNS and writes the website records for you.
- Your current DNS host can't create a record type you need.
If you do change nameservers
Recreate every record from the old zone at the new DNS host first (MX, SPF, DKIM, DMARC, verification TXT, every CNAME), check them by querying the new nameservers directly (dig MX example.com @new-ns-host), turn off DNSSEC beforehand, and only then switch nameservers at the registrar. Do it on a different day from the website launch.
Do I need to transfer my domain to Lovable?
No. A domain registered anywhere can be connected to a Lovable project by adding records. Transferring the registration into Lovable is optional: it puts renewal and DNS in one place, and Lovable can then manage the website records itself. A transfer requires the domain to be unlocked, an authorisation (EPP) code from the current registrar and, if DNSSEC is on, switching it off first. Transfers usually take several days. Lovable's custom domain docs cover the current steps.
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
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.
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.
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.