Is it possible to display a static HTML page when a web service becomes unavailable because of uncertain reasons. For e.g., an outage caused due to power failure in its data center?
If so, can I know how to do it and where from that page will be served?
Also can we classify such an unavailability under Error 503?
Thanks
Yes, that's classic 503. You can certainly do it, but there has to be a server of some kind to serve the page. That can be a load balancer/reverse proxy, which is a common way real sites handle such issues (along with general load issues).
You can also switch the DNS to another data center, but that takes time to propagate.