Home Email Hosting Configuring Google Workspace MX Records

Configuring Google Workspace MX Records

Last updated on Aug 08, 2025

Configuring Google Workspace MX Records

**Description:**A comprehensive walkthrough for updating MX records to use Google Workspace (formerly G Suite) for email delivery, using the DirectAdmin control panel on Eco Web Hosting shared hosting services.


Overview

If you want your domain’s email to be handled by Google Workspace instead of your hosting server, you’ll need to update your DNS MX records. This guide will walk you through setting up the correct Google Workspace MX records via DirectAdmin.


Prerequisites

  • Access to your Eco Web Hosting client area
  • DirectAdmin login credentials
  • A Google Workspace account (admin access)

Step 1: Locate Your DNS Settings in DirectAdmin

  1. Log in to your Eco Web Hosting client area.
  2. Go to Manage Hosting next to your domain.
  3. Access your DirectAdmin control panel.
  4. In DirectAdmin, select DNS Management under the appropriate domain.

> Note: Your domain must be using Eco Web Hosting’s nameservers for DNS changes here to take effect.Nameservers: > > > ns1.da.hostns.io > ns2.da.hostns.io >


Step 2: Remove Existing MX Records

  1. In the DNS Management screen, locate any existing MX records for your domain (e.g., mail.yourdomain.com or mx.enmail.co).
  2. Click Delete next to each existing MX record to avoid conflicts.

Step 3: Add Google Workspace MX Records

Add the following MX records one by one using the “Add Record” function:

Priority Mail Server
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.

For each record:

  1. Click Add Record.
  2. Set the Type to MX.
  3. For Name/Host, enter @ or leave blank (for the root domain).
  4. For Value/Target, enter the mail server from the table above (copy exactly, including the trailing dot).
  5. Set the Priority as shown.
  6. Click Save.

Example:

Type: MX
Name: @
Value: ASPMX.L.GOOGLE.COM.
Priority: 1

Step 4: (Recommended) Add SPF Record for Google Workspace

To improve email deliverability and prevent spoofing, add the following TXT record:

  1. Click Add Record.

  2. Set the Type to TXT.

  3. For Name/Host, enter @.

  4. For Value, enter:

    v=spf1 include:_spf.google.com ~all
    
  5. Click Save.


Step 5: Save and Wait for DNS Propagation

  • After saving your changes, DNS updates may take up to 24–48 hours to propagate worldwide.
  • Use tools like MXToolbox to check if your domain is using the correct MX records.

Troubleshooting

Email Still Going to Old Inbox?

  • Double-check that all old MX records are deleted.
  • Make sure the Google Workspace MX records are correct, including the trailing dots.
  • Confirm that your domain is using Eco Web Hosting nameservers.

Not Receiving Email at All?

  • Check your DNS propagation status using MXToolbox or Google Admin Toolbox CheckMX.
  • Ensure that the priorities and values for each MX record are accurate.
  • Verify your Google Workspace setup and user account in the Google Admin console.

SPF Issues or Delivery to Spam

  • Confirm you have only one SPF TXT record. If you had an old one, replace it with the new Google SPF record or merge them if needed.
  • Test sending and receiving using a Gmail or Outlook address.

Additional Tips

  • Back up your current DNS records before making changes.
  • If you have custom subdomains or non-Google email services, consult their documentation for any necessary additional DNS settings.
  • For further help, visit our Email Hosting Help Articles.

Need More Help?

If you’ve followed these steps and still have issues, please submit a support ticket with details:

  • Your domain name
  • Screenshot of your MX records setup
  • Any error messages received
  • Steps you've already taken

Our support team will be happy to assist!