You can keep your website with us and use Microsoft 365 (Outlook) or Google Workspace (Gmail) for your business email. This guide shows you how to use Microsoft 365 or Google Workspace email with your domain by adding the right DNS records in cPanel and telling the Instant Access Internet Services server that mail is handled elsewhere.
Before you start
- Your domain must use our nameservers (ns5.instantaccess.net and ns6.instantaccess.net, plus ns1/ns2.fanaticalhosting.com). If your DNS is hosted somewhere else, add the records there instead of in cPanel.
- Sign up for Microsoft 365 or Google Workspace and add your domain in their admin console. They will give you a verification TXT record and the exact MX value to use. Always copy values from their admin console, as they can differ per account.
- Create your users/mailboxes at Microsoft or Google before you change the MX record, so no mail bounces during the switch.
- Email already stored in your cPanel mailboxes does not move automatically. Keep a copy (for example with an email app) or migrate it using Microsoft's or Google's migration tools.
Step 1: Verify your domain
Microsoft 365 and Google Workspace both ask you to prove you own the domain by adding a TXT record. Follow How to Add a TXT Record to Verify Your Domain (Google, Microsoft and More) to add it in cPanel, then click verify in their admin console.
Step 2: Change your MX records in the Zone Editor
- In cPanel, go to Domains > Zone Editor.
- Click Manage next to your domain.
- Use the filter buttons at the top to show only MX records. Note down the existing record (usually pointing to your own domain) in case you ever need to switch back.
- Click Add Record (or the arrow beside it and choose MX). Enter the values below, then click Save Record.
- Delete the old MX record that points to your domain by clicking Delete next to it. Old MX records left in place can cause mail to be split between two systems.
| Service | Name | Priority | Destination |
|---|---|---|---|
| Google Workspace | example.com. | 1 | smtp.google.com |
| Microsoft 365 | example.com. | 0 | The MX value shown in the Microsoft 365 admin center (it ends in mail.protection.outlook.com or mx.microsoft) |
Older Google Workspace accounts may still use the five aspmx.l.google.com style records. Those still work, but new setups use the single smtp.google.com record.
Step 3: Set Email Routing to Remote Mail Exchanger
This is the step most people miss. If our server still thinks it handles your mail, messages sent from your website (contact forms, WordPress notifications) or from other customers on the same server will be delivered to the old local mailbox instead of Microsoft or Google.
- In cPanel, go to Email > Email Routing.
- Select your domain if you are asked to.
- Under Configure Email Routing, choose Remote Mail Exchanger.
- Click Change.
Automatically Detect Configuration usually picks Remote on its own once the MX record points elsewhere, but choosing Remote explicitly avoids surprises.
Step 4: Add autodiscover and SPF records
Microsoft 365
- Autodiscover CNAME: Name
autodiscover, pointing to the value Microsoft shows (normallyautodiscover.outlook.com). If a CNAME or A record forautodiscoveralready exists in your zone, edit it rather than adding a second one. See How to Add a CNAME Record in cPanel. - SPF: include
include:spf.protection.outlook.com. - Optional: the two DKIM CNAME records (
selector1._domainkeyandselector2._domainkey) Microsoft displays.
Google Workspace
- SPF: include
include:_spf.google.com. - Optional: DKIM. Generate the key in the Google Admin console and add it as a TXT record at the name Google gives you (usually
google._domainkey).
Only one SPF record
Your domain can have only one SPF record. Don't add a second v=spf1 TXT record. Edit the existing one and add the new include, so your website can still send mail too. For example:
v=spf1 +a +mx include:spf.protection.outlook.com ~all
Keep any other parts already in the record (such as +ip4: entries) that cover mail sent from our server.
Step 5: Test
- Wait for DNS to update. MX changes usually take effect within an hour or two but can take longer. See DNS Propagation: Why Domain Changes Take Time and How to Check.
- Send a message from an outside account (such as a personal Gmail or Outlook.com address) to your new mailbox.
- Submit your website's contact form and confirm the message arrives in Microsoft 365 or Google Workspace.
Common questions
Will this affect my website?
No. MX, autodiscover and SPF records only affect email. Your website's A record stays the same.
Should I delete my cPanel email accounts?
After you have copied any mail you want to keep, yes. Leaving old mailboxes in place can confuse email apps and uses disk space. See How to Delete an Email Account Safely in cPanel.
My contact form mail is still going to the old mailbox
Check that Email Routing is set to Remote Mail Exchanger and that the old MX record pointing to your domain was deleted.
Can I switch back to hosting email with you later?
Yes. Restore the original MX record (usually your domain name at priority 0), set Email Routing back to Local Mail Exchanger or Automatically Detect Configuration, and recreate your mailboxes.
Related guides
- How to Use the cPanel Zone Editor (A, CNAME, MX and TXT Records)
- How to Add a TXT Record to Verify Your Domain (Google, Microsoft and More)
- How to Set Up SPF and DKIM with Email Deliverability
- DNS Propagation: Why Domain Changes Take Time and How to Check
Still stuck? Open a support ticket and the Instant Access Internet Services team will help.
