ASP.NET MVC not serving default document

Posted by Jon Cahill on Stack Overflow See other posts from Stack Overflow or by Jon Cahill
Published on 2010-03-11T04:28:51Z Indexed on 2010/03/11 4:55 UTC
Read the original article Hit count: 257

Filed under:

I have an ASP.NET MVC application where the default page should be an index.html.

I can browse to the file using www.mydomain.com/index.html but if I use www.mydomain.com I get a 404.

I have check to see if the default document is correctly set in IIS7 and it is and I have even commented out all my routes to ensure it isn't that.

Does anyone know how to get ASP.NET MVC to serve the default document?

© Stack Overflow or respective owner

Related posts about asp.net-mvc