How do you deploy your websites?
For example: I am developing a site with a php framework and have it under version controle with git with all my local configs. When I want to put it on a web server for testing or updating the live application i have to copy it onto the server, change the config files, delete my test stuff etc.
So how do you handle these tasks? I thought about using ant and write a deployment script for this. Does there already exists a common solution for this "problem"? Because I don't think im the only one who need something like this.