.htacess and dealing with 5++ errors
Howdy, I have a question regards my website. Next week 30 000 users are going to hit my website at once and it will timeout. I want to put a message asking users to come back later and explain the problem (too many users at once). My site is a PHP/mySQL site on Linuz/Apache. I have a .htaccess file that usually deals with errors and I wass wondering if adding to this would cover me for 5++ errors (like 503, 509).
ErrorDocument 400 https://www.mysite.co.uk/page-not-found.php
ErrorDocument 403 https://www.mysite.co.uk/page-not-found.php
ErrorDocument 404 https://www.mysite.co.uk/page-not-found.php
ErrorDocument 500 https://www.mysite.co.uk/server_down.html
ErrorDocument 501 https://www.mysite.co.uk/server_down.html
ErrorDocument 503 https://www.mysite.co.uk/server_down.html
ErrorDocument 509 https://www.mysite.co.uk/server_down.html
I'm confused that if mysite is downdue to demand can I redirect the user to a page that (although light in size) is actually on that domain (i.e. www.mysite.co.uk)
Is this the right thing to do or do I need a subdomain?
More bandwidth is needed unless this is a temporary peak in demand
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread