• Wednesday, February 25, 2026

Knowledge Base

How to Add MX Records for External Email

Using External Email Services

If you want to use Gmail Workspace, Microsoft 365, or another email provider with your domain.

What Are MX Records?

MX (Mail Exchange) records tell email servers where to deliver mail for your domain.

Setting Up MX Records

  1. Log into DirectAdmin
  2. Click DNS Management
  3. Select your domain
  4. Delete existing MX records (if any)
  5. Add new MX records from your email provider

Example: Google Workspace

PriorityServer
1ASPMX.L.GOOGLE.COM
5ALT1.ASPMX.L.GOOGLE.COM
5ALT2.ASPMX.L.GOOGLE.COM
10ALT3.ASPMX.L.GOOGLE.COM
10ALT4.ASPMX.L.GOOGLE.COM

Example: Microsoft 365

PriorityServer
0yourdomain-com.mail.protection.outlook.com

Priority Numbers

Lower numbers = higher priority. Email servers try the lowest number first.

Important Notes

  • Changes take time to propagate
  • Existing emails in Hostdeal won't transfer
  • You can still host your website with Hostdeal
  • Add SPF/DKIM records as required by your email provider