Page 1 of 1

Ssl is using another website's content

Posted: Tue Dec 29, 2020 6:56 pm
by marvin2040
Hi

I am using let's encrpyt on my panel. I have three domains, I got ssl cert for two of them, but I don't want to use ssl for my third domain because it has a lot of alias domains. But If I try to load my third domain with https prefix, it grabs the ssl certificate from my second domain and obviously browser is returning an error due to domain name mismatch.

How can I resolve this problem?

Example:

domain1.com (It has a ssl certificate)
domain2.com (It has a ssl certificate)
domain3.com (It doesn't have a ssl cerficate because I am using a lot of alias domains on that domain)

When I try to load https://domain3.com vesta automatically tries to load domain2.com ' s content.

I am using apache + ngnix (for reverse proxy), If disabling reverse proxy resolves the problem, I can disable it (But don't know how).