In short: Switching web hosts is something your visitors will not notice if it is done in the right order. First list everything that needs to move and take a full backup; transfer files, databases and email to the new host; test the site without changing DNS; then point DNS to the new server and keep the old hosting active for a few more days. Downtime and data loss almost always come from skipping this order.
The most common mistake is thinking only about website files and forgetting the other components. Before you start, list everything you use on the old host:
public_html folder, including hidden files such as .htaccess.Taking a screenshot or export of your DNS records makes it easy to spot a missing record after the switch. We explain what each record type does in our DNS records guide.
Take a full backup of your files and databases from the control panel, and do not leave it only on the server; download it to your computer or to cloud storage. If anything goes wrong during the move, this backup is the only point you can return to. Our backup guide explains what to back up and how often.
Upload the files to the same folder on the new host via FTP or the file manager. Create an empty database and user on the new host and import the database from your backup. Then update the database name, user name and password in the site's configuration file; in WordPress this file is wp-config.php.
Also check that the PHP version on the new host is compatible with the old server. Software written for a very old PHP version may throw errors on a current one.
While visitors still see the old server, you can test the site on the new server from your own computer. To do this, add the new server's IP address and your domain to the hosts file on your computer:
C:\Windows\System32\drivers\etc\hosts/etc/hostsThe line should look like 203.0.113.10 yourdomain.com www.yourdomain.com (replace the IP with your new server's address). Seeing an SSL warning at this stage is normal; the certificate is usually issued after DNS points to the new server. Try the pages, the login screen, forms and, if you have one, the checkout. Remember to remove the line once testing is done.
The TTL (Time To Live) value of a DNS record determines how long it is cached. If you lower the TTL of your A and MX records to a small value such as 300 seconds 24-48 hours before the switch, the DNS change will propagate much faster. You can raise the TTL again once the move is complete.
There are two ways to switch:
You do not need to transfer your domain to another company in order to move your hosting. A domain transfer is a separate process; if you wish, you can do it after the migration by following our domain transfer guide.
Email migration is a step that should be planned separately from the website:
Do not forget to update your SPF and DKIM records for the new mail server; otherwise the messages you send may end up in spam.
When you move to CAP Hosting, you do not have to do most of these steps yourself. We migrate your website, databases and email from another provider to your CWP account free of charge. After choosing your web hosting package, simply submit your migration request through our support system; our team handles the transfer and testing and guides you step by step through the DNS switch. All packages include a free SSL certificate, which is installed automatically once DNS points to the new server. If you have any questions, get in touch with us.
A migration done in the right order causes no downtime. The site is first copied to the new server and tested, DNS is pointed only when everything is ready, and the old hosting stays active during the process. While DNS propagates, some visitors see the old server and some the new one; since both serve the same site, nobody notices.
If only the A and MX records are changed and the TTL was lowered in advance, it usually propagates within minutes. A nameserver change can take up to 24-48 hours.
No email is lost if the messages in the old mailboxes are copied to the new accounts over IMAP and a final sync is run after the MX record is changed. Keeping the old hosting active until DNS has fully propagated also protects messages that arrive during that time.
No. The domain can stay with its current registrar; you only need to point the DNS records or nameservers to the new host. A domain transfer is an optional, separate process.
Rankings are not affected if URLs, content and redirects are moved unchanged. After the move, simply check that the site loads over HTTPS, redirects work and Search Console shows no crawl errors.
Yes. We migrate your website, databases and email from another provider to your CWP account free of charge. After choosing your package, simply submit your migration request through our support system.