We have a number of sites on this dedicated server. Pages from one site are showing up on another site. Example:

  • clientsite1.com (right site, no SSL installed)
  • clientsite2.com (forwards to SSL, shows right site)
  • clientsite1.com (no SSL installed, WRONG site, shows clientsite2 after "untrusted connection" message)

Now I'm in WHM and this is what I see: http://i.imgur.com/GOBRuWa.jpg

The one that says "Is primary website on IP address?" is the one that's showing up improperly across all non-SSL domains. I am assuming this is because the OTHER domain on our IP address has "Web SNI" enabled, which apparently allows you to use multiple certificates on one IP?

To fix this problem, would someone confirm these steps please?

  1. Get each site on own dedicated IP.
  2. Delete the SSL host for each site in WHM.
  3. Re-add the SSL host for each site in WHM, with new dedicated IP address.

Or I can somehow also enable "Web SNI" for the domain that is currently showing improperly? Not sure how to do that, but I'll look it up if someone can confirm it will fix the problem.

I found another question on here with this comment but I'm not sure if it applies to my situation: "... at least on Apache a properly setup name-based virtualhost should display the correct content, even with SSL (I've used this myself). You'll get the "this is a bogus cert" warning, but if the client accepts the cert, the client will still send the Host header to the server, which Apache should use to select a VirtualHost block and show the correct content, not someone else's site." Is that the case here? If this is the case, what can I say to my webhost that will make them understand (and fix!) the problem?

closed as off-topic by HopelessN00b Apr 1 '15 at 18:41

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.


Your listed third option is when clientsite1 is accessed via https. The certificate error is because your SSL certificate is (only) for clientsite2. Here are your options:

  1. You want clientsite1 to be accessible via SSL, via a single IP

    • You need a multidomain SSL certificate that has both clientsite1 and clientsite2 listed.
    • Your SSL vHost configuration needs to route by name, just like your non-SSL configuration already does
  2. You want clientsite1 to be accessible via SSL, via multiple IPs

    • You need an SSL certificate for each clientsite1 and clientsite2
    • Your SSL Host configuration can be bound by IP address to the single clientsite1 or clientsite2 (no vHost configuration required)
  3. You don't want clientsite1 to be accessible via SSL

    • Stop accessing clientsite1 via https
    • Use a second IP address to handle clientsite1 so that there is nothing listening on the https port
  • #3 for sure. We don't need clientsite1 accessible via SSL. But us not accessing clientsite1 over HTTPS won't stop Google accessing over SSL (we are getting backlinks etc. for the wrong site). But there are a lot of other sites on that same server -- so we should, instead of moving all those sites onto their own IPs, move clientsite2 (the SSL site) to a dedicated IP? – K. W. Apr 1 '15 at 16:38

Not the answer you're looking for? Browse other questions tagged or ask your own question.