A nameserver is a web server that contains an extensive network of servers that is managed by a web host designated for managing the domain names associated with the web host provider’ accounts. It serves as the central registry, permanently connected to the internet, matching domain names to particular IP addresses.
A domain name is like an IP address which directs IP queries to the particular domain. It usually consists of the dot (.) with common top-level domains such as .com, .org, and .net. The left part of the dot is usually the portion where domain hosts can create unique labels to their domains.
As such, when others visit your domain name into their browser, the internet uses your domain name to match it with the associated IP address. In this regard, it is like your “phonebook.” Visitors can visit you without needing to input your IP address because labels are easier to memorize than a long series of numbers.
Now, you want to install your own nameserver in the domain. This can be useful for when you begin correctly pointing your own nameserver to your domain, you can already use the DNS tools in the cPanel and WHM interfaces to configure your zone files.
However, remember to do this at off-peak hours when traffic is low since the domain will temporarily stop working when it senses that new settings are propagating throughout the internet.
But before this, you should register your domain name registrar. Please take note that only one nameserver is allowed for each IP address. You will need to register another nameserver for another IP address. The cPanel documentation FAQ listed a set of instructions of this registration process for few registrars:
STEP 1: Click Domain Manager.
STEP 2: Click the Change nameserver information icon next to your domain.
STEP 3: Click the Create Nameserver link at the top of the page.
STEP 4: Enter the name of the new domain nameserver in the available text box.
STEP 5: Enter the IP address that corresponds to the nameserver.
STEP 6: Click Create Nameserver.
STEP 1: Click Select domain names.
STEP 2: Click Register DNS.
STEP 3: Use the Register a Nameserver Name tool in the first section of the page to create your nameserver.
STEP 1: Under the Domains heading, click Launch.
STEP 2: Click the domain name for which you wish to set up your nameserver.
STEP 3: In the Settings tab, click Manage.
STEP 4: Click Add Hostname.
STEP 5: Enter the hostname you wish to register.
STEP 6: Enter the IP address you wish to add to the host.
STEP 1: Click your domain name to access the Domain Management interface
STEP 2: Scroll down to the Advanced Technical Settings section.
STEP 3: Click Manage Registered Name Servers.
STEP 4: Scroll down to REGISTER NAME SERVER.
STEP 5: Enter the desired prefix for the DNS Server.
STEP 6: Enter the IP Address (A Record) in the points to text box.
STEP 7: Click Continue.