Last post Jul 10, 2012 03:26 AM by gnoix
Jul 02, 2012 07:27 PM|boeledi|LINK
Since I am installing my web server, I think this is the correct forum for such question...
I have rented a dedicated server, running Windows 2008 R2 64, and I am trying to finalize the configuration of the web site. I used Plesk Control Panel.
The result is working fine however, I wanted to test the "app_offline.htm" functionality but the latter does not work.
Here is the configuration I run:
c:\inetpub\wwwroot this one is empty
d:\vhosts\<website name>\httpdocs this is where the web site resides
As regard IIS 7.5
Plesk created a new web site (so I am not using the Default web Site), and in its properties (Manage Web Site / Advanced Settings), I see that the Physical Path is pointing to d:\vhosts\<website name>\httpdocs
Therefore I think that the Root directory is "d:\vhosts\<website name>\httpdocs" (am I right?)
since I read that I needed to put the app_offline.htm in the Root directory, I put it there but nothing happens. "Normal" pages are still invoked.
Last word (I don't know if it is important): my web site is part of an application pool.
Could someone tell me what I did wrong, why it does not work and what I could do to have this work?
Jul 02, 2012 11:31 PM|sandippatil44|LINK
if you use the app_offline.htm feature, you should make sure you have at least
512 bytes of content within it to make sure that your HTML (instead of IE's friendly status message) shows up to your users.
Please see below link
Jul 10, 2012 03:26 AM|gnoix|LINK
there is another simple way if you want to display the app_offline or under construction page, you just need to create a file with app_offline.htm and then put the content in it for example : the site is under construction
and then you just need to set app_offline.htm as your default document from your control panel / IIS default document setting