Page 1 of 1

https loads another website's contents

Posted: Thu Jun 02, 2016 7:55 am
by peterbkk
Hi,

I've just started using SSL for our main website and it works fine, however when you go to another domain name hosted in VestaCP (under its own user account) for example https://otherdomainname.com it will show the SSL warning which is correct, but if you continue, it will then load the contents of the main website.

I have about 5 other user accounts with maybe 15 more domains hosted, and it's happening to all of them, except other domains that have their own SSL cert.

Any ideas as to why it's doing this / how to fix it?


Thanks

Re: https loads another website's contents

Posted: Thu Jun 02, 2016 8:46 am
by Mr.Erbutw
do not use self-signed ssl certificates. if you want that there was no warning purchase at a special organization ssl certificate will not have problems

Re: https loads another website's contents

Posted: Thu Jun 02, 2016 11:44 am
by peterbkk
I think you don't understand.

I don't care about the warning, thats not the problem. My problem is on other domains within VestaCP, when you put HTTPS instead of loading the correct site, it will load the first site I setup (which does have a purchased ssl certificate.)

Re: https loads another website's contents

Posted: Thu Jun 02, 2016 2:48 pm
by skamasle
Hi

This is normal,

You have a domain in iP 1.1.1.1 you install ssl to that domain, so this ssl listen on 1.1.1.1:8443

Orther domain not have ssl, when you try to access to this one whit ssl it ask 1.1.1.1:8443 for ssl and it only find your fisrt domain.

this is SNI problem.

This happen on cPanel, Plesk, directadmin, vestacp, NO PANEL servers etc

You can solve this in 2 ways

Install SSL on all domains or install dedicated IP in domains whit SSL.

Re: https loads another website's contents

Posted: Mon Jun 06, 2016 1:05 pm
by tjebbeke