Configuration file for IIS 7 website definitions?


Is there a configuration file within IIS that defines current existing websites?  From yesterday to today one of the sites on my server disappeared.  I'd like to recover it gracefully if I could, from backups.  The site content folders are still intact.

This is on a Windows 2008 server.


Ben ConnerCTO, SAS developerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zaheer IqbalTechnical Assurance & ImplementationCommented:
Hi from memory there is a folder under the inetpub folder that holds configuration changes.
Zaheer IqbalTechnical Assurance & ImplementationCommented:
Ben ConnerCTO, SAS developerAuthor Commented:
Ok, I found it.  It's in windows\system32\inetsrv\config and is called applicationhost.config.

Oh jeez.  I have to be losing it.  I didn't remember that I had added a 3rd qualifier of 'beta' to it as in ''.  I was just looking for and panic'd when I couldn't find it or bring up the site.  

Sorry for the fire drill!


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

appcmd is a command line tool that you can use to enumerate/query iis...
Appcmd list site
Ben ConnerCTO, SAS developerAuthor Commented:
Thanks, Arnold!  Will keep that in my pile of nuggets.
Ben ConnerCTO, SAS developerAuthor Commented:
I found the answer before the experts were able to clarify it.  I did give points for providing a hint that jogged my memory.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.