View Full Version : 1 site 2 hosts
FrEaKmAn
July 25th, 2006, 12:44 PM
Hi
Which is the asiest way to set up 1 page on two hosts, like once it goes there and once there, but if one is down than the other is like backup. Possible? Only onn more thing is mysql database, how to set this up if my site needs one and it's on two hosts.
30111987
July 25th, 2006, 01:25 PM
that would be in the dns settings
you setup multipal A records and the dns server just sends users to a random ip each time (random server)
as for mysql, i'm not sure
degsy
July 25th, 2006, 01:47 PM
you setup multipal A records and the dns server just sends users to a random ip each time (random server)
Another option, along the same lines, is to check your domain registrar control panel to see if there is a Failover service like you get with ZoneEdit
You have a problem there. The only thing to do to would be to constantly backup/copy the database which is unfeasable. Best to get a host that has good uptime stats ;)
Buzz
July 25th, 2006, 05:49 PM
It's highly unlikely you need load balancing, which is what you are referring to, unless you're getting several hundred thousand hits a day, or your site contains crucial customer information and you're trying to prevent a total drop of all services. Every site I've seen that uses load balancing owns their own servers and most often in two separate geographic locations to prevent outages specific to an area.
Why are you considering balancing?
FrEaKmAn
July 25th, 2006, 09:10 PM
I'm working on site for short urls and redirections and when it's set for at some big forum infront of every link to redirect and hide, going down will make me and that site unusable, so that is why I'm seeking for a way to provide 99.99% uptime
Buzz
July 25th, 2006, 10:44 PM
You should look into "colocation" plans. That is what they are designed for.