How to Transfer Your Website, Emails, and Domain to a New Web Hosting Provider

How to Transfer Your Website, Emails, and Domain to a New Web Hosting Provider Plays from YouTube

A free, step-by-step tutorial by Ferdy. Watch it right here or on YouTube.

If you’re reading this with an 85% discount flashing, congratulations! You’ve stumbled upon a Black Friday deal, making it the perfect time to migrate your website. In this step-by-step guide, we’ll show you how to seamlessly transfer your complete website, including emails, email accounts, and your domain name, from one web hosting provider to another.

Whether your current website is sluggish, you’re dissatisfied with support, or your renewal rates are skyrocketing, this tutorial will walk you through the entire process.

1. Backup Your Website

Before making any changes, it’s crucial to back up your website and emails to ensure nothing is lost during the migration. We recommend using two methods for a secure backup:

Using All-in-One WP Migration: This user-friendly WordPress plugin allows you to back up your website and database in one file completely.

WP Vivid for Double Backup: Adding an extra layer of security, WP Vivid provides another backup of your website files and database.

For your emails, use an email client like Mac Mail or Microsoft Outlook to export your email accounts and emails. This ensures a smooth transition to your new hosting provider without losing important correspondence.

2. Choosing a New Web Hosting Provider

Selecting the right web hosting provider is crucial for a seamless migration. We recommend Hostinger for its speed, excellent support, affordability, and transparent renewal rates in this guide. Hostinger offers various plans to suit your needs, from personal blogs to business websites.

3. Setting Up Your New Hosting

Once you’ve chosen Hostinger, you can sign up for your preferred plan. Hostinger offers a 30-day money-back guarantee, so you can try their services risk-free. After registering, you’ll receive access to your hosting control panel.

  • Install WordPress: Begin by installing WordPress on your new hosting. This is where your website will reside.
  • Create Email Accounts: Set up email accounts on your new hosting platform, ensuring they match your existing email addresses. This step prevents email disruption during the migration process.
  • Force HTTPS: Enhance security by enabling HTTPS for your website on Hostinger.

4. Restoring Your Website

After setting up your new hosting, it’s time to restore your website. Follow these steps:

  • Import Your Website Backup: Use All-in-One WP Migration or WP Vivid to restore your website. This process will bring your website and its content to your new hosting.
  • Verify the Website: Double-check your website looks and functions correctly on your new hosting. This step ensures your website is ready for visitors.

5. Transferring Your Domain

Transferring your domain is the final step in migrating your web presence. Here’s how to do it:

  • Obtain an EPP Code: Request an EPP (Extensible Provisioning Protocol) code from your current domain registrar. This code is necessary for transferring your domain.
  • Initiate Domain Transfer: Go to your new hosting provider (Hostinger, in our case) and start the domain transfer process. Provide the EPP code and follow the instructions.
  • Complete the Domain Transfer: The domain transfer may take a few days to complete. During this time, ensure that your website and emails continue to function smoothly on your new hosting.

6. Conclusion

Congratulations! You’ve successfully migrated your website, emails, and domain to a new web hosting provider. This process can be a bit complex, but with careful planning and attention to detail, you’ve ensured a smooth transition without losing any data or functionality.

If you encounter any issues along the way, don’t hesitate to reach out to customer support for assistance. Your new hosting provider should be more than willing to help you with any questions or concerns.

Enjoy your improved website performance, better support, and cost-effective hosting. We hope this guide has been helpful, and we wish you all the best with your revamped online presence!

Related: Learn more about WordPress

How to transfer your website, emails and domain to a new web host

Maybe your hosting is slow, the support is not helpful, or the renewal price went up. Whatever the reason, you can move everything to a new web hosting provider without your website going offline. In this walkthrough I move a WordPress website, an email account with all incoming and sent emails, and the domain name from HostGator to Hostinger.

Below I explain each step in the order I do it in the video, with the exact menus I click and the checks I do along the way. At the end, your website, domain, email accounts and emails are all in one place.

What you need

  • Access to your current hosting account, your WordPress dashboard and your domain registrar
  • The free plugins All-in-One WP Migration and WPvivid
  • An email client like Apple Mail or Microsoft Outlook
  • A new hosting plan. I use Hostinger.

Step 1: Back up your website and your emails

Before you change anything, make two backups of your website. If one fails, you still have the other.

  1. In WordPress, go to Plugins, Add New, search for All-in-One WP Migration, install and activate it.
  2. Go to All-in-One WP Migration, Export, choose Export to File and download the file. Mine was about 270 MB. If your site is bigger than 300 MB, look up my tutorial on migrating a big website for free.
  3. Install and activate WPvivid, click Backup Now, scroll down and download that backup too.
  4. Put both files in one folder on your desktop, for example “Backup current website”.

Then back up your emails. In Apple Mail, right click your inbox and choose Export Mailbox. Do the same for your sent mailbox and save both in the backup folder. Finally, go to your mail account settings and rename the account to something like “Old”. When you add the new account later, you will always know which one is which.

Step 2: Get your new hosting and install WordPress

I have used Hostinger for years. In the video I pick the Business plan: room for up to 50 websites, fast NVMe storage, daily backups, a free CDN, up to five mailboxes per website, a free domain for the first year and free domain privacy. There is a 30-day money-back guarantee, and with the coupon code FERDY you get extra discount. A longer period gives you a lower monthly price. My Hostinger tutorial shows the whole dashboard.

After you pay, Hostinger asks a few questions. I choose: for myself or my business, create a new website, WordPress, then I fill in login details, skip the AI and theme options with Create a blank website, and choose a temporary domain. The idea is simple: you build an exact copy of your site on that temporary domain first, and only then switch your real domain over.

Step 3: Restore your website on the new host

First clean up the fresh WordPress install, so the import goes smoothly.

  1. Select all plugins, choose Bulk actions, Deactivate, then select them again and delete them.
  2. Delete the sample post and all pages, and empty the trash.
  3. Install All-in-One WP Migration, go to Import, choose Import from File and select the .wpress file from your backup folder.
  4. Click Proceed. If it says the new host uses a newer PHP version, that is fine.
  5. Log in again with the username and password of your old website, because those came along with the import.
  6. Go to Settings, Permalinks, select Post name and save the changes twice.

Now check everything. Click through your pages. If you run a web shop, buy the cheapest product from your own store to make sure checkout still works, otherwise you can miss out on sales. If the layout looks a bit off, open the Customizer, change one setting, change it back and publish. Saving the Customizer once often fixes it. If the import fails completely, upload your WPvivid backup under Backup & Restore and restore that one instead.

Step 4: Point your domain to the new host

Both websites are now the same, so it is time to show the new one on your real domain.

  1. In Hostinger, go to Websites and click Connect domain. Enter your domain and confirm that it is yours.
  2. Find the Hostinger name servers in your hosting plan details and copy them.
  3. Log in at your old provider, go to Domains, scroll to the name servers (at HostGator under Advanced tools) and click Manage.
  4. Replace both name servers with the Hostinger ones and save.
  5. Wait. It can take up to 24 hours, but for me it was done in about 5 minutes. You can check it with the NS lookup tool on dnschecker.org.
  6. In the WordPress overview in Hostinger, make sure Force HTTPS is turned on.

Step 5: Transfer the domain itself

Your domain now points to Hostinger, but it is still registered at the old company. I like to have everything in one place, so I transfer it too.

  1. At your old provider, open the domain settings and unlock the domain.
  2. Request the authorization code (also called EPP or auth code). HostGator took three days to email it to me, so do this early.
  3. In Hostinger, go to Domains, find your external domain and click Transfer. In the video it cost $9.99.
  4. Paste the code and keep the existing name servers, because they already point to Hostinger.

The transfer can take 5 to 7 business days, and you may get an email asking you to confirm it. Your website stays online the whole time, because the domain already points to the new host.

Step 6: Create your email account and move your emails

  1. In Hostinger, go to Emails, choose the free email that comes with your hosting and select your domain.
  2. Create the same address you had before, for example info@yourdomain.com, with a password.
  3. Test it in Webmail by sending yourself an email.
  4. Go to Connect apps and devices and choose to set it up manually. Copy the incoming (IMAP) and outgoing server details.
  5. In Apple Mail, choose Add Account, Other Mail Account, enter the address, password and servers, and sign in. Rename it to “New”.
  6. Open the old inbox, select all emails, hold Command (Control on Windows) so you copy instead of move, and drag them to the new inbox. Do the same for your sent emails.

Because this uses IMAP, everything stays in sync. When I flag or delete an email in Apple Mail, it also changes in webmail and on my phone. When all emails show up in webmail, make the old account inactive and rename the new one back to your normal name.

Now that you are on your new host, run through the launch checklist prompt and the security prompt to make sure everything is in order.

Frequently asked questions

Will my website go offline during the move?

No, if you follow this order. You first build a full copy on a temporary domain, then point the domain, and only then transfer the domain. Your site stays live during the transfer.

How long does a domain transfer take?

Changing name servers can take up to 24 hours. The domain transfer itself took 5 to 7 business days in the video, plus the time your old provider needs to send the authorization code.

What if my website is bigger than 300 MB?

The free version of All-in-One WP Migration has a size limit. I have a separate tutorial on migrating a bigger website for free. WPvivid is also a good second option.

Do I lose my old emails when I switch hosts?

Not if you keep them in an email client. Your old account stops working once the domain points to the new host, but the emails stay in Apple Mail or Outlook, and you can drag them to your new account.

6 thoughts on “How to Transfer Your Website, Emails, and Domain to a New Web Hosting Provider”

  1. Great Stuff !!! I have a question. I’m moving my website from Bluehost to Hostinger. Because Bluehost uses WordPress.com instead of WordPress.org.. I can’t use the free migration. Here’s my question.. Should I deactivate the Bluehost Plugin before exporting and importing?

    Hostinger support insist the issue with the migration is either the signin or Password for WordPress. I address that issue… Found an article about Hostinger will not migrate WordPress.com.

    FYI… Their is not a single YouTube Video about this issue of migrating from Bluehost to Hostinger. And Bluehost renewal rate went up almost 5X. I think a lot of people are going to be looking for a solution.

  2. Hi Ferdy,

    Can I develop a wordpress website using elementor pro on a local server like xampp? Can I then migrate it to hostinger and connect it to an existing domain? This is for a client who has a custom built website live on some other hosting platform.

    Regards
    Apurva

Leave your comment

Your email address will not be published. Required fields are marked *

Never miss
a tutorial

Every tutorial lives on YouTube. Subscribe and never miss a new one.

Black Friday A full year of Hostinger web hosting + free domain for about $30 with coupon code FERDY1 year hosting + free domain: about $30 with code FERDY Ends Dec 14 Get the deal Ad