I am planning to buy a dedicated server and a shared server from a hosting company.
Basically I want to have a redundant server so that if one file server goes down, there is no downtime.
Somehow the servers would need to be constantly synchronized so that the files saved to one are immediately saved to the other server as well.
Can somebody told me how to setup the 2 server so that my dedicated server can serve as the main server and if the dedicated server is down, the shared server can automatically be activated and visitors of my website will auto be redirect to the shared server.
Do i need to setup any backup DNS too so that when the dedicated server is down, it will auto redirect the user to the shared server.