HostGator: Set up G Suite MX records

Important: If you purchased your domain from Google when you signed up for G Suite, you don’t need to set up Gmail. You can start using it now. If you’re signed in to your G Suite account, in the top right, click the App Launcher Appsand thenGmail Gmail.

You’re now ready to set up Gmail as your business email for your domain (and, if you haven’t already, verify your domain).

To do this, you need to sign in to your domain host and direct the email for your domain to the G Suite servers. It’s like registering your new address with the post office when you move so that your mail gets delivered to the right place. We’ll walk you through the steps.

Before you begin

  • Verify that you own your domain.

    Or, you can verify now with an MX record. We’ll show you how while you're setting up the MX records.

  • Create user accounts in G Suite for your team.

    If your team members already use email with your domain (their email address ends with your domain), you have to create their user accounts in G Suite before you change any MX record settings. Otherwise, they won't be able to send or receive messages with their business address in Gmail. 

  • If you’re in the Setup Wizard, go to the Add G Suite MX records instructions. If you don’t have the wizard open, sign in to the G Suite Setup Wizard. The wizard will help you tell Google to find your new MX records and direct your mail to Gmail.

Change your MX records to start using G Suite

Step 1: Sign in to your domain host

  1. Leave the G Suite Setup Wizard open.
  2. Open a new browser window or tab and go to the HostGator® site. Keep the Setup Wizard open in the first tab.
  3. At the top of the HostGator homepage, click Customer Login.
  4. Under Choose Your Login, click Portal Login.
  5. Enter the email address you used when you purchased your domain from HostGator and click Next.
  6. Enter the password you created when you purchased your domain from HostGator.

    If you don’t know your account information, you can reset your password.

  7. Click Login.

Step 2: Go to your DNS records

  1. On the Dashboard, click Launch cPanel.

    Under Hosting Package, the Launch cPanel button is selected.

  2. Scroll down to the Email section and click MX Entry.

    MX Entry is selected in the Email section

Step 3: Delete existing MX records

  1. In the MX Entry window, scroll down to the MX Records table.
  2. If you don’t have any MX records to remove, go to step 4 to add the G Suite MX records.
  3. Next to an existing MX record, click Remove.

    The Remove and Delete buttons are shown for an MX record in the MX Records table.

  4. Click Delete to confirm.
  5. Repeat steps 3 and 4 to remove all of the existing MX records.

Step 4: Add the G Suite MX records

To direct your email to your G Suite account, you have to add new MX records to your domain. These are the records that you need to add:
MX server address Priority
Note: The values are the G Suite mail servers. We include 5 servers in case one fails or requires maintenance.
  1. Under Add New Record, in the Priority field, enter 1.
  2. In the Destination field, enter

    Do not include a period (.) at the end of the MX record. 

    An MX record is entered in the Add New Record section, and the Add New Record button is selected.

  3. Click Add New Record.
  4. Repeat steps 1—3, entering each value from the table above.

    You’ll see your new MX records in the MX Records table. 

    All MX records have been added to the MX Records table.

  5. Skip this step if you already verified your domain by another method (such as TXT record, HTML file, or meta tag).

    If you need to verify your domain:

    1. Find the unique MX verification record provided by the G Suite Setup Wizard.
    2. Copy the entire record (ends in and paste it in the Value/Answer/Destination/Target column.
    3. Make sure the record's priority is set to Low or to 15 or greater.

    MX records table with the verification record at the top.

Step 5: Tell Google to find your new MX records

  1. In the first tab or window, return to the G Suite Setup Wizard.
  2. Click through any confirming steps in the wizard.
  3. Click Verify or I have completed these steps to tell Google to look for your new MX records.

Congratulations! Your business email for your domain is now directed to the G Suite mail servers.


  • The records can take several hours to update, so you might not immediately get new email messages in Gmail. Until then, you'll continue to receive messages at your old email provider.
  • If you see the MX records setup validation in progress message in the Admin console for more than a few hours, make sure you entered the MX address records and priorities correctly in the DNS records stored with your host.
  • If you still need help changing your MX records, contact G Suite support.
Was this helpful?
How can we improve it?