views:

217

answers:

3

Dear All,

I have accidently deleted the default-website on an "experimental" machine. It is a standard-installation of "Windows Web Server 2008" with II7 running.

I have already tried to create a custom website on my own, but this always fails when I try to access the website in the browser (remote and locally). There is an endless number of permission- and setting - errors.

Could you please show me a link to a tutorial on what to do in my case? Or possibly any suggestions what common pitfalls are in such situations?

Thank you! Daniel Lang

A: 

Save your custom code (virtual directories) and reinstall IIS? Probably cleanest.

RandomNoob
A: 

Make sure your site points to %systemdrive%\inetpub\wwwroot, and then it has little difference from the default one.

Learning about how to back up IIS settings on IIS is a must for beginners,

http://mvolo.com/blogs/serverside/archive/2007/03/18/Most-Important-AppCmd-Commands%5F3A00%5F-Backing-up-and-restoring-IIS7-configuration.aspx

Lex Li
A: 

I'm having similar problems. I've got a virtual machine with windows web server 2008 and iis7 and even if I create an empty site with a index.html containing just "hello world" I get a file not found error. when I publish my real code, with code running on session start in global.asax I get a generic "code error". and I just cannot seem to get "real" error message.

Stefan

related questions