Exchange Connection Problems

How to Fix Internal Email Routing to the Wrong Mailbox in Microsoft 365

John WilsonJohn Wilson Oct 29, 2026 870 views

Question details

Users need to correct their email routing settings because internal emails sent via cPanel are not reaching the correct external Microsoft 365 mailboxes.

Product
Microsoft 365 / cPanel
Device & OS
not provided
Scenario
Sending an email from a cPanel webmail account to a custom domain address hosted on Microsoft 365.
Observed behavior
Emails stay in the hosting provider's local mailbox and never arrive in Microsoft 365, although external messages and Outlook work fine.
Before you start

Ensure you have administrator access to your cPanel hosting account and your domain registrar to verify and modify DNS and mail routing settings.

Solution 1Recommended

Update cPanel Email Routing and MX Records

Change your cPanel configuration from local to remote mail delivery to force emails to route to Microsoft 365.

When your domain is hosted on a cPanel server, the server assumes it should handle all emails for that domain locally. By changing the routing to a Remote Mail Exchanger and ensuring the MX records point to Microsoft 365, the server will correctly forward internal emails to Exchange.

1
Access cPanel Email Routing

Log into your cPanel account, locate the 'Email' section, and click on 'Email Routing'.

2
Select Remote Mail Exchanger

Choose your custom domain from the dropdown menu, select 'Remote Mail Exchanger', and click 'Change' to apply the setting.

3
Verify MX Records

Navigate back to the cPanel dashboard and open 'Zone Editor'. Click 'Manage' next to your domain, filter by 'MX', and ensure the only MX record points to your Microsoft 365 address (e.g., yourdomain-com.mail.protection.outlook.com).

Update cPanel Email Routing and MX Records
Propagation Time: DNS and routing changes can take anywhere from a few minutes to 48 hours to fully propagate across all servers.
Free Microsoft Office alternative

Simplify Your Workflow with WPS Office

While troubleshooting complex Microsoft 365 Exchange configurations, consider managing your documents with WPS Office. It provides a lightweight, hassle-free environment to create, edit, and share files without relying on extensive administrative setups.

Completely free and lightweight Office suite.High compatibility with Microsoft Word, Excel, and PowerPoint (.docx, .xlsx, .pptx) formats.Familiar interface that requires no learning curve to master.Seamless built-in PDF editing, signing, and conversion tools.
microsoft office alternative - wps office

Frequently Asked Questions

Why do external emails reach Microsoft 365, but cPanel webmail messages do not?

External emails check the global public DNS to find your Microsoft 365 MX records. However, cPanel defaults to internal delivery for its hosted domains. It attempts to deliver the message to the local server mailbox before ever checking the public internet unless configured as a 'Remote Mail Exchanger'.

Do I need to delete my old cPanel email accounts?

Yes, once you have successfully migrated your mailboxes to Microsoft 365 and backed up your old emails, deleting the local cPanel email accounts prevents the server from attempting to route messages to them internally.

What should the Microsoft 365 MX record look like?

Your Microsoft 365 MX record typically follows the format 'yourdomain-com.mail.protection.outlook.com' with a priority of 0. You can find the exact value in your Microsoft 365 Admin Center under Settings > Domains.