Migrate email to Office 365 using WHM

If you are like me, then you are simply wanting to migrate your email over to Microsoft Office 365 to take advantage of Exchange. Me and my colleague just wanted to get rid of our IMAP email. Doesn’t work great when sharing an inbox for a business.

Migrate email to 365 with WHM

Below is a short tutorial on how to migrate your email to Office 365 while still hosting your domain using WebHost Manager (WHM). I will walk you through the DNS changes, etc.

Step 1

After signing up and paying the first thing you have to do is login to your Office 365 administration site. The URL is: Then click on Admin at the top right.


Step 2

You will now want to walk through the 5 steps to get your domain ready. The 1st one is to verify your domain by either an MX entry or TXT entry. In WHM, go down to “DNS Functions”, click on “Edit DNS Zone” and then pick the domain you are working with. Below is how mine looks for a TXT entry. Values were changed for example shown in pic. Also note, it took about 20 minutes for Microsoft to see my TXT entry. So do something else, come back and refresh. It will show up eventually.

READ ALSO  WinPE 3.1 Scripts


Step 3

Step 2 in the process is simply checking your website to make sure you didn’t screw something up. Then step 3 is adding your email address, for example: as a user for your Office 365 account. Use the email addresses you are working with.

Step 4

This step is simply notifying your users of the change. The next one is important. Don’t do step #5 in the process. In fact, if you are only moving your email over you won’t every finish Step #5 and can ignore it. Simply hit save and close.

Step 5

Instead of doing step #5 in their process, you want to go under Management and click on domains. Then under your real domain name, select the radio button and click on “Manage DNS.” This page shows all of your DNS information that is available to you on Office 365.


Step 6

We are now going to add the MX entry to change the email over. The first picture is how it looks on the DNS management page from Microsoft. You will want to change any current MX entries to priority 1 or higher. This way Office 365 is checked first having the “0” priority. Click to see larger version.

READ ALSO  Microsoft Starting to Update Core Windows 8 Apps


This picture below is how it looks on my DNS zone under WHM.


Step 7

The next thing we want to do is add the CNAME entry for autodiscover. This will enable the Outlook client to be able to configure via autodiscover. The first picture is how it looks on the DNS management page from Microsoft. Click to see larger version.


This picture below is how it looks on my DNS zone under WHM.


Note that autodiscover took about an hour before it started working on my Outlook client. Even after multiple flushes of my local DNS cache.

Step 8

Everything should now be working! There are more entries if you are using Lync, etc. Also, I would recommend setting up subdomains. Example, I setup which redirects to This goes straight to my document SharePoint site. You can do the same thing for email. They come in very handy and save time! It will post you to the Office 365 login page, but deep linking works. So once you sign in, it will still go to the destination you originally linked to.

You may also like:

Install Windows 7 VGA driver on Dell GX270 This is a short guide on solving the problem when trying to install the VGA driver on a Dell GX270 when Windows 7 is installed. GX270 VGA Driver Inst...
Install Canon ScanGear Tool This is a short guide to setting up the Canon ScanGear Tool to enable the Canon copiers to be able to scan directly from the copy machine to the compu...
Fix Corrupt Windows 7 Temporary Profile While working with Microsoft's Windows 7 operating system over the past few months I have noticed that sometimes when working with multiple profiles...
Install Windows 7 VGA driver on Dell GX260 This is a short guide on solving the problem when trying to install the VGA driver on a Dell GX260 when Windows 7 is installed. Dell GX260 Driver Ins...
How to Solve the Windows Update Error 80072ee2 In this article we will guide you through the most complete guide for solving the Windows update error 80072ee2. Windows errors are notoriously dif...
  • Bill McKissen

    You forgot to add the screenshot after

    “This picture below is how it looks on my DNS zone under WHM. Click to see larger version.”

    • Thank you for commenting. I had migrated this article from my previous blog and it looks like a picture accidentally got missed. I have re-added it now.


  • CH

    I’m correcting a setup for a friend who’s using this scenario. Name servers for his domain are ns1 and I’ve added the DNS records for Office 365 in WHM. My question is on the Email Routing setting in WHM. I changed it to the option “Remote Mail Exchanger”. Is that the correct choice?

  • Patrick Primo Odu

    i need help on migrating mail from cpanel to O365,without using exchange server. how can you assist plz

  • Patrick Primo Odu

    can i contact you or chat with u or call or something,really need for this to wrk