Page 1 of 1

Submain without SSL show another submain that have SSL

Posted: Fri Feb 12, 2016 5:43 pm
by Lord_Apo
Hey,

I have a subdomain that doesn't have SSL enabled showing another subdomain that have SSL
Exemple:

sub.domain.tld have SSL
sub2.domain.tld don't have SSL
sub3.domain.tld have SSL

If i access sub2.domain.tld, the page show sub.domain.tld,
and if i remove sub.domain.tld, sub2.domain.tld will show sub3.domain.tld

Why ?

Re: Submain without SSL show another submain that have SSL

Posted: Sun Feb 14, 2016 5:54 pm
by abad
Because it loads first SSL from the config, if that domain doesn't have SSL set. To "solve" this add random domain and enable SSL for it before adding any other domain. That way all domains with SSL not enabled will load that random domain's SSL

It's bad solution, but the easiest one. They should make it like in cPanel. If you don't enable SSL for a domain, then https simply doesn't load anything, but times out.

Re: Submain without SSL show another submain that have SSL

Posted: Mon Feb 15, 2016 10:55 am
by Lord_Apo
I'll do it, thanks for your help