Getting IIS redirects proper for second HTTP site

Posted by Gotenks on Server Fault See other posts from Server Fault or by Gotenks
Published on 2012-10-11T21:21:05Z Indexed on 2012/10/11 21:38 UTC
Read the original article Hit count: 207

2x IIS sites on one host. I have mainsite.domain.com and secondsite.seconddomain.com. Both sites point to the same IP in public DNS. Nothing wrong with mainsite.domain.com, it redirects and goes to its own HTTPS site without issue.

Going to secondsite.seconddomain.com without HTTPS, it re-directs me to the HTTPS mainsite.domain.com when I want it to go to its own secured site. It's odd that HTTPS secondsite.seconddomain.com still works as expected.

Is there anyway to make HTTP of secondsite.seconddomain.com redirect to its own HTTPS entry?

© Server Fault or respective owner

Related posts about iis

Related posts about windows-server-2008-r2