Setting up Wildcard subdomain (with reverse proxy) on apache 2.2.3 Setting up Wildcard subdomain (with reverse proxy) on apache 2.2.3 apache apache

Setting up Wildcard subdomain (with reverse proxy) on apache 2.2.3


I have had this same problem as well. The only way I solved it was to put different domains that need secure connection on different Listen ports because I was limited with IP addresses.

From my understanding, the problem is that in the https protocol the HOST is not included in the request. So when the request reaches the server, apache just uses the first match on the IP and port the connection was received on because it does not know the domain it was requested from.

The only work around for this is to have a different IP for each domain, or a different port.

Unfortunately you are out of luck using https with a wildcard domain setup, I don't believe there is anyway to get it to work.