I use rsync
to deploy my personal website.
I rambled on about it in a post over there but wanted to go through the steps I followed in a more focused way, since I didn't find them collected in one place.
Here's a contrived example.
Let's assume you're the proud new owner of my-neat-website.biz.
If you wanted to deploy to your website the same way I do, here's how:
I use this configuration to serve multiple websites from the same server.