How to Configure MX Records for Email
What are MX Records?
MX (Mail Exchange) records tell email servers where to deliver emails for your domain.
MX Record Priority
Lower number = higher priority. Email tries the lowest priority server first.
Google Workspace MX Records
| PriorityMail Server | |
| 1 | ASPMX.L.GOOGLE.COM |
| 5 | ALT1.ASPMX.L.GOOGLE.COM |
| 5 | ALT2.ASPMX.L.GOOGLE.COM |
| 10 | ALT3.ASPMX.L.GOOGLE.COM |
| 10 | ALT4.ASPMX.L.GOOGLE.COM |
Microsoft 365 MX Records
Priority: 0
Mail Server: yourdomain-com.mail.protection.outlook.com
Steps to Add MX Records
- Log into your DNS management panel
- Navigate to DNS Records section
- Add new MX record with priority and mail server
- Save and wait for propagation (1-24 hours)
Important Notes
- Delete old MX records when switching email providers
- MX records should point to hostnames, not IP addresses
- Add SPF, DKIM, and DMARC records for email security
Was this article helpful?
0% of readers found this helpful