Tutorials • cPanel
Email routing in the cPanel control panel
This article explains how to redirect emails to an external mail service.
Views 810Updated 1 anPublished on 02/12/2017by Cătălin Adrian
Introduction
This tutorial explains how to redirect emails to an external mail service, in this case Google.
Requirements
- a cPanel account
Steps to Follow
- after logging in to the cPanel control panel, in the interface that will be displayed, we look for the "EMAIL ADDRESS" section, and there we click on "Email Routing".

- In the next window, we will need to select the domain for which the routing will be done.
- after selecting the domain, we will need to choose one of the four available options:
- (recommended) - automatically detects mail server settings
- Mail Exchanger local - will use the current hosting server for the mail service
- Mail Exchanger backup - will use an external mail service but will keep a copy of each message on the current server
- in this case we will set option 4 after which we click on ''Modify''

The next step is to set the MX records in the DNS zone so that the server knows where to reroute the emails.
- we will click on ''Zone Editor'' from the same window
![]()
- In the window that will appear, we will click on "+MX Record"

- A small window will be displayed in which "Priority" represented by the number in front and "Destination" represented by the name of the mail server must be completed. These values are obtained from the provider of the mail service that will be used, in this case Google
1 aspmx.l.google.com
5 alt1.aspmx.l.google.com
5 alt2.aspmx.l.google.com
10 aspmx2.googlemail.com
10 aspmx3.googlemail.com

- This operation will be repeated until all MX records provided by the mail service provider are entered.
- the propagation of changes may take a few hours.