IIS7 defaulting to default.php instead of default.aspx

Posted by emzero on Server Fault See other posts from Server Fault or by emzero
Published on 2010-04-30T18:06:21Z Indexed on 2010/04/30 18:18 UTC
Read the original article Hit count: 488

Hi guys.

My client has just got a new dedicated server running Win2008 (we had 2003 before), II7, etc. I started setting a little ASP.NET 2.0 web application we have. Running on its own AppPool 2.0.

The problem is that when I browse the site root (locally or remotely), I get 404 because the url now points to http://domain/default.php, when it should be default.aspx.

Yes, I've checked the Defaults Documents settins for the website and I deleted everything but default.aspx (default.php was not even listed).

To finish, I'll say that if I navigate to http://domain/default.aspx, the site works perfectly and I can follow links without problem.

Any idea why is this happening? Or at least where I should start looking?

Thanks!

© Server Fault or respective owner

Related posts about iis7

Related posts about default-document