Results 1 to 7 of 7

Thread: How to do this?

Hybrid View

  1. #1
    Join Date
    Dec 2003
    Location
    Pakistan
    Posts
    278

    How to do this?

    Hi,

    I am running a big portal with a huge traffic on a single server, sometimes due to load or any server issue the website gets down for 1 or 2 mins & it shows the page cannot be display error,

    Instead of this error page, I want to show a page like "Server is busy, Please try again in a moment" from oher server so that user can never get the error page,

    How can I do this?

    Best Regards
    Hassan

  2. #2
    Join Date
    Mar 2007
    Location
    United Kingdom
    Posts
    767
    What webserver are you using?
    This can be done with simple error page handling that get rendered based on the HTTP result code. Such as the 500-13 server too busy error.

    Most control panels support it.
    SOA/SaaS/Cloud & Hosting Technology Evangelist
    Note: Any opinions expressed are my own and not of anyone else or my companies.

  3. #3
    You can also make this happen in your Apache configuration file. (If you're running Apache, of course...)

  4. #4
    Join Date
    Apr 2005
    Location
    Cochin
    Posts
    2,452
    The redirection can happen only if your apache is responsive. However in your case, it does not seem to be. You should probably optimize your apache for better performance

  5. #5
    Join Date
    Feb 2006
    Location
    Buffalo, NY
    Posts
    1,501
    Quote Originally Posted by activelobby4u View Post
    The redirection can happen only if your apache is responsive. However in your case, it does not seem to be. You should probably optimize your apache for better performance
    Alternatively setup a reverse proxy with a certain amount of connections - if the pool becomes unresponsive you can have it display an error accordingly.
    Cody R.
    Hawk Host Inc. Proudly Serving websites since 2004.
    Official Let's Encrypt Sponsor

  6. #6
    Join Date
    Dec 2007
    Posts
    1,278
    Wouldn't it make more sense to resolve the problem?

    If you put a haproxy in front of your web server and perhaps add a few backend webservers, split sql load up if it's intense, and you won't need a server too busy message.
    James Paul Woods
    Operations Manager
    HostKitty Internet Services

  7. #7
    Join Date
    Mar 2003
    Location
    Kansas City, Missouri
    Posts
    462
    I vote for HA-Proxy as well. Also try assuring that you have all caching options available enabled.
    =>Admo.net Managed Hosting
    => Managed Hosting • Dedicated Servers • Colocation
    => Dark Fiber Access to 1102 Grand, Multiple Public Providers
    => Over •Sixteen• Years of Service

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •