Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 987
Kathir Subramaniam Avatar asked Feb 24 '15 16:02

Kathir Subramaniam


People also ask

Where is applicationHost config for IIS?

The configuration files for IIS 7 and later are located in your %WinDir%\System32\Inetsrv\Config folder, and the primary configuration files are: ApplicationHost. config - This configuration file stores the settings for all your Web sites and applications.

Where can I find applicationHost config file?

The location of the file is currently in the %windir%\system32\inetsrv\config directory.

How do I access applicationHost config?

Open the applicationHost. config file located in C:\Windows\System32\inetsrv\config\.

Where is vs applicationHost config?

vs\config\applicationHost. config . This file (and the . vs folder) is hidden by default in Windows Explorer.


1 Answers

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

like image 89
Peter Hahndorf Avatar answered Sep 27 '22 21:09

Peter Hahndorf