DNS basics for store owners: A records, CNAMEs and email (MX) records
A plain-English guide to the DNS records behind your store and email, what to copy before a move, and how to avoid breaking your site or inbox.

- DNS is the address book that tells the internet where your site and email live
- Copy every record before changing anything, especially MX and TXT records for email
- Lower the TTL a day ahead to make changes spread faster
DNS sounds technical, but a store owner only needs a handful of ideas. Understand them and a domain change stops being frightening.
What DNS does
DNS (Domain Name System) turns a name like yourbrand.com into the address of the computer that serves your site. It also tells the world where your email goes. You manage it at your domain registrar or DNS provider.
The records you will meet
| Record | What it does | Example use |
|---|---|---|
| A | Points a name to an IPv4 address | yourbrand.com to your store's server |
| AAAA | Same, for IPv6 | Optional |
| CNAME | Points a name to another name | www.yourbrand.com to your store's address |
| MX | Says where email is delivered | Google Workspace, Zoho Mail, etc. |
| TXT | Holds text for verification and email security | SPF, DKIM, DMARC, site verification |
| NS | Names the servers that hold your DNS | Set at the registrar |
Apex and www
The "apex" is the bare domain (yourbrand.com). The "www" version is a subdomain. Many platforms ask for an A record at the apex and a CNAME for www. Set both, and redirect one to the other so that you have a single main address.
Email records matter most
If your business email uses your domain, its MX and TXT records must stay exactly as they are when you point the website elsewhere. The usual mistake is deleting all records and starting again. Copy them first. Records like SPF, DKIM and DMARC help your mail avoid spam folders, so keep them too.
TTL and propagation
TTL (time to live) is how long servers remember an answer, in seconds. A TTL of 3,600 means about an hour. After you change a record, different networks see the change at different times, which is why "propagation" can take up to 48 hours. Lower the TTL to 300 a day before a planned move, then raise it afterwards.
A safe change routine
- Screenshot all existing records.
- Lower the TTL a day ahead.
- Add the new A and CNAME records (or edit the existing ones).
- Leave MX and TXT records alone unless you are changing email too.
- Check the site from another network, such as mobile data, and send a test email to your domain.
- Raise the TTL again when all is well.
Checking your work
Free online DNS lookup tools show what the world sees. If something is wrong, restore the old records from your screenshot, which is why you took it.
Where to learn more
Read connect vs transfer and how to migrate.
What to do next
Log in to your registrar and view your DNS records today. Knowing what you have, before you need to change it, is half the job.
Frequently asked questions
Why is my new site not showing after I changed DNS?
Your device may be using a cached answer. Wait, try mobile data, and check that the records are exactly as your platform says.
Do I need an A record or a CNAME?
Use what your platform tells you. Many use an A record for the bare domain and a CNAME for www.
Can I break my email by changing my website records?
Yes, if you delete or change MX and TXT records. Leave them alone unless you are moving email too.

