View Complete Thread
  • Re: question: Is initializationPage value limited to calling localhost only?

    Sep 28, 2013 11:23 PM|wjchristenson2|LINK

    Charlie, I figured it out.  The code I mentioned above should do the trick with not calling localhost.  Specify the hostName and that should work.  It appears the module takes the host name and prepends http:// then appends the page.

      <system.webServer>
        <applicationInitialization remapManagedRequestsTo="Starting.htm" skipManagedModules="true">
          <add initializationPage="/AppInit" hostName="mysubdomain.mydomain.com"/>
        </applicationInitialization>
      </system.webServer>

    The reason why I thought the page was not being called was because I wasn't using the hostName correctly and then my logging utility had a bug.  I'll report back if I find anything else.

    /Bill