How to Add Microsoft 365 CNAME Records in cPanel
Question details
The user needs to add CNAME records in cPanel to verify their domain for Microsoft 365.
- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Setting up a custom domain in Microsoft 365 when the domain's DNS is managed through cPanel.
- Observed behavior
- Domain verification records must be added manually in the domain host's cPanel interface rather than the Microsoft 365 admin center.
Ensure you have administrator login credentials for both your Microsoft 365 admin center and your cPanel hosting account.
Add CNAME Records via cPanel DNS Zone Editor
Use this method to manually enter the Microsoft 365 verification values into your cPanel DNS settings.
When your domain's nameservers point to a cPanel hosting provider, all DNS records must be managed within cPanel. Microsoft 365 will query these records to confirm that you own the domain before allowing you to use it for email or other services.
Sign in to the Microsoft 365 admin center. Navigate to Settings > Domains, select the domain you want to verify, and choose Manage DNS to view the required CNAME record values (Name, Target/Value, and TTL).
In a separate browser tab, sign in to your cPanel dashboard. Scroll down to the Domains section and click on 'Zone Editor'.
Locate your domain in the Zone Editor list and click 'Manage' or '+ CNAME Record'. Enter the exact 'Name' and 'Target' values provided by Microsoft 365. Set the TTL (Time to Live) as instructed, then click 'Save Record'.
Return to the Microsoft 365 admin center tab. Wait for the DNS changes to propagate, then click the 'Verify' button to complete the domain verification process.
Looking for a Simpler Office Solution? Try WPS Office
If setting up Microsoft 365 domains and DNS records is too complex for your current needs, consider WPS Office. It provides a complete, easy-to-use office suite right out of the box without requiring domain verification or complicated IT administration.
- 1. Download the Installer: Visit the official WPS Office website and click the Free Download button for your operating system.
- 2. Install the Software: Run the downloaded setup file and follow the straightforward on-screen installation prompts.
- 3. Start Creating: Open WPS Office and immediately begin working on your Word, Excel, or PowerPoint files without any complicated setup.

Frequently Asked Questions
Why is Microsoft 365 failing to verify my CNAME record?
Verification usually fails because the DNS changes haven't propagated yet, or there is a typo in the record's Name or Target fields. Double-check the values in your cPanel Zone Editor against those in the Microsoft 365 admin center, and allow up to 48 hours for propagation.
What if I don't see the Zone Editor in my cPanel dashboard?
Some hosting providers disable the Zone Editor or restrict DNS management for shared hosting accounts. If you cannot find it, you will need to contact your web host's support team and ask them to add the CNAME records for you.
Can I use a TXT record instead of a CNAME record for Microsoft 365 verification?
Yes, Microsoft 365 allows you to verify domain ownership using either a TXT record or an MX record. You can select TXT from the record type dropdown in the cPanel Zone Editor and enter the corresponding values provided by Microsoft.




