Community Discussion

How to redirect traffic when site is too busy?

July 2, 2016
ajlancer Author Level X3

Write the reason you're deleting this FAQ

We know website speed and bandwidth very much importance for any site. But sometimes we see due to load of traffic some website going to down and getting 503 error. And frequently if your site getting this error, visitors may go away from your site and do not comeback.

So, we can overcome from this issue by several ways and you can redirect to your visitors by custom error document pages. If visitors will get 503 error, You can define the service will redirect to visitors to custom error document pages:

Process are below for different server:
> Add this code in .htaccess file on apache server
> Add this code in web.config on IIS 7 server
> Add this code in WEB-INF/web.xml file on Tomcat 7 server

What is your thought?

Regards by Ajlancer
7

Comments 7

July 2, 2016
anwebservices
OK so what you suggesting, where visitors should be redirected? To another website of yours or what? Also which code you suggest to be added in .htaccess for example?

Enter a reason for deleting this comment

July 3, 2016
Lynne
Oh I have never had the joy yet of having a problem with too many visitors! This sounds like a lovely problem to have! How many visitors are considered too many?

One day when I have way too many visitors on my websites I'll be back to check this out.

Enter a reason for deleting this comment

July 13, 2016
EliteWriter
It might be an option okay, but I guess if I had a site that got that many visitors I would rather come up with a long term solution to improve its speed and overall performance rather than redirecting them.

Enter a reason for deleting this comment

June 8, 2017
overcast
I think having CDN to take care of the content redirection is the best option. Many CDN cache the images and the text content. And this way they can easily get the traffic load on themselves. That seems to be working for many. I think with enough resources from CDN you can get some backup for your hosting bandwidth.

Enter a reason for deleting this comment

October 17, 2017
vinaya
I have never encountered this problem. My current bandwith and diskspace are too big for the traffic that I am receiving these days. If my site goes down due to traffic, I think it is the time to upgrade my bandwith.

Enter a reason for deleting this comment

October 9, 2018
Corzhens
When it comes to redirect, my idea is that you are bringing the user to another web page. Am I right on my assumption? I guess you just have to resolve the problem if it is the bandwidth so that the error will not occur anymore. I am not comfortable with the redirect especially when I am just a new visitor to the site. My feeling is that I am being spammed to another web page for an advertisement.

Enter a reason for deleting this comment

Please login or sign up to leave a commentJoin