Private Name Servers Update Cpanel Settings.

Operating System & Version
Centos 7.7
cPanel & WHM Version
86.0.18

jayantsoni0802

Registered
Apr 14, 2020
2
0
1
India
cPanel Access Level
Root Administrator
Agenda: Create a cpanel account with private name servers and print "Hi".

I need suggestions on how to proceed further.

I have domain www.example1.com from godaddy.

Pointed it to Aws Ec2 instance. Created Private Name Servers. Both of them ping. Format is ns1.example1.com AND ns2.example1.com

When I login first in whmcs, the two name servers shown were of the format ns1.example1.com AND ns2.example1.com

As I saw in the tutorial, I edited the dns zone in the main hostname, to my private name server and added a record too. Somehow got it workiing. Made an index file and wrote "Hi" in it. On opening example1.com, "Hi" was printed.

Another domain I have from Another Godaddy Account. www.example2.com.

In order to create a new account in whmcs. I updated the name server of www.example2.com to [ ns1.example1.com AND ns2.example1.com ]

Did I do the above step correct? Both domains are from another account.

Now moving forward, I tried to create the cpanel account for www.example2.com. Nameservers used is [ ns1.example1.com AND ns2.example1.com ] . But it says Dns Probe Finished.

What steps with proper should I take to add the example2.com through whmcs panel account?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,297
1,251
313
Houston
Hello,


Did you create your nameservers at WHM>>Server Configuration>>Basic WebHost Manager Setup? By doing this those nameservers will automatically be assigned to accounts added to the cPanel server, then all you'll need to do is go to the registrar and point the domain to the nameservers your created.

For setting up /configuring WHMCS I'd suggest looking at their documentation here: Setup/Configuration - WHMCS Documentation