Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How can I locate the web.config for a host-named site collection ? or Which web.config can I use for making web.config related changes for a host-named site collection ?

share|improve this question
add comment

1 Answer 1

All (related) host named site collections are sharing the same web.config as they are all located under a single web application (= entry within IIS).

Look into the web application list (central administration) to find the parent web application and then adapt the relevant web.config within IIS.

enter image description here

Please be aware that I'll have impact on all other HNSC.

share|improve this answer
1  
for further information : blogs.msdn.com/b/kaevans/archive/2012/03/27/… –  Francois Verbeeck Aug 3 '12 at 11:49
    
Thanks @Francois - that is a very informative article. –  Russell Feb 25 '13 at 4:06
add comment

Your Answer

 
discard

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.