0

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

4

2 回答 2

1

是的,这是经典的 503。你当然可以这样做,但必须有某种服务器来为页面提供服务。这可以是负载均衡器/反向代理,这是真实站点处理此类问题(以及一般负载问题)的常见方式。

您也可以将 DNS 切换到另一个数据中心,但这需要时间来传播。

于 2012-01-26T07:10:41.333 回答
0

是的,因为
Error 503: Service Unavailable means; the server took too long to answer and the connection timed out.

于 2012-01-26T07:14:02.133 回答