Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

with my IIS7 site, i manually set the bindings for my site.

Is it possible to set these bindings in the (local) web.config file? Not a machine or app config file ... but the web.config file?

Cheers :)

share|improve this question
up vote 1 down vote accepted

You cannot. The system.webServer settings are supposed to be stored in applicationhost.config file only. web.config can have site specific changes or modification but Web site specific configuration are always stored in applicationhost.config. are element and are in turn element.

From IIS 7 Resource Kit:

ApplicationHost.config contains configuration sections and settings that only make sense globally on the server. For example, it contains site, application, and virtual directory definitions in the section and the application pool definitions for the section.

share|improve this answer
also .. thanks, but sigh :( – Pure.Krome Apr 8 '10 at 4:27

This information is stored in the application.config file, check out

share|improve this answer
thanks, but sigh :( – Pure.Krome Apr 8 '10 at 4:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.