Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

So I deleted my default website by accident on a Windows 2008 server in IIS7. This is bad because I now lost my Exchange OWA virtual directories... users are not happy =(. Also lost my https certificate I'm pretty sure. So I'm hoping there is an easy way to recover all that stuff being that it's Windows 2008 and all...

Any help appreciated. I have no idea where to start or how to recover any of this stuff besides creating a new site called default website and then hitting the MS Exchange manual on how to install OWA from scratch.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I haven't dug into IIS7 much yet but I know that a backup of the configuration is maintained at "C:\inetpub\cfghistory\CFGHISTORY_xxxxxxxxxx". You can take the applicationHost.cfg file from the CFGHISTORY folder from before the problem occurred and dump it into the "C:\Windows\System32\inetsrv\config" folder (take a backup or make a copy of the file first), restart the server and see if it restores the config to it's pre-problem state. You may have to stop IIS before replacing the file.

share|improve this answer

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.