i want to put my website on 2 servers, When server #1 is down, my site loads from server#2 . How can i do this? i want this 2 servers synced realtime... is there any software for this? or any trick? my servers is linux cent os
closed as not constructive by Chopper3, HopelessN00b, John Gardeniers, Ward, Michael Hampton♦ Jan 19 '13 at 0:40
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.
Well if you're prepared to put in the work...
Put a load balancer (e.g. nginx) in front of your 2 web servers and have your 2 web servers share some kind of central storage like an NFS mount or a cluster file system like OCFS2.
Of course the devil is in the details but that should get you started. Acknowledge that you're going to spend a lot of time investigating and testing before you do this in production or like Chopper3 said in his comment you should consider hiring someone to do it for you.