I setup a Digital Ocean Droplet to act as a repository for all of my Linux notes. Right now it only has Apache running on it.
I created a local directory called
/Code/web.phantomhive.com in which I add all of the html and css. I then use rsync to sync the changes that I make locally using the following command:
$ rsync -avz ~/Code/web.phantomhive.com firstname.lastname@example.org:/var/www/html
I also added Git to my local repository and plan to start using that to push changes to the server as well.