Hays Sleiman

Active Member
Jan 19, 2016
25
2
53
Australia
cPanel Access Level
Root Administrator
Hello,

I am new to the forums and to cpanel all together so please excuse my "noobiness".

I run a small hosting business and up until this point have been using Plesk or IIS to host my websites. I am looking to move to cpanel.

I have played around with it a bit but can't seem to find the correct settings for my situation. I have installed a centos 7 server and WHM at home and wish to only host the website portion of things on cpanel. Mail and dns hosted elsewhere.

As I do not have proper nameservers, I simply use the default nameservers of the domain registrar for dns and just point the domain's website through A records (@ and www) to my home server (120.171.xx.xxx).

My question is, how do I setup WHM/cpanel to accomodate for this. So no dns is required and WHM simply points traffic to the correct account based on the account's hostname/domain name?

Would the default IP address I setup be my public address? Do I need to disable DNS somehow on WHM?

Any help and insight would be appreciated. Thankyou.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
My question is, how do I setup WHM/cpanel to accomodate for this. So no dns is required and WHM simply points traffic to the correct account based on the account's hostname/domain name?

Would the default IP address I setup be my public address? Do I need to disable DNS somehow on WHM?
Hello :)

It should actually work by default if your name servers are handled by an external server. Simply create the account in Web Host Manager and configure the "A" record from your registrar's administrative interface. You don't have to disable Bind on the cPanel server, and you can use whichever IP address you configured for the server when initially installing the operating system.

Thank you.
 

Hays Sleiman

Active Member
Jan 19, 2016
25
2
53
Australia
cPanel Access Level
Root Administrator
Thanks for the reply! That makes sense. What about the nameservers set? Since the nameservers are external, does it matter which nameservers are set in WHM -> Basic config? Can I leave them blank or will it complain?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
I am happy to see the issue is now resolved. The upside to configuring name servers on the cPanel servers is that if you ever decide to switch to local name servers, the zones will function as expected without manual modifications.

Thank you.