Websites and Tech

A Record

Also called address record, DNS A record

The DNS entry that points a domain or subdomain to the IPv4 address of the server that hosts it.

Quick facts: A Record

Category
Websites and Tech
Also called
address record, DNS A record
Level
Intermediate
Affects
Website availability, hosting moves, site launches, email delivery when DNS is moved
Where to see it
Your DNS provider or registrar dashboard, online DNS lookup tools, dig or nslookup, Cloudflare
In this article4
  1. How an A record works
  2. Why it matters
  3. Common mistakes
  4. How to act on it

An A record is the entry in a domain’s DNS settings that points a name, such as example.co.uk or www.example.co.uk, to the IPv4 address of the server that hosts it. When someone types your address, the A record is what tells their browser which machine to ask for the page.

How an A record works

Every domain has a zone file in the domain name system: a list of records saying where its website, email and other services live. An A record in that list has four parts:

  • Host or name. “@” usually means the root domain; “www” means the www subdomain.
  • Type. A, for address.
  • Value. An IPv4 address, four numbers separated by dots, such as 203.0.113.10.
  • TTL. How long, in seconds, other systems may cache the answer before asking again.

An AAAA record does the same job for the newer IPv6 addresses. A CNAME record is different: it points a name at another name rather than at an address, which suits subdomains on hosted platforms. The root domain cannot normally hold a CNAME, which is why platforms such as Shopify and Squarespace give you an A record to add for the root and a CNAME for www.

The records only count where your nameservers point. If your domain is registered with one company but its nameservers point to your host or to Cloudflare, it is the zone at that second company that the world reads. Editing the copy at the registrar changes nothing.

Why it matters

Most of the time you never think about A records. They matter at three moments: launching a site, moving hosting and changing platform. Get them wrong and the site goes offline, or worse, half your visitors see the new site and half the old one. That split is confusing for customers and for Google, especially during a redesign where URLs have changed too.

They also cause collateral damage. Moving nameservers to a new host without copying across the MX records and TXT records is one of the commonest ways small UK businesses lose their email for a day during a website launch.

Common mistakes

  • Editing records in the wrong place At the registrar when the nameservers point somewhere else.
  • Forgetting www. The root domain moves to the new server, while www still points at the old one.
  • Two A records left in place Old and new, so traffic is split between servers.
  • A long TTL during a move So the old address stays cached for a day or more.
  • Switching off the old server too early Before every resolver has picked up the change.

How to act on it

Before any change, work out where your DNS is actually managed by looking up the nameservers, then export or screenshot the full zone so you can restore it. A day or two before a planned move, lower the TTL on the records you will change to a few minutes. Make the change, then check it with a DNS lookup tool that queries from several locations, and keep the old server running until traffic to it has stopped.

Once the move is settled, raise the TTL again and confirm email, Search Console verification and any third-party services still work. DNS changes are a standard step in a hosting or platform move, and I check them as part of website migration SEO.

Do and do not

Do

  • Find where DNS is managed before editing
  • Save a copy of the whole zone first
  • Lower the TTL a day or two before a move

Do not

  • Leave old and new A records live together
  • Forget the www record
  • Move nameservers without copying MX and TXT records

Questions people ask about this

What is the difference between an A record and a CNAME?

An A record points a name directly at an IPv4 address. A CNAME points a name at another name, which then resolves to an address. Use an A record for the root domain and wherever your host gives you an IP address; use a CNAME for subdomains when a platform asks you to point at its hostname.

How long does an A record change take to work?

It depends mainly on the TTL that was set before the change. With a low TTL, most visitors see the new address within minutes; with a long one, some may see the old address for a day or more. Lowering the TTL a day or two before a planned move keeps the switch-over short.

Does changing my A record affect SEO?

Changing the server behind a domain does not affect rankings in itself, provided the site stays available and the URLs and content stay the same. Problems come from downtime, from old and new servers serving different versions at once, or from URL changes made at the same time without redirects.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.