We have a web server running with two sites, I will call them domain.com and test.domain.com. We have an SSL certificate installed on the domain.com site, that covers both www.domain.com and domain.com. The test site does not have an SSL certificate.
When navigating to http:// test.domain.com we can successfully reach the test site. However, when navigating to https:// test.domain.com all traffic is redirected to https:// domain.com, more or less without the user knowing. This could possibly confuse someone into thinking he's working on the test site, when in fact changes are made in production.
The server is running IIS 6. The test site does not have an SSL port configured. The only host headers are domain.com and test.domain.com for the two sites respectively.
How can I make sure https:// test.domain.com does not redirect to https:// domain.com?