title: MVC app at root IIS site
body: <p>Using VS 2013 with MVC 5 on IIS 7. Built a website using Microsoft's default scaffolding. Our app works great as a virtual folder under an IIS site. But moving to prod we want the app to be at the root domain.</p>
  
  <p>When we go to production, we want <a href="http://ourapp.com" rel="nofollow">http://ourapp.com</a> and not devserver.com/ourapp.</p>
  
  <p>When we are browsing to <a href="http://ourapp.com" rel="nofollow">http://ourapp.com</a> we are getting the IIS7 start page instead of being routed to the application start page.</p>
  
  <p>This is our route config code (we do not use the Home controller):
          public static void RegisterRoutes(RouteCollection routes)
          {
              routes.IgnoreRoute("{resource}.axd/{*pathInfo}");</p>
  
  <pre><code>        routes.MapRoute(
              name: "Default",
              url: "{controller}/{action}/{id}",
              defaults: new { controller = "Products", action = "Index", id = UrlParameter.Optional }
          );
      }
  </code></pre>