About the article
This article is a dedicated branch of "Custom Domains on Shifter" for Google Domains. Before following the instructions, you'll need to follow "Custom Domains on Shifter" to register domain name to Shifter and get domain verification records.
Sample domain and DNS records
Sample Domain:
example.com
Sample Shifter Domains:
abc123.on.getshifter.io.
def456.cloudfront.net.
Sample Validation Records
For example.com
Name: _abcde.example.com
Type: CNAME
Value: _01234.acm-validations.aws.
For www.example.com
Name: _hijkl.www.example.com
Type: CNAME
Value: _56789.acm-validations.aws.
Setting up validation DNS records
1. Navigate Login page
2. Click [My domains] menu, then choose your domain name under My domains section

3. Click [DNS] menu, and make sure [Use the Google Domains nameservers] is chosen.

4. Scroll down to "Custom resource records" section.

5. Input recordset
For example.com
In the first box, enter _abcd
In the second box, select CNAME
.
In the TTL
field, enter 1H
.
In the data field, enter _01234.acm-validations.aws.
Click [Add] button
For www.example.com
In the first box, enter _hijkl.www.
In the second box, select CNAME
.
In the TTL
field, enter 1H
.
In the data field, enter _56789.acm-validations.aws.
Click [Add] button

Note: never remove validation codes.
Setting up DNS records, after completed domain verification.
6. Add CNAME.
After completed domain verification, let's set up CNAME record for your domain name.
For www.example.com
In the first box, enter www
In the second box, select CNAME
.
In the TTL
field, enter 1H
.
In the data field, enter abc123.on.getshifter.io.
or def456.cloudfront.net
Click [Add] button

Note: never remove validation codes.
That's all!
[Optional] Domain forwarding (zone apex/naked domain to www-prefixed domain)
Set up domain forwarding for example.com
1. Navigate to "Website" menu

2. Click [Set up forwarding]
3. Setting up like the below.
a) Input the naked domain name to the "Forward from" field
e.g. example.com
b) Input the URL of the www-prefixed domain name.
e.g. https://www.example.com
c) Click the [Forward] button to save changes

4. Domain forwarding has been added.

That's all!