A records: what they are and how to add one
What an A record does, when to use one instead of a CNAME, and how to add or edit an A record in DirectAdmin.
On this page
An A record maps a name to an IPv4 address. It’s the record that tells browsers which server your website is on.
yourdomain.co.uk. 3600 IN A 203.0.113.10That reads: the name yourdomain.co.uk, cached for 3600 seconds, has the IPv4 address 203.0.113.10.
When you need one
- Pointing the bare domain (
@) at a server — this must be an A record, not a CNAME - Pointing a subdomain at a different server, such as a service outside Traxio
- Connecting a domain to Traxio while DNS stays elsewhere (Connecting a domain without changing nameservers (using A records))
With Traxio nameservers, the A records for your website are created for you.
Adding an A record in DirectAdmin
- Open Account Manager › DNS Management and choose your domain.
- Select Add Record and choose type A.
- Name: the subdomain, such as
app. For the bare domain, use the domain itself. - Value: the IPv4 address, such as
198.51.100.25. - TTL: leave the default unless you’re planning a change.
- Save.
Editing or replacing one
Edit the existing record rather than adding a second one with the same name. Two A records for one name make DNS return both addresses in turn, so visitors randomly reach either server.
Checking it
dig app.yourdomain.co.uk A +shortThe address you entered should come back. How to check DNS records (dig, nslookup and online tools)
Prefer to follow along?
- Add a DNS record and prove it works
Intermediate · 15 min
If it doesn’t work
These guides cover the most common problems, starting with what you can see. Or browse every fix for a common problem.
- DNS changes not workingYou changed a DNS record and nothing happened. How to tell whether it’s caching, the wrong DNS provider, a naming mistake or a conflicting record.
- Domain not resolving: “This site can’t be reached”Fix DNS_PROBE_FINISHED_NXDOMAIN and ‘server not found’: check the domain is registered, nameservers are set, records exist and DNSSEC isn’t broken.
- Email stopped working after changing nameserversWhy mail stops when you move a domain’s DNS, and how to restore Microsoft 365, Google Workspace or old-host email records at Traxio.
Common questions
What is an A record?
An A record points a domain name at an IPv4 address — the numeric address of the server holding your site. It is the record that decides which server a browser connects to when someone visits your domain.
This is a general web-hosting explanation, not specific to Traxio.
A typical A record reads: @ A 203.0.113.10, where @ means the domain itself.
The AAAA record does exactly the same job for IPv6 addresses. If both exist, modern devices generally prefer the IPv6 one, which is why a stale AAAA record can make a site unreachable for some visitors and fine for others.
Spotted something out of date or unclear? Tell us and we’ll fix it.