In Agile world there are no immutable constraints. Your requirements may change, libraries used may be replaced during development, application may outgrown your current server setup etc. I’ll show you how to make web application migration between servers as fast as possible: with minimum downtime and data consistency preserved (techniques also apply to hosting providers environment).
Known Problems
You may say: moving a site? No problem: just copy your files, database and voila! Not so fast. There are many quirks you may want to handle properly:
- DNS propagation time
- Database consistency
- Preserve logs
- Preserve external system configuration
- Environment change impact integration tests

I believed dedicated server / VPS (
As you can see typical site response time is almost four seconds! (DNS resolution time excluded) Measurment is performed from Cracow, Poland. Let’s see results from Chicago, USA:
First I thought about VPS but then saw few interesting options mentioned on shared hosting offer: