DNS & technology

Set an A record for your domain

Connect a domain to an IPv4 address with an A record. Understand @, www and why mail records usually stay separate.

Reviewed and updated:

Set an A record for your domain: overview showing Root host, A record, IPv4 server

An A record maps a hostname to an IPv4 address. Use the specific address supplied by your website provider.

Choose the correct hostname

Panels often represent the root as @ or an empty field. www is separate. A platform may require an A record at the root and CNAME for www; follow its exact instructions.

Enter an IPv4 address, not a URL

Enter an IPv4 address, not a URL, port or path. 192.0.2.10 is a documentation example only. IPv6 addresses belong in AAAA records.

Set an A record for your domain: workflow showing Root host, A record, IPv4 server
Root host → A record → IPv4 server. Illustration: nlnamen.nl editorial team.

Review existing records

Preserve mail records when moving only the website. Check for an old AAAA record pointing elsewhere; IPv6-capable visitors may otherwise reach a different server.

Your practical checklist

  • Use your provider’s IPv4 address.
  • Configure root and www deliberately.
  • Save the previous value.
  • Check existing AAAA records.
In practice
@ A 192.0.2.10 is a documentation example; replace it with the actual provider address.

Sources and further reading

Registration rules and provider functions can change. Check the current requirements for your domain before ordering or changing services.