title: ASP.NET MVC not serving default document
body: <p>I have an ASP.NET MVC application where the default page should be index.html which is an actual file on disk.</p>
  
  <p>I can browse to the file using www.mydomain.com/index.html so I know it will be served and exists but if I use www.mydomain.com I get a 404.</p>
  
  <p>I have ensured that the default document is correctly set in IIS7 and I have even gone so far as to commented out all the routes defined in my global.asax to ensure I don't have a route causing this problem.</p>
  
  <p>So to summarize:</p>
  
  <ul>
  <li>I have an index.html file on disk and IIS7 is set to use index.html as the default document.  </li>
  <li>If I remove my ASP.NET MVC application and leave the index.html file is served as the default document as expected.</li>
  <li>If I publish my ASP.NET MVC application then the index.html doesn't get served by default document.</li>
  </ul>
  
  <p>Does anyone know how to get ASP.NET MVC to serve the default document?</p>