I initially posted the following on StackOverflow but I was told that the question belongs here:
I have a desktop and a laptop, both of which I would like to use to manage one common website among the two. Currently, I have XAMPP installed on my laptop (Windows 7) and it works fine. I would like to install XAMPP on my desktop (Ubuntu 12.04 LTS) too and have it manage the same website. Basically, if I don't have access to my laptop or it isn't running XAMPP, I would like the other computer (desktop) to keep the website up based on its server (kind of like load-balancing). I would also like to be able to add changes to the website from either servers (laptop or desktop), which must mean that the storage is in sync and all the programming uploaded from one computer can be accessed from another and that other computer can make changes to it.
I tried searching on Google for possible solutions, but I was unsuccessful. I also tried discussing with people in the SO chat room and the only solution that someone suggested to me was using SVN to "checkout" and "commit" changes so the code can be accessed from both "servers." Is that the only solution?