ASP.NET MVC not serving default document
- by Jon Cahill
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?