Skip to main content

Website Loads the Content of another website if ssl is not installed

Comments

7 comments

  • hmaddy
    Remove old ssl certificates.
    0
  • kodeslogic
    If the accounts example and example2 are assigned a shared IP address, and a SSL certificate is installed on example2.com only, then any secure request to a domain name example.com on that IP address will load the contents of the domain name the certificate is installed for(example2.com). This is by default behavior.
    0
  • cPRex Jurassic Moderator
    As @kodeslogic says, this is default behavior for Apache. You can find more details on this here:
    1
  • Kent Brockman
    Hi there, I'm investigating this. The hostname certificate should be made Primary by default. Always. What prevents cPanel from doing this automagically and avoiding the bad behaviour to the end users?
    0
  • cPRex Jurassic Moderator
    @Kent Brockman - you'd actually be surprised how many people don't want that to happen. You can configure the default SSL host using the details here:
    1
  • Kent Brockman
    @Kent Brockman - you'd actually be surprised how many people don't want that to happen.

    Ok, I think I can understand why. But when it comes to a reseller, showing an unrecognized domain by default is completely puzzling for them and their end users. This should be more intuitively explained and highlighted in the Tweak Settings, at the very least...
    You can configure the default SSL host using the details here:
    0
  • cPRex Jurassic Moderator
    You can set a default host for each IP address with the details here:
    1

Please sign in to leave a comment.