This guide is for domains that use HostCloud nameservers, so DNS is edited in cPanel’s Zone Editor. If your DNS is with Cloudflare or another provider, make the same changes there. See Where to edit your DNS.
Before you start
Start the domain setup in your Google Workspace or Microsoft 365 admin console. It shows the exact records to add for your domain, including a verification record. Always use the values it gives you. The ones below are typical examples.Step 1: Verify your domain
Your provider asks you to add aTXT record to prove you own the domain, for example google-site-verification=… or MS=ms…. Add it in Zone Editor as a TXT record for your domain. See Add or edit DNS records.
Step 2: Change the MX records
1
Open Zone Editor
Log in to cPanel, open Zone Editor, and click Manage next to your domain.
2
Remove the old MX record
Find the existing
MX record (usually pointing to your own domain or mail.yourdomain.com) and delete it.3
Add the new MX record
Add the MX record your provider gave you:
Step 3: Set Email Routing to remote
This step is easy to miss. Without it, email sent from your website or from other accounts on our server may still be delivered to your old HostCloud mailboxes.1
Open Email Routing
In cPanel, type Email Routing in the Search Tools box and open it.
2
Choose remote
Select your domain and choose Remote Mail Exchanger. Click Change.
Step 4: Update SPF and add DKIM
So your emails aren’t marked as spam, update your SPF record and turn on DKIM in your provider’s admin console.
If your website also sends email (for example, contact forms), your SPF record must include HostCloud too. Open Email Deliverability in cPanel to see the suggested record, and combine both into one SPF record. See SPF, DKIM and DMARC explained.
DKIM is a record your provider generates for you. Copy it from their admin console into Zone Editor exactly as shown.
Microsoft 365 also asks for an
autodiscover CNAME record so Outlook can set itself up. Add it from the Microsoft 365 admin center’s list.