Welcome! New to Spiderz? Get 40% off your first purchase.

Move your website without interrupting email

How-to 5 min ·

Move your website to Spiderz while your mailboxes stay exactly where they are. Nobody's address, phone or mail app needs to change. The work is in changing only the website's records, and spotting the few places where website and email are linked.

If you're moving the mailboxes too, see Move business email to a new provider instead.

1 Note how your email works now

Write down:

What Where to find it
Who receives your mail The MX records, and their priorities
The names mail apps use Settings on staff phones and computers, such as mail.yourdomain.com
The records that vouch for your mail TXT records for SPF and DMARC, and DKIM records, often named like selector._domainkey
How the website sends email The site's mail settings: an outside sending service, or the old server
Verification records TXT records from your email provider or other services

The MX records may point to a spam filter rather than the mailbox provider itself. Keep them as they are either way.

2 Keep your DNS where it is, if you can

If your DNS stays with its current provider, you only change the website's records and everything else stays untouched. That's the safest way to move a website while keeping email.

If you're switching nameservers, to Spiderz or to Cloudflare, every record must be copied to the new provider first, including all the email ones from step 1. Compare the two lists line by line before switching.

3 Check for links between website and email

Some email records depend on the website's address. Check each MX record's target:

  • The MX points to mail.yourdomain.com, and that has its own A record. Changing the website's records won't affect it. Leave it.
  • mail.yourdomain.com is a CNAME to yourdomain.com. Changing the website's address would move your mail too. Give mail its own A record with the mail server's current address before you move the website.
  • The MX points to yourdomain.com itself. Same problem. Ask your email provider for the correct mail server name and use that instead.

Do the same for names staff apps use, such as webmail, imap or smtp. Don't move them just because they share the old website's address.

If your mailboxes are on the old hosting account, they stop working when that account is cancelled, whatever DNS says. Keep the old account until the mail has a new home.

4 Check your SPF record

SPF lists the servers allowed to send email for your domain. If it contains a or mx, it allows whatever those records point to. Changing the website's A record then changes who can send as you.

Ask your email provider what your SPF record should be for your setup. Keep one SPF record only: a second one breaks both.

5 Set Email Routing in cPanel

In cPanel, open Email Routing and choose Remote Mail Exchanger. This tells the Spiderz server your mail is handled elsewhere.

Without it, a message your website sends to your own address, such as a contact form notification to hello@yourdomain.com, can be delivered to an empty mailbox on the Spiderz server instead of your real one.

6 Test the website's email before going live

Your new hosting may send mail differently from the old one. Check the site's mail settings: the sending service, the from address and the login.

Send a test from the site's contact form and check it arrives, including in spam. If the site used the old server to send mail without any settings, set up sending properly first. Send email from your website using a business email service shows you how.

7 Change only the website's records

At your DNS provider, update the A record for @ and the record for www to point to Spiderz. Spiderz hosting has no IPv6 address, so delete any AAAA records for those names. Connect your domain to Spiderz Hosting has the details.

Leave the MX, mail names, SPF, DKIM, DMARC and verification records exactly as they were.

8 Test your email

From addresses you control, check that:

  1. mail from outside arrives in your business mailboxes;
  2. staff can send to outside addresses;
  3. the website's form reaches its recipient;
  4. the website can email your own domain;
  5. important aliases and shared addresses still work.

Note the time, sender and recipient of any message that fails. Your email provider can trace it from those.

If email stops but the website works

Compare the records now with your copy from before. Look for a changed MX target, a mail name that followed the website, a missing record after a nameserver switch, or Email Routing still set to local.

If you use Cloudflare, mail records must be DNS only (grey cloud), never proxied. Cloudflare's email records help

Put back the record that changed, rather than trying new mail servers.

Moving a site from another cPanel host to Spiderz is free. Tell Support about your email setup when you ask, so the move keeps it working.

Did this solve it?

Reference docs