Knowledgebase

How to split email delivery between Google Workspace and cPanel hosting

Some companies want a few employees on Google Workspace and the rest on cheaper hosting (cPanel) mailboxes, all on the same domain. This is called split delivery. This guide explains how to split email delivery between Google Workspace and cPanel hosting, what to watch out for, and when it is better to keep everyone on one system.

Before you start: split delivery is an advanced setup. A mistake can make mail disappear or loop. If you are not comfortable with MX records and routing, open a ticket and EgWeb will set it up for you.

How it works

  1. The domain's MX records point to Google. All mail arrives at Google first.
  2. Google delivers mail for addresses that have a Workspace user.
  3. For any address Google does not know, a routing rule sends the message on to your cPanel server, where the other mailboxes live.

Step 1: Create the mailboxes on both sides

  • In Google Workspace, create the users who will use Gmail.
  • In cPanel, create mailboxes only for the other users (see how to create an email account). Do not create the same address on both sides.

Step 2: Set MX records to Google

In your DNS zone, replace the old MX records with the Google MX records shown in your Admin console (for current setups usually a single record smtp.google.com with priority 1). See how to manage DNS records.

Step 3: Tell cPanel to keep accepting mail for the domain

In cPanel, open Email Routing, select the domain and choose Local Mail Exchanger. This is needed so the cPanel server accepts the messages Google forwards to it, even though the MX points to Google.

Step 4: Add a routing rule in Google

  1. In admin.google.com, go to Apps > Google Workspace > Gmail > Routing.
  2. First add a host (in the hosts section of the routing settings): your server hostname, for example mail.yourdomain.com, port 25. The hostname must point straight to the hosting server, not to a proxy.
  3. In Default routing, add a rule. Choose to apply it to envelope recipients that are unknown mailboxes (addresses with no Workspace user).
  4. Change the route to the host you created, and save.

Step 5: Update SPF

Both systems now send mail for your domain, so SPF must allow both. For example:

v=spf1 +a +mx include:_spf.google.com ip4:YOUR_SERVER_IP ~all

Replace YOUR_SERVER_IP with your hosting IP, and keep only one SPF record. Read more in SPF, DKIM and DMARC.

Step 6: Test

  1. From an outside address (for example a personal Gmail), send to a Workspace user and to a cPanel user.
  2. Both should arrive. Then test replies in both directions.

Common problems

  • Mail sent from your website to a Workspace user never arrives: because cPanel is set to Local, mail generated on the server (contact forms, WordPress) for your domain is delivered on the server itself. Create a forwarder in cPanel for those addresses to the Workspace user, or send website mail through an SMTP plugin.
  • Bounces with "mail loop": the cPanel address does not exist, or the route points back to Google. Check the host and the mailbox.
  • Messages rejected as spam: SPF is missing one of the two systems.

Frequently asked questions

Can I do it the other way (MX to cPanel)?

Yes, by forwarding chosen addresses from cPanel to Google, but spam filtering and reliability are usually better with MX on Google.

Is split delivery a good long-term solution?

It saves money, but adds complexity. Compare in Google Workspace vs Zoho Mail vs hosting email; many companies are happier on one system.

Need help? Open a support ticket or message us on WhatsApp +20 127 113 3655.

  • google workspace, split delivery, email routing, cpanel, mx records, spf, dual delivery

Was this answer helpful?

0 Users Found This Useful