Setup Office 365


If you wish to use Office 365 for your domain's email service (instead of hosting mail on your hosting account) you will need to set up several DNS records in Plesk for this to work.

The process is as follows:

  1. Add TXT record for verification
  2. Add MX record to redirect your email
  3. Add four CNAME records
  4. Add a TXT record for SPF to help prevent email spam
  5. Add two SRV records

Please note that DNS changes may take a few hours to fully propagate and take effect across the Internet.


We will now describe each step in detail below.

1. Add TXT record for verification

  1. Log in to your Plesk Panel
  2. Click "Websites & Domains"
  3. Click the domain name
  4. Click DNS Settings
  5. Click Add Record
  6. Select 'TXT' in the dropdown list for Record type
  7. Leave Domain name blank
  8.  Set TXT record to MS=msXXXXXXXX
    (please note: This is just an example. Use your specific Destination or Points to Address value here from Office 365.) 
    How to find this?
                           

    Add TXT record


  9.  Click OK button to save the changes.
     

Now that you have added the TXT record on your Plesk Panel, you shall need to login back to your Office 365 account and request Office 365 to look for the record.

After Office 365 finds that the TXT record is correct, your domain name will be verified.

  1. On your Office 365 account, go to your Domains page.
  2. On your Manage domains page, select the domain that you are verifying and then, in the Action column for that domain, choose Start setup.

    Office 365 Domain Start-up button 
  3. On the Add this TXT record to show you own domain_name page, choose Okay, I've added the record.

    Add Office 365 TXT record button

  4. Choose Next.

    Domain TXT verification confirmation 

    Please note that it may take a few hours for the DNS changes to take effect across the Internet.


2. Add MX record to redirect your email

You will need to add an MX record for your emails to redirect to Office 365 servers.  Please refer to the steps below on how to setup an MX record on your Plesk Panel.

  1. Log in to your Plesk Panel
  2. Click "Websites & Domains"
  3. Click the domain name
  4. Click DNS Settings
  5. On the listed DNS records, please remove first our default MX record before adding Office 365 MX record (the default record will point to mail.yourdomain.com)

    Remove our default mx record

  6. Once the default MX record has been removed, click Add Record
    Add MX record 
  7. Select 'MX' for Record type
  8. Leave Mail domain blank
  9. Set Mail exchange server to <MX token>.mail.protection.outlook.com, where <MX token> is a value like MSxxxxxxx
    (please note: This is just an example. Use your specific Destination or Points to Address value here from Office 365.) How to find this?
  10. Set Priority to 'very high 0'
  11. Click OK button to save the changes


3. Add four CNAME records

There are four CNAME records that Office 365 required to setup. Please follow the steps below on how to add the four CNAME records on your Plesk Panel. 

  1. Log in to your Plesk Panel
  2. Click "Websites & Domains"
  3. Click the domain name
  4. Click DNS Settings
  5. Click Add Record
  6. Select 'CNAME' for Record type


    On the two fields being asked, please copy and paste the following values. Create the four CNAME records one at a time.

    Office 365 CNAME record values

     
    Add CNAME record 
  7. Click OK button to save the changes.
  8. Repeat steps 5-7 for all four of the CNAME records as shown in the table above.


4. Add a TXT record for SPF to help prevent email spam

SPF records are used to prevent spammers from sending messages with forged From addresses at your domain.  To set up an SPF record in your Plesk Panel, please follow the steps below.

  1. Log in to your Plesk Panel
  2. Click "Websites & Domains"
  3. Click the domain name
  4. Click DNS Settings
  5. Click Add Record
  6. Select 'TXT' for Record type (setting up SPF record is done through adding TXT record)
  7. Leave Domain name blank
  8. Set TXT record to: v=spf1 include:spf.protection.outlook.com ~all

    Add TXT record 

  9. Click OK button to save the changes.
  10. If you wish to validate the SPF record, you may use one of these SPF validation tools.


5. Add two SRV records

You should create two SRV records in Plesk for your domain. After you create the first SRV record, you will need to create the second SRV record.

Please check the steps below and the values needed for you to setup SRV record.

  1. Log in to your Plesk Panel
  2. Click "Websites & Domains"
  3. Click the domain name
  4. Click DNS Settings
  5. Click Add Record
  6. Select 'SRV' for Record type.  Please see the SRV values.

     Office 365 SRV record values
 

Add SRV record

   
      7.Click OK button to save the changes.


Please note that any DNS change will take a few hours to fully propagate across the network.


Was this answer helpful?

 Print this Article

Related Articles

How to Access Webmail

Webmail offers a convenient web-based interface for sending and receiving mail from your...

How to reset email password

If you forgot the password for your email address, you can always update or reset it from the...

How to configure an email account in IncrediMail

This tutorial assumes you've already created your new email account in your Plesk control panel....

How to configure an email account in Outlook 2007

This tutorial assumes you've already created your new email account in your Plesk control panel....

How to configure an email account in Outlook Express