2

I want to find which website listed in the IIS 6 Manager has a particular host header value configured in its identities. Currently I have to go through each website, right click properties, Web Site tab, Advanced button, then scroll through the list there to see if this website has the host name I'm searching for. Is there an easier way?

3

Save yourself the hassle of looking through each website: You can directly open the metabase.xml (%windir%\system32\inetsrv\MetaBase.xml) with your favorite editor. The MetaBase stores much of the IIS6 configuration including the bindings... from there, you can search for whatever host header (binding) you are looking for.

Side Note: Do not attempt to edit this file without enabling direct metabase editing!

1
  • Yes! This is what I was looking for. – twsaef Jun 5 '12 at 2:18
3

This was the only answer found when looking the same but for IIS 7.5. Problem is it does not help for IIS 7.5. In case someone else needs it, adding answer when IIS 7.5:

Find the domain

ApplicationHost.config

in

%WinDir%\System32\Inetsrv\Config folder.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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