Contents

Home › Articles

A Beginner's Checklist Before Switching to Cloud Hosting

By Deniz Aydin · Published · 5 min read

Clipboard with a checklist and pen ready before switching cloud hosting
Clipboard with a checklist and pen ready before switching cloud hosting · Foto: geralt / Pixabay

Switching to cloud hosting isn't just a matter of pointing your domain at a new IP address and hoping for the best. Most problems that surface after a migration were avoidable with a few hours of preparation: a forgotten MX record, a database that's too large for the import limit, or a backup that was never tested.

This checklist walks through the twelve checks that matter most for small and mid-sized sites. It covers what to gather before you buy, what to configure on the new server, and how to cut over with minimal downtime. Where numbers help, you'll find realistic ranges based on typical hosting plans.

1. Audit what you're actually running

Start by listing every component of your current setup: the web server (Apache, Nginx, LiteSpeed), the PHP or Node version, database engine and size, cron jobs, and any background workers. Check your control panel's information page or run a quick phpinfo() script. Note the exact versions—a cloud host may default to a newer PHP release that breaks older plugins.

Also measure your resource usage over a typical week. Most control panels show CPU, RAM, and disk I/O graphs. If your site averages under 10% CPU and 1 GB RAM, a small cloud VPS with 2 GB RAM is likely plenty; if you spike to 100% during backups, plan for more headroom. Write these numbers down; they'll guide your plan choice.

Don't forget external services: outgoing email (SMTP), payment gateway IP whitelists, and any third-party APIs that validate your server's IP. These are easy to miss and cause silent failures after the move.

  • List software versions and extensions
  • Record peak CPU, RAM, and disk usage
  • Note cron jobs and scheduled tasks
  • Document external IP whitelists

2. Take a full backup and test the restore

Before you change anything, create a complete backup of files and databases. Use your host's backup tool or run mysqldump and tar manually. Store the archive somewhere outside your current hosting account—cloud storage or a local drive—so you still have it if the old account is suspended.

The critical step is testing the restore. Spin up a temporary local environment (or a cheap throwaway VPS) and import the backup. Check that the site loads, images appear, and forms submit. A backup that has never been restored is a guess, not a safety net.

For databases over 1 GB, the default import limits in phpMyAdmin or the command line may time out. Plan to use command-line tools like mysql or pg_restore, and split large tables if necessary. Budget 30–60 minutes for a 2 GB database on a modest VPS.

3. Prepare DNS records and lower TTL

DNS is where most migrations go wrong. Export your current zone file or screenshot every record: A, AAAA, CNAME, MX, TXT (including SPF and DKIM), and any SRV records. You'll need to recreate them at the new host or your DNS provider.

At least 24–48 hours before the switch, lower the TTL on the records you plan to change to 300 seconds (5 minutes). This limits how long stale DNS data lingers in resolvers after you flip the IP. If your current TTL is 3600 or higher, this step alone can save hours of confusion.

Decide whether you'll use the new host's DNS or keep your registrar's. Keeping DNS at a third party gives you flexibility if you move again. Either way, don't delete old records until the new ones are verified.

  • Export all DNS records
  • Lower TTL to 300s 48 hours ahead
  • Keep MX and TXT records intact for email
  • Verify with dig or an online DNS checker
Typical preparation tasks and time estimates for a small site migration
TaskTime estimateWho can do itCommon pitfall
Full backup and test restore1–3 hoursSite owner or developerUntested backup fails on restore
DNS export and TTL lowering30 minutesAnyone with registrar accessForgotten MX or TXT records
Email migration or setup2–4 hoursEmail adminMX records point to old host
SSL and firewall config30–60 minutesHosting support or sysadminCertificate issued after DNS switch
Staging test1–2 hoursDeveloperHardcoded links to old domain
Cutover and monitoring2–4 hoursSite ownerDNS propagation longer than expected

4. Plan email separately

Many people assume email moves with the website. It doesn't. If your email is hosted on the same server, migrating the site can break incoming mail. Check where your MX records point: if they point to the old host, you'll need to either recreate mailboxes on the new server or move email to a dedicated provider first.

If you send transactional email from your site (order confirmations, password resets), the new server's IP will have no sending reputation. Set up SPF, DKIM, and DMARC records before you switch, and consider a transactional email service for deliverability. Otherwise, messages may land in spam for weeks.

For a small business with a handful of mailboxes, moving email can take a day of fiddling. If email is critical, schedule the website cutover for a different day than the email cutover.

240No checklist90Basic backup only20Full checklist5Full checklist + s
Typical downtime during migration by preparation level (minutes)

5. Set up SSL, firewall, and access controls

Modern cloud hosts usually offer free Let's Encrypt certificates, but you need to request and install them on the new server before the domain points there. Many control panels can do this automatically once DNS resolves, but you can also use DNS-01 validation to issue the certificate early.

Configure the firewall before going live. Open only the ports you need: 80 and 443 for web, 22 for SSH (ideally restricted to your IP), and any custom ports for control panels or APIs. A default-deny policy on everything else is standard practice.

Create separate SSH keys for each administrator and disable password logins. If you use a control panel like cPanel or Plesk, enable two-factor authentication. These steps take 15 minutes and close the most common attack vectors.

  • Issue SSL certificate before DNS switch
  • Open only ports 80, 443, and restricted SSH
  • Disable SSH password authentication
  • Enable 2FA on control panel accounts

6. Test on a staging URL

Before changing DNS, make the new server reachable via a temporary URL or your hosts file. Browse every key page, test forms, log in to the admin area, and run through a checkout if you have a store. Check that image paths and internal links aren't hardcoded to the old domain.

Use a tool like curl or an online HTTP header checker to confirm redirects, caching headers, and compression. Compare load times between old and new servers—a cloud VPS should be at least as fast; if it's slower, investigate before cutover.

For WordPress sites, tools like WP-CLI can search-replace the domain in the database. For other CMSs, check the documentation for the correct procedure. Testing on staging catches 90% of migration issues without public downtime.

7. Schedule the cutover and monitor

Choose a low-traffic window—early morning or a weekend—and block out 2–4 hours. Put up a maintenance notice if necessary. Change the A record to the new IP, then monitor with a tool like UptimeRobot or a simple ping script. Propagation typically takes 5 minutes to a few hours with a low TTL.

Keep the old server running for at least a week. If something breaks, you can revert DNS quickly. After a week of stable operation, cancel the old plan and take a final backup.

This is also the moment to review your uptime expectations. If you're coming from shared hosting, read How to Read Cloud Hosting Uptime and SLA Numbers to understand what 99.9% really means in practice.

  • Test your backup restore before you touch DNS—it's the most common failure point.
  • Lower TTL to 300 seconds at least 48 hours before the switch to speed propagation.
  • Email is separate from web hosting; verify MX records and set up SPF/DKIM on the new server.
  • Keep the old server running for a week after cutover so you can revert if needed.
Deniz Aydin · Editor
Deniz has spent years writing about web hosting, domains and small-business infrastructure. The focus here is plain-language comparisons, honest cost breakdowns and checklists that readers can act on. Every guide is written with the practical site owner in mind rather than the data centre engineer.

Related

↑