title: umbraco giving 404 on all pages except root. preview works fine
body: <h3>BACKGROUND</h3>
  <p>We are upgrading an umbraco 4.5.2 site running on Win2k8r2 / IIS7.5, SQL2k8r2 to umbraco 4.11.10. Given the number of steps required to perform the upgrade, we chose to do it offline and then replace production with the updated db and file system.
  We did an offline upgrade to bring it up to 4.11.10 (4.5.2 -&gt; 4.6.1 -&gt; 4.7.2 -&gt; 4.8.1 -&gt; 4.9.1 -&gt; 4.11.10). These upgrades affected the database and the filesystem.</p>
  <p>The old system has 14 domains resolving to the 1 umbraco site. The domains are just aliases and per requirements are not set up with redirects from 13 of the domains to a master - instead, each domain serves the same content - just with a different host.
  The 14 host headers are defined in IIS. They are also defined in umbraco under:</p>
  <pre><code>Content   (folder)
      EN    (language folder)
          Home   (Hostnames are defined here)
          Top Level 1 (also a child of EN)
          Top Level 2 (also a child of EN)
  </code></pre>
  <h3>PROBLEM</h3>
  <p>When we test under localhost (which is defined in IIS but not as a hostname in umbraco), the site renders content as expected. However, when we test with one of the hosts defined in IIS and in umbraco host names (after setting it up to resolve to 127.0.0.1 in hosts file), we are able to get to the home page but all other pages result in a 404.</p>
  <p>The home page and preview pages render fine and the content editor and other backend admin features work fine. However, the &quot;nice url&quot; pages do not render and get 404 errors.</p>
  <h3>WHAT I'VE TRIED</h3>
  <ul>
  <li>I have deleted <code>app_data\umbraco.config</code> and republished the entire site.</li>
  <li>Create a new website in IIS. Still get the 404 on pages other than site root.</li>
  <li>Looked in umbracoLog table. Didn't see anything about 404s or anything that looked unusual in relation to before/after upgrade but I'm not an umbracoLog expert.</li>
  </ul>
  <p>Is it necessary to do a clean install of 4.11.10 to install prerequisites that I may be missing? If so, what are these prerequisites and can they be installed independent of 4.11.10 install?</p>
  <p>I'm at a loss as to what might be causing the issue. Any help would be appreciated.</p>