MX records define how email for a domain is routed. By default, cPanel handles email delivery using the local mail server, but MX records can be adjusted to route mail to external providers when required.
Understanding MX records and risks
Changing MX records transfers email handling away from the local server. This should only be done when the destination mail servers are confirmed and reachable. Incorrect MX configuration can stop email delivery entirely.
These controls are available on standard cPanel hosting environments.
Adding an MX record
- Connectez-vous à cPanel.
- Ouvrez le Outils page.
- Dans le Domaines section, faire un clic Zone Editor.
- Locate the target domain and click MX Record.
- Enter a Priorité value. Lower numbers indicate higher priority.
- Enter the mail server Destination as a fully qualified domain name.
- Faire un clic Add an MX Record.
[Screenshot placeholder: Add MX Record dialog]
Only fully qualified domain names are accepted. IP addresses cannot be used for MX destinations.
Editing an MX record
- Log in to cPanel and open Zone Editor.
- Locate the domain and click Manage.
- Filter the record list by Mx si nécessaire.
- Faire un clic Edit next to the MX record.
- Update the priority or destination value.
- Faire un clic Save Record.
[Screenshot placeholder: Edit MX record screen]
Deleting an MX record
- Log in to cPanel and open Zone Editor.
- Faire un clic Manage for the domain.
- Filter by Mx to show only mail records.
- Faire un clic Delete next to the record.
- Confirm the deletion.
[Screenshot placeholder: Delete MX record confirmation]
Configuring email routing in cPanel
MX records and email routing must align. Routing settings determine whether the server accepts mail locally or routes it elsewhere.
- Connectez-vous à cPanel.
- Ouvrez le Outils page.
- Dans le E-mail section, faire un clic Email Routing.
- Select the domain.
- Choose the appropriate routing option:
- Automatically Detect Configuration for domains using the same name servers
- Local Mail Exchanger to force local delivery
- Backup Mail Exchanger to act as a secondary mail server
- Remote Mail Exchanger when mail is handled by an external provider
- Faire un clic Change to apply.
[Screenshot placeholder: Email Routing configuration]
Deliverability considerations
When routing mail to third party services, ensure proper DNS alignment and spam controls. Dedicated filtering platforms such as SpamExperts can improve delivery accuracy. For complex mail infrastructures or multiple domains, scalable environments like serveurs cloud provide greater