Set Start Page in IIS Server in ASP.Net

Last Reply one year ago By dharmendr

Posted one year ago

I want to redirect non-WWW to WWW along with HTTP to HTTPS in IIS 8.5. if users type http://example.com, or, they all redirect to

This is what i did in web.config


    <rule name="Force WWW and SSL" enabled="true" stopProcessing="true">
      <match url="(.*)" />
      <conditions logicalGrouping="MatchAny">
        <add input="{HTTP_HOST}" pattern="^[^www]" />
        <add input="{HTTPS}" pattern="off" />
      <action type="Redirect" url="{R:1}" appendQueryString="true" redirectType="Permanent" />

But i get the iis start page instead of my default.aspx page, in IIS i use 1 site binding which is