Need Suggestions: Implementing FailOver Strategy For Our Company Website
We can't really afford to have downtime on the site which is hosted on VPS of DreamHost (DH). DH VPS though good gets down once in a while.
First thought that comes to anybodys mind is to move to another webhost but in our experience most of the webhosts though claim 99.9% uptime guarantee, no one is able to really provide that and dedicated servers would be an overkill for us - at least as of now.
So we think of implementing a DNS failover strategy. Here is what we plan to do.
- Mirror our files on another host (say hostgator) but keep mysql database on Dreamhost (In our experience mysql servers are really v stable on DH)
- Use a DNS service like zoneedit.com which will keep polling our main server(Dreamhost) for the uptime. In case, it is down it will point our A Name to hostgator (We will keep TTL to 2 mins)
- So files will be served from hostgator's server which will in turn point to mysql database on dreamhost.
- In the mean time zoneedit will keep on polling Dreamhost , as soon as it is up it will point A Name back to Dreamhost
Ask the Internet Marketing Geek <-- Happy to help with technical challenges
MiniSiteMaker.org <-- Free software to make your mini-sites fast and easy