Redirect from http to https for Cloud services in Azure portal RRS feed

  • Question

  • Hi, 

    I am not able to redirect from http to https sites. In azure portal. I have web role deployed to azure portal which is a ssl site. When ever i browse with https://domain.com, It is working. but when i browse with http://domain.com it is not working. for redirect i have implement following logic in web.config file.

            <rule name="Force_HTTPS" enabled="true">
              <match url="(.*)" ignoreCase="false" />
                <add input="{HTTPS}" pattern="off" ignoreCase="true" />
              <action type="Redirect" url="https://xyz.cloudapp.net/" appendQueryString="true" redirectType="Permanent" />

     But still it is not redirect to https:// site. 

    Please Help us to solve this issue.


    With Regards


    • Edited by Anand kumar vedantham Tuesday, April 7, 2015 2:06 PM For got to include Cloud services in Title
    Tuesday, April 7, 2015 1:59 PM