Adding or setup nameserver in CWP is very easy and it will take only minute to do. You have to just follow the below steps.
- Login to your CWP with your root id and password.
- Go to DNS Functions
- Choose Edit Nameserver IP
Edit nameserver page will give you 2 input fields where you have to enter nameserver records for your server. In the first input you have to enter the NS1 record and in another you have to enter the other one. You to enter the IP also in the input field so that your nameserver will bind to that IP. ex
ns1.domain.com ——- 184.108.40.206
ns2.domain.com ——- 220.127.116.11
If you have only 1 IP than there is no any issue you can enter the same IP in both the nameserver.
This is how you can add the nameserver in for your server.
Most important part is you should have these child nameserver with your domain provider otherwise they will not work.
You can create the nameserver with any name it can be your name your mother name your country name your friend name anything you want.
If they wont work than check that you have the “A” name entry in your zone file with the same nameserver name. ex-
ns1.domain.com “A” 18.104.22.168
ns2.domain.com “A” 22.214.171.124
Also check that you have the “NS” entries in your zone file. This zone file is availabel with your CWP.
In the next post i will show you that how you can add free SSL Certificate from letsencrypt and use it over your domain.
Hope you like our article over the setup Nameserver in CWP if you have anything to share with us please comment below we will surely reply.