# Setting up Google MX Records from your cPanel

MX Records are DNS records that determine where your domain’s email should be directed. If you’re using Google Workspace (formerly G Suite) for your emails, this guide will help you configure your custom MX records in cPanel. For more detailed information, you can refer to [Google's official support article](https://support.google.com/a/answer/140034?hl=en).

**Step-by-Step Guide**

1. **Log in to cPanel**:
   * Access your cPanel dashboard and type **Zone Editor** in the top right search bar.
2. **Manage Your Domain**:
   * Once the Zone Editor opens, find the domain for which you want to set up Google MX records and click on **Manage**.
3. **View DNS Records**:
   * You will see a list of all your DNS records. Filter the records by clicking the **MX** tab.
4. **Edit Existing MX Records**:
   * Edit the existing MX record to set the first Google MX record. Input the following:
     * **Value**: `ASPMX.L.GOOGLE.COM`
     * **Priority**: 1
5. **Add Additional MX Records**:
   * Next, add the following MX records:
     * **Priority 5**:
       * `ALT1.ASPMX.L.GOOGLE.COM`
       * `ALT2.ASPMX.L.GOOGLE.COM`
     * **Priority 10**:
       * `ALT3.ASPMX.L.GOOGLE.COM`
       * `ALT4.ASPMX.L.GOOGLE.COM`
   * Ensure that the **Name** field remains your domain name for each record.
6. **Review Your MX Records**:

   * Your MX records should now look similar to this:

   | 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 |
7. **Set Email Routing**:

   * To ensure all emails for your domain are redirected to the external server, type **Email Routing** in the top right search bar and select the option displayed.
   * Choose the correct domain from the dropdown menu and select **Remote Mail Exchanger**. Then click **Change**.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Tip</strong>: It’s important to confirm that you’ve selected the Remote Mail Exchanger to avoid email delivery issues.</p></div>
8. **Wait for Propagation**:
   * Normally, it will take about 6 hours for you to send and receive emails from your Google Workspace account. However, in some cases, DNS changes can take up to 48-72 hours to fully propagate.

#### Conclusion

Once the changes have propagated, you should be able to use your Google Workspace email seamlessly with your domain. If you encounter any issues, please reach out for assistance. Happy emailing!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.clouduxe.com/emails/setting-up-google-mx-records-from-your-cpanel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
