How to change mx records in cpanel for google mail

To set up Google Workspace (formerly G Suite) email with your domain using MX records in cPanel, follow these steps:

Prerequisites:

  1. You have a domain registered with a registrar (e.g., GoDaddy, Namecheap, etc.).
  2. You have a Google Workspace account set up.
  3. You have access to your cPanel account.

Step 1: Update your DNS settings

  1. Log in to your cPanel account.
  2. Click on the "Zone Editor" icon under the "Domains" section.
  3. Select your domain from the list of domains.
  4. Click on the "MX Records" tab.
  5. Click on the "Add a Record" button.

Step 2: Add the Google Workspace MX records

  1. Add the following MX records:
    • Priority: 1
    • Host: @ (or leave blank)
    • Points to: aspmx.l.google.com
  2. Add the following MX records:
    • Priority: 5
    • Host: @ (or leave blank)
    • Points to: alt1.aspmx.l.google.com
  3. Add the following MX records:
    • Priority: 5
    • Host: @ (or leave blank)
    • Points to: alt2.aspmx.l.google.com
  4. Add the following MX records:
    • Priority: 10
    • Host: @ (or leave blank)
    • Points to: alt3.aspmx.l.google.com
  5. Add the following MX records:
    • Priority: 10
    • Host: @ (or leave blank)
    • Points to: alt4.aspmx.l.google.com

Step 3: Verify the changes

  1. Wait for at least 48 hours for the changes to propagate.
  2. Check your DNS records using a tool like dig or nslookup to ensure the MX records have been updated correctly.

Step 4: Set up your Google Workspace account

  1. Log in to your Google Workspace account.
  2. Go to the "Settings" icon (gear icon) and select "Domains".
  3. Click on the "Add a domain" button.
  4. Enter your domain name and click "Add".
  5. Follow the prompts to verify your domain ownership.

Step 5: Configure your email client

  1. Set up your email client (e.g., Gmail, Outlook, etc.) to use your Google Workspace account.
  2. Enter your email address and password.
  3. Configure your email client to use the Google Workspace servers.

That's it! Your domain should now be set up to use Google Workspace email. If you encounter any issues, feel free to ask.