Skip to main content
All CollectionsDNS
DNS records (TXT, MX, A, and more)
DNS records (TXT, MX, A, and more)

This article will present how to set DNS records for a domain.

Richard Grigoryan avatar
Written by Richard Grigoryan
Updated over a week ago

1. If the domain is not yet attached to a hosting service:

You first need to make sure your domain is attached to a hosting service.

  1. Log in to your Name.am account

  2. Hover over "My Services" or your username and select "My Domains"

  3. At the right side of each domain there is a "Configure" icon, click it.




  4. At the configuration panel you will see all available configurations and details, continue with the "Nameservers & DNS" tab.

There are two options to choose: Nameserver and DNS management (DNS Record).

To manage DNS records, enable it from above by ticking the box.

If the site is already running on nameservers, after enabling DNS management, the site will become unreachable until you reattach the site to the host via DNS records.

After enabling DNS management, you will see the following fields.

Congratulations, your domain is now operating under custom DNS configurations.

Let's start with TXT records.

The DNS ‘text’ (TXT) record lets a domain administrator enter text into the Domain Name System (DNS).

For this example consider the case where we need to add a TXT record for the main "example.am" domain. The text looks like this: "name-verification. XXXXXXXX"

To add a TXT type record do the following:

  1. Select the TXT option from the "Type" list.

  2. In the "Host" field, you need to enter the @ symbol (by default the @ symbol will already be there).

  3. You can leave the TTL field unchanged if you don't need to specify a clear TTL

  4. In the Answer field put the content of the configuration in the same way, in our example it looks like this: "name-verification. XXXXXXXX"

  5. Confirm the configuration by pressing the "Add" button.

A domain can have an unlimited number of DNS records. You need to install the DNS records as specified by the company providing the given service.

Here's what the end result should look like.

If you wish to apply the TXT record to a subdomain, type ONLY the name of the subdomain. For example if instead of the @ symbol you write "mysubdomain", the TXT record will only apply to "mysubdomain.example.am" instead of "example.am".

A, MX and other types of records:

These are added with the same logic. You need to select the type of configuration from the Type list, after which the necessary fields will open. Don't forget the @ sign, which means that the entry is for the main domain, not a subdomain.

Note that DNS changes must still propagate globally, which takes some time, ranging from a few minutes to up to 72 hours.

.

2. If the domain already has a hosting attached

If your domain is already being hosted you just need to set some configurations

If the domain is hosted via "Nameservers" it should remain unchanged, the DNS management should thus be done in the hosting provider's interface.

If your domain is being hosted by Name.am, the DNS management system (cPanel), can be accessed directly from your Name.am account.

You can access the cPanel system by hovering your mouse over your username or the "My Services" tab, then choosing "My Hostings". The "cPanel Manage" icon should be visible.

After logging into cPanel, in the "Domains" section there is a button to the "Zone Editor" subsection. Open it.

This area is designated for managing DNS records.

You can use the corresponding buttons to quickly add A, CNAME, MX records, OR click "Manage", where you will see what DNS records are currently available on the domain, which ensure the normal operation of the website. From here you can also add your desired record by clicking the "+ Add Record" button, selecting the new record type.

To add a DNS record from cPanel, in the Name field, you must write the full domain, either separately or together with the subdomain, fill in the other fields and click "Add Record".

For example, if the TXT record described above needs to be placed on the main example.am domain, then it should be filled in as follows:

Field

Fill

Name

(optionalsubdomain.)example.am

TTL

you can leave the TTL unchanged

Type

in this case TXT

Record

copy and paste DNS record

Changes made here also need from several minutes to several hours for the changes to become available to the entire Internet (DNS propagation).

How to check DNS records?

You just need to enter the domain, select the type of DNS config. you are looking for and click "Search".

As you can see in this example, the test TXT record is already available from all over the world and it only took about 15 minutes.

I hope this guide was accessible and useful :)

Did this answer your question?