Production Website Migration & Server Deployment
Overview
Participated in migrating multiple production websites and subdomains from an older CentOS 7 environment to a new Debian 13.7 server — a major infrastructure project covering file transfer integrity, web server configuration, PHP runtime alignment, databases and SSL.
Objectives
- Move production websites with verified integrity
- Preserve availability and correct runtime configuration
- Establish HTTPS on the new environment
Technologies
- Debian
- CentOS
- Apache
- PHP-FPM
- MySQL
- SSH
- rsync
Architecture & Implementation
Used rsync over SSH to transfer website files between servers and verified transfers with SHA-256 checksums; configured Apache VirtualHosts, document roots and PHP-FPM on the new server; worked with database migration, PHP configuration synchronisation (execution time, memory limits, upload sizes, timezone) and file ownership/permissions; configured SSL certificates; investigated website availability, DNS and permission issues after migration.
My Responsibilities
- File transfer with integrity verification
- vhost and PHP-FPM configuration
- Database migration support
- Post-migration troubleshooting
Technical Challenges
- Hidden legacy dependencies (paths, PHP versions, modules)
- Zero-downtime cutover with DNS TTLs
- Regression-testing undocumented application behavior
What I Learned
Migrations fail in the unknown unknowns — inventory everything, verify every file, and test before cutover.