I have a website running on php symfony2 framework with IIS has the web server .I wanted to display Site Under maintainence message whenever there is prod deployment .I tried using app_offline.htm by placing in the root driectory of my website but didn't workout. Can someone suggest me a better way of handling this or how to make this work. Any suggestion would be appreciated Thanks!