How do i make IIS application initialization work on https and with windows auth?

Kelemen Balázs 0 Reputation points
2025-07-30T11:47:39.9366667+00:00

How do i enable application initialization warmup to work?

Disabled windows authentication, enabled anonymous authentication for testing. ✅But so far, even after all these, when a recycle happens, the site/pool does not start till a request comes from outside, (i go to the website from a browser).IIS version in use 10, Windows Server 2019, AspNetCore Module v2 is also in use. Things i also done:

Preload enabled ✅

Idle timeout: 0 ✅

Always running. ✅

Added binding for port 80. ✅

Added these lines to web.config:

<applicationInitialization doAppInitAfterRestart="true">    
<add initializationPage="/" />
<applicationInitialization doAppInitAfterRestart="true">
Windows for business | Windows Server | Devices and deployment | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Oliver Nguyen 440 Reputation points Independent Advisor
    2025-08-01T16:21:45.93+00:00

    Hi Kelemen Balázs,

    Please use this instead:
    <system.webServer>

    <applicationInitialization doAppInitAfterRestart="true">

    <add initializationPage="/" />

    </applicationInitialization>

    </system.webServer>

    ==> Preload + AlwaysRunning: You've enabled both but make sure it's under the correct <site> config in applicationHost.config or via IIS Manager:

    • Go to Advanced Settings for the App Pool
    • Set Start Mode to AlwaysRunning
    • Set Preload Enabled to True for the site

    ==> Once updated, restart the App Pool and run: curl http://localhost/

    ============================================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.