Webmaster Question:
Download Questions PDF

How to redirect visitors when site is too busy?

Webmaster Interview Question
Webmaster Interview Question

Answer:

When your website is too busy due to a large traffic, the best way of redirection is using custom error documents. So, when a user gets 503 error code, the server will redirect visitors to the custom error document page you have defined.
There are different ways for different servers to customize error document pages.
1) For Apache server, add the following code in .htaccess file.
2) For IIS 7 server, add the following code in web.config
3) For Tomcat 7 server, add the following code in WEB-INF/web.xml file.

Download Webmaster Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me when responding with a HTTP 3xx redirect status, should there still be a response body?Tell me what websites have you mastered?