2020 February 21st
Using Google Domain with Netlify
Email service was the one I didn't want to loose.
Below I'll explain, how I used Google Domain as custom domain with Netlify.
- Go to Domains page and click on 'Add or register domain' button.
- Then type your domain and click 'Verify'
- Click 'Yes, add domain'
- In this step, we'll copy
MXrecords from Google to Netlify.
A mail exchanger record (MX record) specifies the mail server responsible for accepting email messages on behalf of a domain name ~ wikipedia
As shown below,
MX records in Google can be found under 'Synthetic records' section on Google DNS page.
We'll copy records shown in the data column.
Back to Netlify, in the list shown in image below, we'll add
MX records for email to work.
Click 'Add new record'
5 gmr-smtp-in.l.google.com will be broken into
priority value for Netlify.
5 will be priority and
gmr-smtp-in.l.google.com will be data as shown in the image below.
Click 'Save' .
Repeat the step for all the
MX records and result should be as below:
Click 'Continue' .
In this step, we'll configure our domain to point to Netlify's DNS servers.
Copy the DNS servers from Netlify to 'Nameservers' section of DNS page in Google Domain Console.
Use custom nameservers to add DNS servers.
Click on 'Done' to finish.
Make sure everything is working by navigating to each possible URL combination like:
http://site.comhttp without www
http://www.site.comhttp with www
https://site.comhttps without www
https://www.site.comhttps with www
DNS settings can take 24hrs to propagate.
Try sending an email to the email alias or your GSuite email.
In my tests, URLs with
www didn't work. But email was received successfully.
To solve this, I had to click 'Renew certificate' button under Settings → Domain management on Netlify
- We configured Netlify's DNS servers in Google Domain Console. So that our domain can point to Netlify.
- Also, We configured Netlify with
MXrecords from Google Domain Console. So that our email continues to work.