Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Multiple WHM servers under the same domain

Discussion in 'General Discussion' started by DrKnuth, Feb 16, 2018.

  1. DrKnuth

    DrKnuth Member

    Joined:
    Aug 19, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Argentina
    cPanel Access Level:
    Root Administrator
    Hi all!

    I currently have a WHM server on a VPS whose WHM panel is accessed through (let's say) whm.example.com and cpanel.example.com, respectively.

    Now I'm thinking of implementing a second WHM server under the same domain. Let's say whm2.example.com and cpanel2.example.com. For this I will have to configure the DNS server of example.com to point to the new subdomains in the new VPS. The question I have here is how do I configure Apache on the second WHM server to access through whm2 and cpanel2. I understand that this will have to be done through the WHM dashboard because if I do it through SSH the Apache configurations could be lost, right?

    Thanks in advance!

    Kind regards,
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Proxy subdomains are configured on a per-domain basis. Thus, generally the better approach is to have customers access cPanel and WHM using their own domain name (e.g. cpanel.theirdomain.tld, whm.theirdomain.tld). If you'd like to provide them with a separate link to access cPanel/WHM, you could provide them with the "host2.domain.tld/cpanel" and "host2.domain.tld/whm" URLS.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. DrKnuth

    DrKnuth Member

    Joined:
    Aug 19, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Argentina
    cPanel Access Level:
    Root Administrator
    Hi, Michael.

    Thanks for your prompt response. Reading what you tell me, I see that I was confused, because when registering a new account/domain for a client, this automatically adds a 'cpanel' record and a 'whm' record for the zone that has just been created.

    So I could access WHM by writing 'whm' with the domain of any client and also each client can access their cPanel by typing cpanel.theirdomain.tld.

    Kind regards,
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Yes, that's correct.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #4 cPanelMichael, Feb 19, 2018
    Last edited: Feb 19, 2018
  5. DrKnuth

    DrKnuth Member

    Joined:
    Aug 19, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Argentina
    cPanel Access Level:
    Root Administrator
    Hi, Michael.
    Thanks for this observation. When I created a new test account, I do not remember having specifically indicated reseller privileges. Could this privilege be enabled by default?

    Kind regards,
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Actually, you are correct. To clarify, the "whm" proxy subdomain is automatically created upon account creation. I've modified my previous post to reflect that information.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice