Refine your go-live process with these hot tips!
Pushing your staging website into production can be daunting, especially when the reduction of downtime is mission critical. Serversaurus technicians have curated these hots tips to help refine your go-live process to a seamless operation
Published June 25, 2021
- Reduce the TTL on DNS records 48 hours before the migration to ensure quick propagation.
Make sure you do this on both the “www” record and the “naked domain” record (e.g. www.yourdomain.com and yourdomain.com).
Change the TTL value down to 120 (2 minutes).
- Test your tools!
Make sure you have up to date SSH, MySQL and any other login credentials prior to the migration and have tested the connection.
- Know your application software dependencies.
Prepare the new server environment with the required dependencies prior to the migration.
#1 Reconfigure staging sub domain to production domain
Arguably the fastest method of rearranging your hosting to push the staging site into production, however keep in mind it does overwrite your staging website.
#2 Migrate remote staging website to local hosting server
Using tools such as rsync or wget, this guide walks you through migrating a remotely hosted staging website to your local cPanel hosting server.
#3 Migrate remote transactional website to local server
With only 10 minutes of downtime and complete data retention!
Quick diagnosis checklist
- Ensure the database name, user and password is set correctly within the application configuration file
- Check the domain and directory path has been updated correctly in database
- Make sure the document root specified to the correct path
- The database user must be granted complete database permissions
- Verify the directory and file ownership and permissions are correct
- Ensure the PHP version and extension dependencies are enabled
- Always clear the website cache after any configuration change
- Perform a DNS lookup to ensure the domain is resolving to the correct IP address
- Verify the SSL certificate is installed and active