Article overview

Help article

Setting an A-record

In this article, we explain how to set an A record within the DNS settings of your domain name.

The A in A record stands for 'Address'. With this type of record, you link a (sub)domain to a server by means of an IP address (think of a web server or a mail server). The A record is for example used to make sure that the website on your webhosting subscription is available through your domain name.

You can only enter IPv4 addresses when using A records. IPv6 addresses can be set with AAAA records.


Where do I add an A record?

You can add all your DNS records easily and free of charge via your control panel. Go to the 'Domain & Hosting' tab and click the domain in the left column for which you want to set the A record (do not check).

Now scroll to 'Advanced Domain Settings', followed by 'DNS'. If you do not see this yet, first click the switch behind 'TransIP settings' so the TransIP settings are switched off. This will show an overview of your DNS records.

advanced domain settings


How do I set an A record?

In the example below, you see an A record for the site-example.com domain. This record is set for the main domain (without www in front) and points to the IPv4 address 37.97.254.27.

domain a record

This is the IP address of our 'Reserved' page. If we enter site-example.com in the address bar of a browser, we will arrive at the TransIP 'Reserved'-page.


Name

You set an A record by starting with the name. Here you specify for which part of the domain the DNS record should work. You can set an A record for both your primary domain and a subdomain.

  • If you want to set an A record for a primary domain, enter an @ as a name.
  • If you want to set an A record for a subdomain, only enter the subdomain as the name (without putting the domain name after it). Our DNS software adds your domain name in the background. Below you can see an example of a correct A record for the subdomain admin.site-example.com.
    subdomain a record

TTL

The 'TTL' of a DNS record determines how long the record can remain in the cache. We recommend keeping the TTL low, for example at 1 or 5 minutes.


Type

Because we're configuring an A record, choose 'A' under 'Type'.


Value

As 'Value', you enter the IP address of the server you want your (sub)domain to point to. Once you have added your A record, click 'Save' in the bottom right of the DNS section.


To make your primary domain with www in front of it accessible, add a DNS record with the name 'www'. Then choose CNAME as type and an '@' as value. This way, the DNS record for the subdomain 'www' always points to the same record as the A and / or AAAA record of your primary domain.
a to www record

Keep in mind that it can take up to 24 hours before changes to DNS settings to be implemented globally. This is related to the way external systems process these changes. You usually see these changes well within 24 hours.


This article has discussed the setting of an A record. For a general explanation about DNS records and entering them, see the article ‘What is DNS?'.

If you want to know how to, amongst other things, set the A records of your web hosting subscription, use the article 'The DNS settings of my web hosting package'.

Should you have any questions left regarding this article, do not hesitate to contact our support department. You can reach them via the ‘Contact Us’ button at the bottom of this page.

If you want to discuss this article with other users, please leave a message under 'Comments'.

Do you have a good idea?

Give us your idea! If it's popular we'll add it to the wishlist!

Has this article been helpful?

Create an account or log in to leave a rating.

Comments

Create an account or log in to be able to leave a comment.

Are you stuck?

Ask one of our specialists to assist you

Contact us