'Backup Host' for when my Host is down? Is it possible to redirect?
So I am using Dreamhost right now, they have been performing fine for the past several months, however before that, they were down nearly every day, with terrible lags in server response time. It was awful.
Since then I've purchased a second shared hosting account with Hostgator, but I still have my site hosted on Dreamhost.
If my site were to be down for a day with a 500 Internal Server error, it would cost me $$$ that could be feeding me or buying me tickets to see movies in IMAX.
So my question is - is there any 100% foolproof way to avoid server downtime? Especially if I am paying for two separate hosts - can I create a version of my page on another host and redirect to it when my main host is down with a 500 error, or perhaps, it would redirect automatically if the site takes more than say, 6 seconds to load up?
Someone suggested a php redirect to a cached page script, but Dreamhost said they don't support this feature.
Please help me, I want a 100% foolproof way to keep my websites online.
Well with the 500 Internal Server Error, I assume that you have a dynamic website, eg. a forum, blog, etc? If that is the case it will not be too simple for you to setup a failover between two hosting accounts.
If you are only running static HTML pages, you can consider some DNS based failover like DNSMadeEasy.com.
However, my suggestion for you is to firstly try to request DreamHost to move you to a server with better uptime and less loaded, as their servers seem to be overloading for you to see such errors and then goes down, etc.
If this still does not work, you may want to consider going with a hosting provider who provides better quality services for higher uptime, in exchange for lower quantity (non-unlimited, realistic plans hosting providers).
I think you would be in safe hands if you chose to go with Host Gator. You will have the benefit of a sales and technical team who is always online to answer any one of your questions. Simply switch permanently to them
If you're the smartest person in the room then you're in the wrong room
Could you provide a couple examples of hosts that provide what you're describing?
Well you can search around WHT for realistic plans from hosting providers. Make a list of them and look for their legitimate reviews around the web to help you narrow them down to a few and start contacting their sales department to see whether they can meet your needs.
Be sure to avoid those "top 10" websites as they are normally full of fake reviews and affiliate links.