MX records define how email for a domain is routed. Par défaut, 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 Hébergement cPanel environments.
Adding an MX record
- Connectez-vous à cPanel.
- Ouvrez le Outils page.
- Dans le Domaines section, cliquez Editeur de zones.
- Locate the target domain and click MX Record.
- Enter a Priority value. Lower numbers indicate higher priority.
- Enter the mail server Destination as a fully qualified domain name.
- Cliquez Add an MX Record.
[Espace réservé pour la capture d'écran: Add MX Record dialog]
Only fully qualified domain names are accepted. IP addresses cannot be used for MX destinations.
Editing an MX record
- Connectez-vous à cPanel et ouvrez Editeur de zones.
- Locate the domain and click Gérer.
- Filter the record list by MX if needed.
- Cliquez Modifier next to the MX record.
- Update the priority or destination value.
- Cliquez Save Record.
[Espace réservé pour la capture d'écran: Edit MX record screen]
Deleting an MX record
- Connectez-vous à cPanel et ouvrez Editeur de zones.
- Cliquez Gérer for the domain.
- Filter by MX to show only mail records.
- Cliquez Supprimer next to the record.
- Confirm the deletion.
[Espace réservé pour la capture d'écran: 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, cliquez 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
- Cliquez Change to apply.
[Espace réservé pour la capture d'écran: Email Routing configuration]
Deliverability considerations
When routing mail to third party services, ensure proper DNS alignment and spam controls. Dedicated filtering platforms such as Experts en matière de spam can improve delivery accuracy. For complex mail infrastructures or multiple domains, scalable environments like serveurs cloud provide greater
