How do I create an A record?

Overview

When a browser navigates to a web page, it does so by using the domain name to access the IP address, which is held in the name servers. Domain names are effectively pointers to web hosting or email hosting services. Domain names connect to these services via the Name Servers which in turn, point to the Zone records. A-records (or Address records) are one of the zone record types in a zone file, and are used to define the IP Address, or the location at which the hosting services reside.

Example:

Name

TTL

Record  Class

Record  Type

Host

mydomainname.com.au

3600

IN

A

202.124.241.178

www

3600

IN

A

202.124.241.178

 


In this example, web hosting for mydomainname.com.au can be found at the IP Address:202.124.241.178. The www prefix is also delegated to the same IP address, this has to be added separately because www. acts like a sub-domain and often web users don't type the www. into a browser.

A-records may be used to point to different IP addresses for different services, such as mail, databases or even different websites.

Changing A records

Cloud Hosting Customers

To point your website records to your own IP:

  1. Log into your Account
  2. Manage the domain you wish to make changes to
  3. Click Zone Manager in the left menu
  4. Select A Record in the drop down menu and click 'Create new record'
  5. In the following page, type:
    1. Name - name used in the A-record. we use two A-records when pointed to hosting: the domain name and the www prefix. Leave the name field blank where the domain name is pointed to an IP address
    2. TTL - Time to Live
    3. Host - the IP address of the A-record.
  6. Click [Add Record]

Note: Standard DNS propagation time of up to two hours may apply. Refreshing the cache may help to resolve the redirection. Press CTRL-F5 (PC) or CMD-R(Mac).

Subdomains

Subdomains can be created in the same way. In the Name field, type the subdomain hostname, e.g. mail => mail.mydomainname.com.au.

Record already exists:

A-records are automatically set by the automation system to facilitate free and paid services. The default A-records can be removed if hosting is required elsewhere.

cPanel Hosting Customers

  1. Log into your Account
  2. Manage the domain you wish to make changes to
  3. Click cPanel login
  4. Under the Domains area, click Advanced DNS Zone Editor
  5. Fill in the text boxes under Add a Record:
    1. Name - mail.mydomainname.com.au
    2. TTL - 14400
    3. Type - A
    4. Address - custom IP address for the email server
  6. Click [Add Record] to save the configuration

Note: Standard DNS propagation time of up to two hours will apply here. Refreshing the cache may help to resolve the redirection. Press CTRL-F5 (PC) or CMD-R (Mac).

Was this article helpful?
0 out of 0 found this helpful