Incapio - Blog Posts © 2022 by Incapio is licensed under CC BY-SA 4.0 

How to Set Up Default (Custom) Nameservers in WHM (WebHost Manager) | cPanel

Updated: Mar 12

What is an Authoritative Nameserver?

An authoritative Nameserver is a DNS Server that stores the real domain address records.

For instance, if I had a DNS server with an incapio.com A record on my network, my DNS server would be authoritative to the incapio.com domain. If customers needed to visit incapio.com, they could query my DNS server and obtain a reply.



What is a Nameserver?


As human beings need domain names to search a website, computers require IP addresses to tell us where to go on the internet. The Domain Name System (DNS) comes into play here. The Domain Name System is a database that functions similarly to a computer directory, converting a Domain Name into a computer-readable IP Address.

Name servers are a key element of the entire operation of a DNS. These specialized internet servers manage your device's requests regarding the location and records of a domain name.

So when you type a domain name in your browser, Name Servers will provide your browser with the IP address of that domain.

For information on how name servers operate while you are visiting a website, see the illustration steps. I will use incapio.com as an example in this instance.

  • First, Your browser utilizes DNS Resolver to search incapio.com's Name Servers.

  • Retrieved the nameservers ns1 and ns2.incapio.org.

  • Then these Name Servers search out incapio.com IP addresses.

  • Your browser gets the answer: 104.21.32.172– the IP address of incapio.com.


The various most used types of records are as follows:

Type

Description

Function

A

Address Record

The record containing a domain's IP address.

CNAME

Canonical name record

It simply forwards one domain or subdomain to another without providing an IP address.

MX

Mail exchange record

A record that directs messages to a certain email server

PTR

PTR Resource Record

A domain name that is used in reverse lookups

SOA

Start of [a zone of] authority record

A record that stores administrative information about a domain

TXT

Text record

This type of record allows an administrator to save text notes

NS

Name server record

The name server for a DNS entry is stored in an NS record

The above explanation provides a brief overview of the Nameserver.


What are the essential things that we need to establish authoritative name servers?


Name

Description

Resolution

A Record

IPv4

Used to construct Name servers ns1 and ns2.

E-Mail ID

An admin email ID is used and is also treated as an RNAME in SOA.

Registration

Hostnames

Registration under GoDaddy.

IP Address

IPv4 Address

Your VPS Primary IP Address

Two domains

TLD's

Such as yourdomain.com and yourdomain.org, where yourdomain.org is used to build authoritative Name servers while yourdomain.com is used to test them.

VPS

GoDaddy Gen 4 VPS

A Running WHM server

Now, Open your account and scroll down to server section, and select "Manage" to access the server area. You should see the Launch WHM option on the right side of the server dashboard and click on the "Launch WHM" to access the interface.


You should see several options on the left side of the WHM interface; click on "Basic WebHost Manager Setup" Under the "Server configuration".

Add one or more email addresses under contact information. These email addresses serve as the RNAME in the Start of Authority record.


Now go to your GoDaddy account, click on my hosting menu, and right-click on the manage your products option to open it in a new window.

On your product page, you should notice the domain section. I am using my incapio.org principal domain to construct my default Name Server. However, you may make your default name servers by using any domain extension.

An essential aspect to remember here is that the default Nameserver formed with the domain should not be hosted anywhere and should never alter any information, particularly nameservers.

Now, click on the dropdown menu at the top of the domain, choose the manage DNS option. The website then directs you to DNS administration, where you may configure DNS records. Next, scroll down until you notice the 'ADD' option below. Click on ADD, choose the type of record to A.


In general, an A record is commonly used to describe an IPv4 address.

Next, type your Nameserver, such as ns1, in the host field. Then, switch back to the server dashboard, copy your VPS IP address, paste it into the points to field, and set the TTL to 600 before saving, and also add a secondary Nameserver, click on ADD and type ns2 in the host field, paste IP address, and set the TTL to 600 and save it.


Return to the WHM interface, and scroll down to the bottom, under nameserver section enter the newly configured Nameservers.


Click on the "Configure address records" setup; and confirm the IPv4 address to that Nameserver and click on configure address records.


We should notice a confirmation window that the following ipv4 address has been assigned to our primary Nameserver and close the window.


Next, we need to configure the secondary Nameserver, click on configure address records, confirm the address records, close the window, and click on save changes.


Once the changes have been made, We should observe that the ns1 and ns2 secureserver.net nameservers changed to ns1 and ns2 yourdomain.org.

495 views0 comments

Do you need assistance? Visit Forum to join the conversation.