If you have purchased Microsoft 365 (Office 365) email and your domain is hosted in cPanel, you must update the DNS records correctly to route your emails through Microsoft servers. Many businesses in Chennai and across Indiaface email delivery issues because of incorrect MX or SPF configuration.
This guide will help you update Microsoft 365 DNS records using the cPanel DNS Zone Editor step by step.
Why You Need to Update DNS Records for Microsoft 365 Email
When your domain is connected to cPanel hosting, your email might still be pointing to the hosting server. To activate Microsoft 365 email services, DNS records must be updated so that:
- Incoming emails go to Microsoft servers
- Outgoing emails are authenticated properly
- Spam filtering and email security are improved
- Microsoft services like Outlook and Teams work smoothly
Before You Start: Things You Need
Before making DNS changes, keep the following ready:
- Your domain name (example: yourdomain.com)
- Access to your cPanel account
- Microsoft 365 DNS record details (provided in Microsoft Admin Center)
Step 1: Login to cPanel
- Login to your hosting cPanel account
- Go to Domains section
- Click Zone Editor
The Zone Editor is where you can add and modify DNS records like MX, TXT, and CNAME.
Step 2: Identify Existing Email Records
Inside Zone Editor, click Manage next to your domain.
Check for existing records such as:
- MX record pointing to your hosting server
- Old SPF record (TXT)
- CNAME records related to mail or webmail
If your domain was using cPanel email earlier, you will see MX records like:mail.yourdomain.com
These must be updated.
Step 3: Update the MX Record for Microsoft 365
MX record controls where incoming emails should be delivered.
Delete Old MX Records
Remove existing MX records that point to your hosting provider.
Add Microsoft 365 MX Record
In Microsoft 365, you will receive an MX record like:
- Type: MX
- Name: @
- Priority: 0
- Destination: yourdomain-com.mail.protection.outlook.com
- TTL: 3600
Save the record.
This ensures all incoming emails are delivered to Microsoft 365.
Step 4: Add SPF Record (TXT) for Email Authentication
SPF helps prevent spoofing and improves email delivery.
In cPanel Zone Editor, add a TXT record:
- Type: TXT
- Name: @
- Value: v=spf1 include:spf.protection.outlook.com -all
- TTL: 3600
If an SPF record already exists, edit it instead of adding a duplicate.
Correct SPF setup is important for businesses in India because many Indian email providers aggressively block emails without SPF.
Step 5: Add Microsoft 365 Autodiscover CNAME Record
Autodiscover helps Outlook configure email automatically.
Add this CNAME record:
- Type: CNAME
- Name: autodiscover
- Destination: autodiscover.outlook.com
- TTL: 3600
This is required for Outlook desktop and mobile configuration.
Step 6: Add Microsoft 365 Verification TXT Record
Microsoft will ask you to verify domain ownership.
It will provide a TXT record like:
- Type: TXT
- Name: @
- Value: MS=msXXXXXXXX
- TTL: 3600
Add this record in cPanel and then verify in Microsoft Admin Center.
Step 7: Enable DKIM for Better Email Deliverability
DKIM is important for reducing spam issues and improving trust.
Microsoft provides two CNAME records for DKIM, such as:
- selector1._domainkey → selector1-yourdomain-com._domainkey.yourdomain.onmicrosoft.com
- selector2._domainkey → selector2-yourdomain-com._domainkey.yourdomain.onmicrosoft.com
Add both as CNAME records in cPanel.
After adding these records, go to Microsoft Admin Center and enable DKIM.
Step 8: Add DMARC Record for Email Security (Recommended)
DMARC improves email security and reporting.
Add a TXT record:
- Type: TXT
- Name: _dmarc
- Value: v=DMARC1; p=none; rua=mailto:admin@yourdomain.com
- TTL: 3600
For Chennai-based companies handling customer emails, DMARC is strongly recommended to protect the domain reputation.
Step 9: Wait for DNS Propagation
DNS changes may take time to update worldwide.
Typical propagation time:
- 5 minutes to 4 hours
- Sometimes up to 24 hours
You can check DNS propagation using online DNS tools.
Step 10: Test Microsoft 365 Email Working Properly
Once propagation is complete, test the setup:
- Send email from Gmail to your Microsoft 365 email
- Send email from Microsoft 365 to Gmail
- Login via Outlook Web: https://outlook.office.com
- Configure Outlook desktop and mobile
If you receive and send emails successfully, your DNS configuration is complete.
Common Issues Faced in cPanel Microsoft 365 Email Setup
1. Emails Still Going to Old Hosting Mailbox
This happens if old MX records are still active.
2. SPF Record Conflict
Having multiple SPF TXT records causes failure. Only one SPF record should exist.
3. Autodiscover Not Working
This happens when the autodiscover CNAME is missing or wrong.
4. DKIM Not Enabled
Even after adding DKIM records, it must be enabled inside Microsoft 365 admin panel.
Why Microsoft 365 Email is Best for Business in Chennai & India
Microsoft 365 email is ideal for Indian businesses because it offers:
- High uptime and reliability
- Strong spam protection
- Better security compared to normal cPanel email
- Easy access from mobile and Outlook apps
- Integration with Teams, OneDrive, and SharePoint
For companies in Chennai handling daily customer communication, Microsoft 365 email is a long-term professional solution.
Need Help Configuring Microsoft 365 DNS in cPanel?
If you are facing issues setting up Microsoft 365 email DNS records in cPanel, ChennaiHost.com can help you complete the full configuration and verification process quickly.
We assist with:
- Microsoft 365 DNS setup
- MX, SPF, DKIM, DMARC configuration
- Email migration support
- Business email solutions for Chennai and all over India
Conclusion
Updating DNS records in cPanel is the most important step to connect your domain email with Microsoft 365. By configuring the MX, SPF, Autodiscover, DKIM, and DMARC records properly, you can ensure smooth email delivery and strong protection from spam and spoofing.
If you want a hassle-free setup, ChennaiHost.com can configure everything for you.
