applicationhost.config file path in IIS 7, 7.5, 8, 8.5 and IIS 10?

Kathir Subramaniam picture Kathir Subramaniam · Feb 24, 2015 · Viewed 69.5k times · Source

Anyone please explain me the applicationhost.config file location in the different mentioned IIS versions. Please mention the exact locations in each iis version. Apt answers will be appreciated.

Answer

Peter Hahndorf picture Peter Hahndorf · Mar 27, 2015

For the "big" IIS versions since IIS 7, the location is always the same:

 %windir%\System32\inetsrv\config\applicationHost.config

For IIS Express there is one per user, the default location is:

%USERPROFILE%\Documents\IISExpress\config\applicationhost.config

again it's the same for all versions.

You can run multiple instances of IIS Express per user, you would need to specify the location of the applicationhost.config as the command line parameter /config for iisexpress.exe