title: app_offline.htm file does not work
body: <p>I have been battling with this for ages now but I just can not get it to work.</p>
  
  <p>Every blog/site I have been too says there is nothing you need to do in IIS but this cannot be correct as there are multiple website configurations such as Application, virtual directory, simple php/asp websites, vitual.</p>
  
  <p>Can someone please explain to me what the setup needs to look like in IIS7.</p>
  
  <p>I have:</p>
  
  <ul>
  <li>Checked the file spelling: app_offline.htm</li>
  <li>Made sure the file was at least 512 bytes (saw this on a random site)</li>
  <li>Made sure it is in fact in the root of the application/website</li>
  <li>Checked that I can browse directly to the file</li>
  <li>Made sure the application pool framework was set to v2.0 or v4.0</li>
  <li>Made sure the above application pool was assigned to my website</li>
  <li>Tried this in a new website in IIS where the app_offline.htm was the only file in the root.</li>
  </ul>
  
  <p>I have multiple websites set up that I have tested with, namely:</p>
  
  <ul>
  <li>MVC3 Web Application</li>
  <li>PHP Simple Website</li>
  <li>Classic ASP Simple Website</li>
  <li>Webforms Website</li>
  <li>Webforms Application</li>
  <li>Virtual folders in the above sites</li>
  <li>Applications within the above sites</li>
  </ul>
  
  <p>All of the above are working, and placing the app_offline.htm does absolutely nothing.</p>
  
  <p>Please can someone provide some clarity.</p>