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!

Default SSL host

Discussion in 'Bind/DNS/Nameserver' started by Josh26, Oct 27, 2014.

  1. Josh26

    Josh26 Member

    May 17, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider

    I have an issue involving the use of SSL on a cPanel host.

    Consider a host with the following domains:

    Now consider that the owners of and have purchased, installed and configured an SSL certificate for their domains, and both and work as desired.

    Unfortunately, this leads to a concern that a member of the public attempting to access lands on an apparently default SSL server of This leads first to a browser SSL security error, followed by being shown a completely different website.

    Is there any available method of setting the "default" to a "domain not found" page or similar? I appreciate you can't do a lot about the SSL error without actually buying a certificate for each domain, but showing the website of someone else is a problem, particularly if it may well end up being a competitor.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    If the account is assigned a shared IP address, and a SSL certificate is installed on that IP address, then any secure request to a domain name on that IP address will load the contents of the domain name the certificate is installed for. This is by design. You will need to assign a dedicated IP address to the account that uses the SSL certificate if you don't want that certificate applied to the other domain names on it's IP address. Or, you could generate/install a self-signed certificate for each domain name on the server. You could also make one SSL certificate (e.g. the server hostname) the primary certificate for an IP address via the "Make Primary" option in "WHM Home » SSL/TLS » Manage SSL Hosts".

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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