Setting up the Nameserver in cPanel
Connect the Domain Name with Hosting Package
When you purchase a hosting package, the next step is to connect the domain name with the hosting package you have purchased. If you purchase the domain name and hosting from the same service provider then there are chances that your Nameservers are already setup. But if you purchase the domain name and hosting from different providers then you will have to add the new Nameserver to the domain name.
Nameservers as an important part of Domain Name System
Nameservers is one of the part of a Domain Name System. The DNS servers keeps the record of the domain name and keeps the information to which IP address it is connected. The Nameservers helps the user to use the domain name instead of an IP address. When a user types in the URL or domain name then the DNS server informs the web browser from which server it should load the content. In simple terms it can be said that Nameservers defines the DNS provider of a domain name.
Get the Details of the Nameserver
Once you are provided with an email of the login details of the web server. You will also be provided with the details of the Nameservers. Majority of the hosting providers uses their own DNS servers. To set up the Nameservers, you will have to login into the domain control panel and update the Nameservers by replacement of the old one.
Domain Nameservers takes some time in propagating through different DNS servers across the world. These changes may reflect within a period of time or it might take upto 48 hours.
Domain Nameservers take time to propagate through different DNS servers around the globe, the change may reflect instantly or it may take up to 48 hours of time according to the DNS servers of hosting provider.
Name Server Module is used to allow websites to use domain names instead of IP addresses, which would be much harder to remember. A name server translates domain names into IP addresses. This makes it possible for a user to access a website by typing in the domain name instead of the website's actual IP address. For example, when you type in "www.hostingraja.in" the request gets sent to demo site's nameserver which returns the IP address of the hostingraja site website.
Each domain name must have at least two name servers listed when the domain is registered. These name servers are commonly named ns1.servername.com and ns2.servername.com, where "servername" is the name of the server. The first server listed is the primary server, while the second is used as a backup server if the first server is not responding. Once you update with the name server it takes around 48 hours to get into reflecting, usually it takes 3 to 4 hours because it takes time for each DNS server to update other servers around the world about the change you made.The main advantage of using this module is you can change name server whenever you want and if do not want your domain to our name server you will be not able to use our web and email systems to configure your domain name, nor will you be able to use our hosting solutions.To check your name server details you can go to https://intodns.com/ and enter your domain and submit.
Step By Step details how name server process works:
Step1: Enter Domain name into the address bar of browser, for example, demosite.com.
Step2: Your System makes use of DNS to search the name servers for web address which you have written.
Step3: Let's say ns1.demosite.com and ns2.demosite.com are retrieved as the nameservers for the domain.
Step4: Your System requests for the IP address from the nameservers.
Step5: Once it’s gets submitted, your System sends a request to the IP address, including the exact page which you want to reach.
Step6: The web server hosting www.demosite.com sends the requested page back to your web browser.