SiteGround MX Record: Using your host’s mailing tool doesn’t look good. That’s why I have created this beginner-friendly guide where you’ll learn everything step-by-step.
What Is MX Record?
One of the less well-understood components of a working email system is the MX record. Many IT administrators are looking after exchange servers who don’t really understand what an MX record is and how they work.
MX stands for “mail exchanger”. An MX record is a kind of DNS record, so any knowledge of MX records has to begin with learning the fundamentals of the Domain Name System (DNS).
The most significant role of DNS for the majority of us is changing names into IP addresses so that network communications can happen.
For instance, when you type www.microsoft.com in your web browser, DNS is used to look up that name to discover the IP address of the server to connect to. The domain name, in this case, is microsoft.com.
So if that is how a simple web browser connection is done, what about if somebody sends the email to an @microsoft.com address?
Again DNS comes into action, but this time the look-up is somewhat different. The sending mail server will look up the MX record in DNS by developing a sequence along these lines:
- Look up the authoritative name servers for microsoft.com
- Query the microsoft.com name servers for the MX records
- Look up the names of the MX records in DNS to get their IP addresses
If you were to run your personal manual DNS lookup of the MX records for microsoft.com it would see something like this:
So the IP address of the “mail exchanger” for microsoft.com is 22.214.171.124.
You may see the “MX preference” in the output above and question what that is referring to. To completely explain it here is another DNS lookup for the google.com domain.
See that there are many MX records each with a different preference value. The preference is essentially a way of establishing the priority of each MX record. The lowest preference is the MX with the most important priority, ie the one that a sending mail server should work first.
The purpose of multiple MX records is to either:
- Provide some load balancing by using multiple MX records with the same preference set
- Provide a backup MX that can be used if the primary one is unavailable
The backup MX may be another mail server in your organization at a secondary site with less bandwidth. Or it could be a server hosted by a third party that gives backup MX services. Either way, the goal is to send email systems somewhere to send messages rather than store them and retry later.
Where Should Your MX Records Point?
Once you understand what an MX record does, you need to consider where your MX record should be pointing. Here are a few real-world cases of where to point your MX records.
If your organization receives email immediately, your MX record would lead to a public IP address for your firewall or internet-facing email server (eg Edge Transport server).
If your company uses a hosted cloud service for email filtering, then your MX record would lead to their IP address (or an array of IP addresses depending on which service you are working on).
Those are just two examples. There are many various situations that exist such as hybrid cloud/direct combinations, ge0-distributed networks, and so on. However, in my experience with customers, these are the two most common scenarios.
By now you should have a basic understanding of what an MX record is and how they work.
How To Point MX Record To SiteGrounds
First, we will look at some basics of how someone can edit or point MX record to SiteGround, and then we will see how to change your MX record for Gsuit mail.
Note: This tutorial is for only those who want to point MX record to SiteGround.
Step 1: Login to SiteGround
- Login to your SiteGround account.
- Once you are in, click on the hosting child tab.
- Under your domain’s hosting plan, click Manage
Step 2: Select The Site
Once you click on Manage, a new page will open (Plan details) where you can choose the site for which you want to change the MX Record. Next to the domain, click on Manage.
Step 3: click on Site tools
Now, you will see an option called Site tools, click on it and proceed to the next step.
Step 4: Click On DNS Zone Editor Under Domain
The menu will appear on the left side, click on Domain, a sub-menu will appear, click on DNS Zone Editor.
Step 5: Add record
Select the domain name from the drop-down. Once done, go to the MX tab and set the desired MX records.
Once you fill everything, click on create.
So this was the basic information on how to add MX record in SiteGround, and now it’s time to see, how we can set up a G-suit account and connect it with Siteground.
How To Connect G-Suit To Your SiteGround Hosting
Before we connect a g-Suit account to Siteground, we first have a G-Suit Account. Let’s go step by step and see how it’s done.
Step 1: Visit workspace.google.com
To create a G-suit account, you first have to visit G-suit site and click on Get Started.
Step 2: Add Website Name And Country Detail
Once you click on Get Started, a new page will load where google will ask you to enter details, like company name, Number of employees, including you, and select your country.
Step 3: Enter Your Contact Info
Fill in some basic information about you, like your name and email address. click on next once you are done filling in the details.
Step 4: Indicate whether your business already has a domain name
Google will ask you whether you have any domain or not. Click “Yes, I Have One That I Can Use”
Step 5: Enter Your Domain Name
Enter your domain name and click on Next to proceed to the next step.
Step 6: Confirm That You Want To Use This Domain to Setup The Account
Now, Google will ask you to confirm that you want to use your domain for this account. Just click on next after confirming and proceed to the next step.
Note: You can purchase a domain name directly from Google if you don’t have any
Step 7: Educate Your Users
Google will ask you for your permission whether you want your users to receive google’s latest news, tips, or features updates. Click on Ok so that google can improve their quality.
Step 8: Enter Sign In Information
Click on Agree And continue.
Step 9: Success Message
Once everything is done. You’ll see a success message. Click on Go To Setup.
After clicking on Go To Setup, you’ll see some popups that will welcome you to the Admin Console.
Step 10: Setup google Workspace
Now, you’ll have to follow a few steps to activate Gmail and other apps for your website. Click on Activate.
Step 11: Verify Your Domain
It’s time to verify that you actually own the domain you enter. The process is simple but make sure to follow every step carefully.
Now, copy the TXT code.
Step 12: Go To SiteGround Site Tools
Step 13: Find DNS Zone Editor
DNS Zone Editor is present under the Domain section.
After clicking on DNS Zone Editor, you’ll find 4 records there:
Click on TXT.
leave name empty. Select 1 hr in TTL, and paste the TXT code in Value.
Once it’s done. Click on Create.
Step 14: Go To G-Suit To Verify
Note: It might take extra time for your registrar to publish the verification code. If the Google Workspace setup tool shows you an error message, wait an hour before you try again. In some cases, it can take up to 48 hours for your registrar to publish your verification code.
Set Up MX Record
This is the most important part so make sure to follow each step perfectly.
Step 15: Gmail Setting
After successfully verifying your domain to G-Suit, now it’s time to activate Gmail and to do that click on Activate.
Step 15: Go To DNS Zone Editor
Site Tools> Domain> DNS Zone Editor. Click on MX tab.
Delete all the MX Record present there currently.
Click Confirm to complete the record deletion.
Step 16: Add New Record
Now, it’s time to direct all the emails to Google Workspace, and to do that add new MX records to your domain. These are the records that you have to add:
|MX server address||Priority|
- Create a new record.
- Leave the Name field blank.
- In the TTL field, use the default value of 1 hour.
- In the Priority field, enter 1.
- In the Destination field, enter ASPMX.L.GOOGLE.COM.
- Click on create to create a new MX record.
- Click back and repeat the steps for all 5 record.
Step 17: Last Step
- Check all the boxes to confirm:
- You’ve created accounts for all existing email addresses in your organization.
- You’re ready to stop receiving messages at your old email provider and start receiving them in Google Workspace.
- Click Continue.
- Scroll to the bottom of the next page and click Activate Gmail.
Thanks For Reading!