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!

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:
    209
    Likes Received:
    0
    Trophy Points:
    66
    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:
    218
    Likes Received:
    3
    Trophy Points:
    68
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. 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 :)

    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.
     
    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