Configuration file for IIS 7 website definitions?

Ben Conner
Ben Conner used Ask the Experts™
on
Hi,

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.

Thanks!

--Ben
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Zaheer IqbalTechnical Assurance & Implementation
Commented:
Hi from memory there is a folder under the inetpub folder that holds configuration changes.
Zaheer IqbalTechnical Assurance & Implementation

Commented:
c:\inetpub\history
CTO, SAS developer
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 'beta.xyz.com'.  I was just looking for xyz.com and panic'd when I couldn't find it or bring up the site.  

Sorry for the fire drill!

--Ben
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Distinguished Expert 2017

Commented:
appcmd is a command line tool that you can use to enumerate/query iis...
Appcmd list site

https://technet.microsoft.com/en-us/library/cc771280(v=ws.10).aspx
Ben ConnerCTO, SAS developer

Author

Commented:
Thanks, Arnold!  Will keep that in my pile of nuggets.
Ben ConnerCTO, SAS developer

Author

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.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial