The mail service from Google allows you to send emails using your unique domain name.
NOTE: Before proceeding with DNS configuration, make sure to order a Google Workspace subscription and pass ownership validation for your domain.
1. Log in to your cPanel account >> Zone Editor menu:
2. Click the Manage button next to the domain which DNS zone you would like to edit:
3. Switch to the MX tab and delete the existing MX records by clicking Delete next to the record:
Priority | Value |
---|---|
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 |
5. Next, go to Email section in cPanel >> Email Routing menu:
Make sure the required domain or subdomain is selected and set Email Routing to Remote Mail Exchanger >> click Change:
2. Scroll down to the Custom URLs option:
3. Locate Gmail section, switch to the custom option, specify the desired subdomain and hit Save to confirm the change:
From now on, you will be able to access your email accounts following http://webmail.domain.com link.
That's it!