Demo of how to enable "app_offline" for SharePoint Server maintenance page. Captures all HTTP traffic and provides HTML response for any subsite or page URL below that website. Cheers.
References
https://weblogs.asp.net/scottgu/426755
http://appoffline.appspot.com/