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.

redirect to specify site on SSL

Discussion in 'General Discussion' started by mahdy_sharifi, Nov 25, 2013.

  1. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello :

    on our server , when open any domain (eveydomin on server) with https this site redirect to specify another domain on server , all domain with https open on any specidy domain. only when use https.

    How can resolve this ?
     
  2. MikeDVB

    MikeDVB Well-Known Member
    PartnerNOC

    Joined:
    Jun 4, 2008
    Messages:
    212
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Indiana, USA
    Create a self-signed SSL certificate for the individual domains and then install it. This will show an SSL warning but, at least, once accepted it will drop you to the correct site/account.

    It would be best, imho, if there were default virtual hosts for port 443 so that, if an SSL was not installed on an account, perhaps it could auto-redirect internally to the non-SSL [port 80] version.

    I believe I've asked cPanel for something like this in the past but never followed up on it as rarely is it an issue. Most people don't take a site and throw "https" in front of it manually.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    The websites will display the SSL content of the primary SSL certificate installed on the IP address. You can change the "Primary" certificate installed on an IP address by using the "Make Primary" option in:

    "WHM Home » SSL/TLS » Manage SSL Hosts"

    Some hosts prefer to use only dedicated IP addresses for SSL certificates to avoid this issue, or they install a SSL certificate for the hostname and make it the primary certificate.

    Thank you.
     
Loading...

Share This Page