How to switch hosting providers without losing your website or your email

Share on:

How to switch hosting providers without losing your website or your email

Moving a website to another host raises two concerns: that nothing goes down and that no email is lost. We explain what happens during a migration, what to prepare beforehand and what to check afterwards so the switch goes unnoticed.
How to switch hosting providers without losing your website or your email

Switching hosting providers is more common than it seems: because of price, quality of service or because the current provider stopped responding. The same two questions always come up: will the website and email keep working during the switch? What happens to the messages I already have? With good planning, the answer is reassuring.

What happens in a migration

Your domain (for example, yourcompany.com.ar) has name servers, or DNS, set up that tell the rest of the internet where your website is hosted and where your email is received. Moving hosts basically involves three things:

  1. Copying the website and creating the mailboxes on the new server.
  2. Changing the domain's DNS to point to the new server.
  3. Waiting for that change to propagate across the internet.

Propagation can take anywhere from a few minutes to 48 hours. During that time, some people reach the old server and others the new one. That's why it's essential that both keep running in parallel until it's over.

Before changing the DNS

  1. Don't cancel the previous hosting. It must stay active for at least a week after the switch.
  2. Get the access details. You need the current hosting control panel (to download a full backup), access to the domain registry (for .ar domains, NIC Argentina) and the list of existing mailboxes.
  3. Copy the website to the new server, with its files and database.
  4. Test the website on the new server before it goes public, using a temporary address or the server's IP.
  5. Create the same mailboxes on the new server and note down the passwords.
  6. Check the SSL certificate (the padlock in the browser). The new server must be able to issue it as soon as the domain points to it.
  7. Review other DNS records. If you use external services such as Google Workspace, Microsoft 365 or Meta verifications, their records must be copied into the new configuration.

The switch and the first few hours

With everything ready, the DNS is changed at the domain registry. It's best to do it at a quiet time, for example on a Friday afternoon or at the weekend.

After the switch:

  • Check that the website loads correctly, with the security padlock.
  • Test the contact forms.
  • Send and receive test emails from each mailbox.

What to do with your email

What happens to your messages depends on how your email is set up:

  • If you use IMAP (the most common setup today), messages are on the server. When you move, the new mailboxes start empty, so you need to copy the emails from the old server to the new one. We explain how in this guide to migrating email.
  • If you use POP3 on a single computer, messages are already downloaded to your device and don't need migrating. Even so, make a backup before touching the settings.

Watch out for duplicates: if your email program uses POP3 and you also migrate the emails to the new server, the program may download them all again. In that case, it's best to make a backup, delete the account and create it again as IMAP.

Reconfiguring your devices

You'll most likely need to update the email settings in your programs (Outlook, Mail, Thunderbird) and on your phone, because the server details or the password change. Usually this is enough:

  • Username: the full email address.
  • Incoming and outgoing server: the one given by the new provider.
  • Password: the new one. If you were given a temporary one, change it from webmail to a secure one of your own.
  • Outgoing server authentication: enabled, with the same details as the incoming server.

Once everything is working and a few days have passed without problems, only then can you cancel the previous hosting.

If you're thinking about moving your website and would rather not do it yourself, we can help with the migration, including your email. It's a job we quote case by case: get in touch and we'll send you a quote. You can also take a look at our hosting service.

Contact us

Get in touch!

Tell us what you need

(All fields are required)