How to create and assign Name Servers in Linux VPS
You can use your own registered domain name as Name Servers for company branding purposes, so the records will look like the following:
You can do this in your Linux VPS through the hosting manager Console you selected upon activation, which can either be via ISPConfig Console or via cPanel / WHM Console. Instructions for both consoles are included in this guide.
To create and assign your own Name Servers in Linux VPS, these are the main steps you’ll need to do:
Access your hosting manager Console
Your hosting manager Console can be accessed either via direct link or via Account Manager.
If via direct link:
- You can use the following address to access your respective login page:
For ISPConfig Console: http://serverhostname/ipaddress:8080/
For cPanel / WHM Console: http://serverhostname/ipaddress:2087/Replace “serverhostname/ipaddress” with your appropriate server hostname or IP address.
- Enter your username and password then click Log In.
If via Account Manager:
- Click Sign Up / Log In at the top of this page.
- Ensure that Account Manager is selected from the drop-down menu.
- Enter your username and password, then click Log In.
- Click on the Visit My Account button.
- Click on Servers from the menu at the top of the page.
- Click on the server plan you wish to manage. If you only have one plan, you will automatically be redirected to the management page.
- Click on the ISPconfig button for the ISPConfig Console or click on the cPanel button for the cPanel / WHM Console, then enter your username and password if asked.
Create your Name Servers
The steps in creating your Name Servers will differ according to the respective Console you are using.
If via ISPConfig Console:
- Click on the DNS tab from the top menu.
- Click on the Add New DNS Zone with Wizard button.
- Enter the required information under DNS Zone then click Create DNS-Record.
Below is a description of the fields:
Template Set this to “Default”. Server Select the appropriate server name from the drop-down list. Client Leave this blank. Domain Enter your registered domain name: e.g. mydomain.com IP Address Enter your VPS IP Address. NS 1 Enter your first name server: e.g. ns1.mydomain.com NS 2 Enter your second name server: e.g. ns2.mydomain.com Enter your contact email address: e.g. firstname.lastname@example.org
- You will be routed back to the DNS page.
- Under DNS-Zones, click on your newly-created Zone file.
- Click on the Records tab.
- Click on the +A button.
- In the Hostname field, enter your first Name Server with a dot in the end: “ns1.mydomain.com.”
- In the IP-Address field, enter your VPS IP Address then click Save.
- Repeat steps 7 to 9 for your second Name Server: “ns2.mydomain.com.”
If via cPanel / WHM Console:
- Click on Account Functions.
- Click Create a New Account.
- In the Domain field, enter your registered domain name.
- Type and Re-type a Password for the account.
- Enter an Email address then scroll down to the bottom of the page and click Create.
- A confirmation page will appear once done.
- Click on the Home option from the top menu.
- Click on DNS Functions.
- Click Edit DNS Zone.
- Under Choose a Zone to Edit, select the newly-added domain name then click Edit.
- A list of DNS Records will appear. You will need to set the records for the following:
Domain Record Type Record to be set mydomain.com. NS Enter your first Name Server with a dot in the end: “ns1.mydomain.com.” mydomain.com. NS Enter your second Name Server with a dot in the end: “ns2.mydomain.com.” ns1 A Enter your VPS IP Address. ns2 A Enter your VPS IP Address.
- Scroll down to the bottom of the page and click Save.
- A confirmation page will appear once the settings have been correctly configured.
Assign your Name Servers
If the domain name you used in creating the Name Servers is not registered with Crazy Domains, contact your domain provider to add the records there. If the domain name is registered with us, assign the newly-created records by following the instructions below:
- Log In to your Account Manager and select Domains from the top menu.
- Click on the domain name you used for your newly-created Name Servers.
- On the Name Servers section, click on the menu button found on the right.
- Select Add Name Server from the drop-down menu.
- In the Host Name field, enter your first Name Server: “ns1.mydomain.com”, then add the corresponding IP Address in the field beside it.
- Click on the + Add Name Server option below it to add your second Name Server: “ns2.mydomain.com” and its corresponding IP address.
- Once done, click Update.
- Below the newly-added Name Servers, new Host Records will also be automatically added by the system.
Important: For the new records to work properly, ensure that all other existing Name Server records set for the domain name are removed.
Note: All DNS updates will take up to 2 hours to resolve across the global networks. After you have performed this action please wait for the update to take full effect.
Congratulations! You have just created and assigned your Name Servers in Linux VPS.
Fantastic...Thank you for your feedback =)
Sorry... Please submit a support ticket or try another search.
Support ticket has been sent to your email, please check for your ticket id.
- How to view the listening ports in Linux VPS
- How to create a Self-Signed SSL Certificate in Linux?
- How to assign a Hostname for CentOS Linux Server
- What is a Linux VPS?
- Linux Servers vs Web Hosting