iis 7 - redirect subdomain within IIS7.5 using https -


i have setup wildcard on iis 7.5 site. trying force users e.g. https://store1.mydomain.com or https://store2.mydomain.com

i have been able find examples redirecting www.

can out?

you can use url rewrite module force user switch ssl, regardless of host name or url users uses enter site. use following rule:

<rule name="force https" enabled="false" stopprocessing="true">     <match url="(.*)" />     <conditions logicalgrouping="matchall">         <add input="{https}" negate="true" pattern="^on$" />     </conditions>     <action type="redirect" url="https://{http_host}{request_uri}" appendquerystring="false" redirecttype="permanent" /> </rule> 

hope need.


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -