I am trying to deploy a website on Win Server 2008 R2 machine with IIS 7.5. The website is developed with asp net mvc2. My client asked me to deploy a simple .html document to be served until we decide to go live with the mvc app. I have created the website and published my site for testing and it works perfectly, but I cannot make my application ignore the index.html page. Until now I have tried the following:
- added IgnoreRoute("index.html") to the Global.asax.cs of my application
- set the default document in IIS to be "index.html"
- removed all other files from default documents.
but I still cannot get it right.