2

My site is on a shared host and I need to do some maintainance work, which needs downtime.

For SEO reasons I need to cause a 503 http response to be sent to clients.

How can I do that from my web.config file (or any other method?)

1

1 Answer 1

0

When you use the built-in IIS functionality of the "app_offline.htm" file in the root of the web site, all requests will service that page, and it will return a 503.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .