Redirect request from https domain to https subdomain with only one certificate
- by Sean K.
I'm trying to redirect users to a subdomain in server2 if they make an https request to server1. I only have one certificate, and that's installed on server2.
So for instance, from (server1) https://www.example.com to (server2) https://ssl.example.com
My best guess is that I will need a certificate for https://www.example.com as the hostname is encrypted inside the HTTP header so my server won't know to redirect until it's decrypted. However, I'm curious if this is possible without two certificates?