Last updated: · By Asael Dreyer
In short: your email doesn’t move with the website, because what decides where email goes is the MX record in DNS, not the web server. If your email is with Google Workspace or Microsoft 365, a hosting move doesn’t touch it, as long as you don’t change the MX. The risk is real only when the mailboxes sit with your old hosting company, and then you need to set up a new mail provider and move the mailboxes before you cancel.
⏱ Time needed: 1–3 hours, plus up to 72 hours for DNS propagation · Difficulty: medium · Last checked: 7 Nov 2026 · By Asael Dreyer
Key facts: email and hosting migration (as of 7 Nov 2026)
| What decides where email goes | The MX record in the domain’s DNS |
|---|---|
| What changes in a site move | The A record (the site’s IP address), not MX |
| Does Cloudways host mailboxes | No. There is Rackspace as an add-on, or an external provider |
| MX propagation time | Up to 72 hours, according to Google |
| The big risk | Cancelling the old hosting before the mailboxes have been moved |
| The first step | A screenshot of all existing DNS records |
Where does your email live right now?
This is the first question, and it determines everything else. Check your domain’s MX record: if it points to Google or Microsoft, your email has nothing to do with the hosting. If it points to your hosting company’s server, the mailboxes are there.
An MX record is a DNS record that tells mail servers around the world which server to send email addressed to your domain. An A record tells the browser which IP address to go to in order to show the website. A hosting move changes the A record, so email shouldn’t be affected.
| The MX points to… | Where the mailboxes are | What happens in a hosting move |
|---|---|---|
| smtp.google.com or aspmx.l.google.com | Google Workspace | Nothing, if you don’t touch the MX |
| *.mail.protection.outlook.com | Microsoft 365 | Nothing, if you don’t touch the MX |
| mail.your-domain or a hosting company’s server | With the old hosting company | You need to move the mailboxes before cancelling |
| Another mail provider (Rackspace, Zoho and others) | With that provider | Nothing, if you don’t touch the MX |
How to check: in any online DNS lookup tool, or in a terminal: nslookup -type=mx your-domain.com.
Why does this matter especially when moving to Cloudways?
Because Cloudways has no mailboxes on the server. According to the Cloudways knowledge base, the company doesn’t host email on its servers, and offers add-ons: Rackspace for mailboxes, and Elastic Email or SMTP for sending from the site.
Many shared hosting companies include mailboxes in the plan. If you are moving from one of them to Cloudways, you need to decide in advance where your email is going. The comparison of the options is in the guide to email options on Cloudways, and moving from a local hosting company is in the guide to migrating from a local host.
What happens to email when you change nameservers?
This is where most problems happen. If your domain uses the old hosting company’s nameservers, all DNS records, including MX, are managed there. When you move the nameservers to Cloudflare or another DNS provider, you need to copy all the records, not just the A record.
Whoever forgets an MX record, an SPF TXT record or a DKIM record finds out a day later, when emails don’t arrive or land in spam. That is why the first step in any migration is a screenshot or export of the whole DNS zone. Managing DNS for a country-code domain is explained in the guide to connecting a domain from a local registrar.
How do you move hosting without losing email, step by step?
The order matters. Email first, then the website, and only at the end do you cancel the old one.
- Document the existing DNS: screenshot or export all records: A, CNAME, MX, TXT (SPF, DKIM, verifications) and SRV.
- Lower the TTL of the records you are about to change to 300 seconds, a day before the move. That way the change propagates faster.
- If the mailboxes are with the hosting company: open an account with a new mail provider and create exactly the same addresses there.
- Move the contents of the mailboxes: most providers offer an IMAP import from the old server. You can also add both accounts to an email client and drag folders across.
- Switch the MX to the new provider, and delete the old MX records. For Google Workspace, according to Google’s instructions, it is a single record:
smtp.google.comwith priority 1. - Update SPF and DKIM for the new provider. The setup is in the SPF, DKIM and DMARC guide.
- Move the website and change only the A record to the new server. Instructions are in the guide to connecting a domain to Cloudways.
- Wait before you cancel: Google says detecting the new MX can take up to 72 hours. Keep the old hosting active for at least a week, and check the old mailboxes for emails that are still arriving.
The code BFCM802 takes 80% off your bill for the first two months (up to $200 off per month), including unlimited free site migrations. New customers only, and only until the offer ends.
The offer ends on December 4, 2026 at 23:59 (UTC+2).
Start with a free trial, no credit card. Enter the code at checkout and check that it shows up.
After Black Friday: 30% off for 3 months with the code ASAEL. On a large server (above about $444 a month) ASAEL already saves more today. BFCM802 vs. ASAEL calculator
Start a free trial server, no credit card. When you move to a paid plan, the code ASAEL takes 30% off your bill for the first three months.
The link fills in the code on the signup form. Just make sure it shows up.
What about the emails the website sends?
You need to take care of those too, and they are separate from the mailboxes. The contact form, WooCommerce order confirmations and password resets are sent from the website’s server. On a new server you need to set up sending again: an SMTP plugin or Elastic Email.
According to the Cloudways knowledge base, you can enable one sending add-on per server: Elastic Email or SMTP. Rackspace has a rate limit on outgoing email, so you don’t send automatic emails from it. Setting up the plugin in WordPress: WP Mail SMTP guide.
How do you check that email works after the move?
- Send an email from an external address (a personal Gmail) to every important business mailbox.
- Send from the business mailbox to Gmail, and check in the full headers that SPF and DKIM passed (PASS).
- Fill in the contact form on the site, and on a store place a test order.
- Check again after 24 and 72 hours, once DNS has propagated worldwide.
If something doesn’t arrive, the first step is the guide to a contact form that doesn’t send email or WooCommerce emails not arriving.
Common mistakes and how to fix them
Cancelled the old hosting too early: the mailboxes were deleted with it. If it is still possible, restore the account and pull the contents over IMAP. Otherwise, only a local backup will help.
Moved nameservers and forgot MX: emails stop arriving. Copy the MX records from the documentation you saved, and email comes back after propagation.
Two sets of MX records left: some emails go to the old one. Delete the old records, as Google recommends.
An old SPF that doesn’t include the new provider: emails go out but land in spam. Update to a single SPF record that includes all senders.
A full mailbox: not related to the move, but confusing. On Exchange Online, according to Microsoft Learn, a full mailbox rejects incoming email and sends the sender a bounce message.
Frequently asked questions
No, if the mailboxes are with a separate provider such as Google Workspace or Microsoft 365. They are deleted only if the mailboxes were with the old hosting company and you cancel it before moving them.
Usually a few hours, but Google says it can take up to 72 hours. Lowering the TTL a day before the change shortens it.
Yes. You change only the A record to the new server and leave the MX alone. The downside: you keep paying the old hosting company just for email.
No. Cloudways doesn’t host mailboxes, so moving the site doesn’t include email. You move the mailboxes to a mail provider, for example Rackspace through the panel or Google Workspace.
TTL is the time, in seconds, that servers around the world cache a DNS answer before checking again. A low value like 300 makes a change propagate faster, so you lower it before a move and raise it again afterwards.
If your DNS is managed at the domain registrar or on Cloudflare, changing the A record is enough. Moving nameservers means copying all the records, and that is where emails get lost.
Related guides
- Hosting migration checklist
- Creating a server and site on Cloudways
- Site email on Cloudways: Elastic Email, Rackspace or SMTP
- The DNS Made Easy add-on
- All guides on this topic: Email guides
Sources
- Does Cloudways Provide Servers for Email Hosting? – Cloudways Knowledge Base
- Which Email Add-on Should I Use? – Cloudways Knowledge Base
- Set up MX records for Google Workspace (checked 7 Nov 2026)
- Exchange Online limits – Microsoft Learn (checked 7 Nov 2026)
Official source: Cloudways Knowledge Base and Google Workspace Admin Help. This guide was written and checked by Asael Dreyer · Updated: 7 Nov 2026
Disclosure: this is an independent site, not the official Cloudways site. Some links on this site are affiliate links: if you sign up through them we earn a commission, at no extra cost to you. Full details