Redirect request from https domain to https subdomain with only one certificate
Posted
by
Sean K.
on Server Fault
See other posts from Server Fault
or by Sean K.
Published on 2012-07-08T05:05:02Z
Indexed on
2012/07/08
9:17 UTC
Read the original article
Hit count: 776
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?
© Server Fault or respective owner