How to customize "service unavailable" error page? Is it possible to customize "service unavailable" error page in web.config? I wrote the following code in web.config : <customErrors mode="RemoteOnly" defaultRedirect="~/static/errors/error.html"> <error statusCode="503" redirect="~/static/errors/busy.html" /> </customErrors> but still the default error page is shown instead of my custom error page, what's the problem?
Hi, It is possible to send a 503 message to search engines with the IIS7 URL rewrite. (Search iis.net for some tricks) I think however that doing this as a result of server maintenance, 503, on our shared sites requires server debug methods we don't have access to. All the best, Mark
I don't think you can customize the "Service Unavailable" error because it is handled by HTTPSys, ie. the request won't even get to ASP.NET.
@wisemx: Thanks for your response. @bruce: So, isn't there any other solution to change "service unavailable" message to any other messages like "The server is too busy, try later"? Could I ask support to change this message for my website? Thanks,