imadolho

Registered
Sep 6, 2019
2
2
3
Morocco
cPanel Access Level
Root Administrator
Hey everyone, I am facing a problem with cPanel/WHM DNS and I hope to get help

I've created a cPanel/WHM image on centOS on AlibabaCloud and purchased a domain name also from Alibaba
I'd like to set this domain as the default of WHM with default Nameserver NS1 & NS2


I did all these steps started from creating an NS1 & NS2 for my domain then I update the name server on Edit DNS Zone on WHM but the problem is whenever I access the website I got an error says "The webpage at example.com might be temporarily down or it may have moved permanently to a new web address."

I am about running a Web hosting business And I'd like to set these ns1.mydomain.xyz and ns2.mydomain.xyz as the default of my WHM whenever I create a new account automatically set the NSs to the new account&Domain


I hope to get answers.

Kind Regards

Main Domain:
example.com
 
Last edited by a moderator:

ganesankittan

Member
Jul 30, 2019
10
2
3
Coimbatore
cPanel Access Level
Website Owner
Hi @imadolho

Step 1: Assign cPanel WHM Name Servers IP Addresses
You need to log into your WHM control panel utilizing the appropriate
web URL https://example.com:2083 (or IP address), find the navigation
section on the left called Basic cPanel & WHM Setup, under Server
Configuration. This is the first item on the left navigation bar. Scroll
to the bottom and you will see nameservers section.

Adding nameservers to nameserver list in WHM Adding nameservers to
nameserver list in WHM

If there are no nameservers listed here then we will need to create
them. Type the name of the nameserver you wish to set up in the text box
(ns1.example.com + ns2.example.com) and click the Assign IP Address
button. This is where you place the IP address you have received from
your host. Select Save, and that will be updated.

You will be returned to the same screen now showing your new nameserver
and the IP it has been assigned.

Step 2: Register Your cPanel WHM Name Servers
If you are setting up nameservers for a domain name that you own, you
will need to login to your account at that same registrar and use their
tool to register the new nameserver names. If your domain name is
registered through AIT, you can use this FAQ.

Step 3: Change the Name Server for Your Domain
The final step is to start using the nameservers you have created by
correctly pointing your domain(s). Log in to your registrar and edit the
assigned nameservers so that it now points at your new nameserver names.
 
Last edited by a moderator:
  • Like
Reactions: cPanelLauren