The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

2 Hosts 2 different IP's and same hostname

Discussion in 'Security' started by alhamdulillah, Sep 5, 2014.

  1. alhamdulillah

    alhamdulillah Registered

    Joined:
    Sep 5, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    We have 2 WHM hosts. 1 of them we have been using for years but because of more hosting we needed to add a second WHM host to host the websites. We want to use the same hostname but different sub. So this is the new situation:

    1st server with cpanel has hostname: https://cpanel.hostname.com and has his own different IP
    2nd server with cpanel has hostname: https://cp.hostname.com and has his own different IP

    1st server is working with the SSL cert for a long time now. How do we setup the SSL on the second server? Because the domain hostname.com is an existing website hosted on the 1st server. We cannot setup SSL for the Host because you have to select a domainname, which is on the 1st server. Please help us out, how do we setup SSL for the second server.

    I know it has to be a wildcard.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You have to setup a separate SSL certificate for the hostname of the second server. Note that it's important not to confuse the term "hostname" with "domain name". You are using the same "domain name" but each server has it's own separate "hostname" in the scenario you described.

    Thank you.
     
  3. alhamdulillah

    alhamdulillah Registered

    Joined:
    Sep 5, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    Thank for your quick answer. Well I did the following:

    The hostname is cp.hostname.com so I generated a CSR for this cp.hostname.com and have bought a simple cert for this. I try to install it, its successfull but it doesnt show the cert. It still says that its self signed. Please explain how we should install the cert for this. Does the domain name, have to be hosted on this server? No right? This is not required correct? Because this domainname is hosted on the first server i.e. cpanel.hostname.com

    Please explain how we should proceed..
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
  5. alhamdulillah

    alhamdulillah Registered

    Joined:
    Sep 5, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Both of them show this. Thanks for the reply
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you verify that you have installed the service certificate via "WHM Home » Service Configuration » Manage Service SSL Certificates"?

    Thank you.
     
  7. alhamdulillah

    alhamdulillah Registered

    Joined:
    Sep 5, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    This was the solution my friend. I have found this solution on other page. This is solved thanks.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page