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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED SSL for aliases

Discussion in 'Security' started by rahnev, Sep 13, 2017.

  1. rahnev

    rahnev Active Member

    Joined:
    Jul 6, 2016
    Messages:
    33
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Bulgaria
    cPanel Access Level:
    Root Administrator
    I have the following problem:

    1. maindomain.com has alias alias.com
    2. Generate SSL certificate for maindomain.com - it includes maindomain.com and www.maindomain.com (not via AutoSSL)
    3. Install SSL to maindomain.com
    4. SSL is installed also for alias.com but it is not valid and shows warning. I choose only the maindomain.com from Domain dropdown in Manage Installed SSL Websites in cPanel.

    Is there a way to install SSL only for main domain and not for alias?
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,447
    Likes Received:
    35
    Trophy Points:
    178
    cPanel Access Level:
    Root Administrator
    Just don't link to https://alias.com?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,127
    Likes Received:
    1,366
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Parked domains (aliases) cannot have their own separate SSL certificate because they do not have their own Virtual Host. You would have to remove the domain name as a parked domain and add it as an addon domain to allow for the installation of it's own SSL certificate, or to allow it to have no SSL certificate.

    Thank you.
     
  4. rahnev

    rahnev Active Member

    Joined:
    Jul 6, 2016
    Messages:
    33
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Bulgaria
    cPanel Access Level:
    Root Administrator
    Thanks @cPanelMichael. That is what I wanted - If I install the SSL on the main domain, to be installed only on it and not on aliases. But as I can I have to add alias.com as addon domain and then it will be OK.
     
    cPanelMichael likes this.
Loading...

Share This Page