Moving to a new VPS provider may seem complicated, especially when you're trying to avoid website downtime. Below is a step-by-step migration guide to help you switch to Bit.Hosting VPS with minimal risks.
Step 1: Prepare the New Server
- Order your VPS at bit.hosting
- Install your preferred OS and stack (Apache/Nginx, PHP, MySQL/PostgreSQL)
- Configure access: SSH, SFTP, and firewall rules
- Set up a temporary subdomain (e.g. test.yoursite.com) for testing
Step 2: Transfer Files and Databases
- Copy your website files using SCP, rsync, or FTP
- Export your database using
mysqldumpor phpMyAdmin - Import the database on the new VPS and verify permissions
- Update config files with new database credentials and paths
Step 3: Test the Website on the New VPS
- Test the site using the temporary subdomain
- Make sure scripts, styles, and DB are working correctly
- Check error logs like
/var/log/nginx/error.log
Step 4: DNS Update and Final Move
- Lower DNS TTL to ~300 seconds one day before the switch
- Update the domain's A-record to the new Bit.Hosting VPS IP
- Remove the temporary subdomain after the final move
- Confirm that the main domain works correctly
Recommendations
- Migrate during off-peak hours (nighttime or weekends)
- Keep backups of site files and databases before starting
- Make sure all required extensions/modules are installed on the new VPS
- Do not shut down the old server until the new one is fully tested
← Back to Migration section
Don’t want to migrate everything yourself? Contact Bit.Hosting support — we’ll move your website for free and without downtime! 🚀
← Website & Data Migration to VPS