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.

HTTPS problem

Discussion in 'General Discussion' started by Visualq, Aug 29, 2012.

  1. Visualq

    Visualq Member

    Joined:
    May 12, 2012
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    not sure if this is the right place to ask this question however I'm currently running a server which has an ssl certificate installed for an example site: https://www.a.com a.com has it's own cpanel account. It works properly however I also have a cpanel account for b.com and c.com etc etc. But when I go to https://www.b.com or https://www.c.com I get the site for https://www.a.com. This is problematic since google managed to index certain content on https://www.c.com/content which has nothing to do with c.com. Is there a way to fix this? They all have the same IP address.

    Thanks in advance,
     
  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 :)

    SSL certificates should only be installed on accounts that have a dedicated IP address. You can assign a dedicated IP address to the account with the SSL certificate to ensure the SSL data does not load for the other accounts on that IP.

    Thank you.
     
  3. Metro2

    Metro2 Well-Known Member

    Joined:
    May 24, 2006
    Messages:
    376
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Hi Visualq,

    I could be wrong, but it sounds like you've somehow managed to redirect all SSL requests to a.com possible via a .htaccess file and/or within a script running on b.com and c.com

    I'm guessing you already know that a single SSL cert only covers a single domain name like a.com (and if it's wildcard then it will cover subdomains of a.com).

    Also, something doesn't add-up when you mention this - you say they all have their own cPanel, but all 3 domains are on the same IP address. That almost sounds like in reality b.com and c.com are Addons to a.com , and as you probably know, a single dedicated IP address is required for a single domain to have an SSL cert installed only for that domain (unless you go to extra lengths to customize your virtual containers to accommodate multiple certs/domains under the same IP).

    I'm not a "guru" or an "expert" at multi-domain cert situations, so you should definitely try to get some feedback from other users, but it sounds to me like your SSL cert is only for a.com and a.com is the "master" domain for that dedicated IP address, while the others might technically be Addon domains. That could be part of the problem right there. In most scenarios each domain with it's own SSL cert would required it's own dedicated IP address.

    - - - Updated - - -

    Or, there's the shorter version from cPanelMichael while I was typing my reply :)
     
  4. Visualq

    Visualq Member

    Joined:
    May 12, 2012
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Metro2 and cPanelMichael,

    a,b and c dot com have their own account/cpanel. Except only a.com has an SSL certificate and should be the only one. Now when I go to https://www.a.com everything works as expected. When I go to https://www.b.com I get https://www.a.com which is not what I wanted. I was hoping it would still check the vhost. However I have a spare IP address which I can assign to a.com (basically what cPanelMichael said) see if that works.

    For the records they are not meant as add-on domains. All 3 sites, a.com b.com and c.com haveing nothing to do with each other.

    Thank you both for replying.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Assigning the additional IP address to the account with the SSL certificate should resolve this issue. Please note that you may want to clear the browser and DNS cache on your computer before refreshing the page to ensure you do not see a cached version of your websites.

    Thank you.
     
  6. Visualq

    Visualq Member

    Joined:
    May 12, 2012
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi cPanelMichael,

    It appears to be working properly,

    Thanks again.
     
Loading...

Share This Page