Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 25, 2022 11:29 am GMT

Build a Unique Domain Hosting Environment for Google Domains with AWS Amplify

img

I built a unique domain hosting environment for Google Domains with AWS Amplify

This time, we try using a ".dev" domain obtained from Google Domains with AWS Amplify.

Advance Preparation

  • Static site hosting environment construction with Amplify

Set Up a Unique Domain with Amplify Console

First, set up a unique domain with "Amplify Console."

Set up a ".dev" domain obtained from Google Domains under "Domain Management."
img

Set up redirects and SPA routing support.
img

Click "Domain Management" "Actions" "View DNS Records," and note down CNAME information.
img

This completes the Amplify configuration.

Set Up a Unique Domain with Google Domains

Lastly, set up a unique domain with "Google Domains."

Access Google Domains Click "Manage" of the target domain.
img

Click "DNS" on the management screen of the target domain.
img

Input CNAME information obtained by Amplify Click "Save." After setting, click "Website."
img

Enter "@" for source and ".dev" for destination domain Set options Click "Forward."
img

A preview of the WebSite will be displayed when it has been successfully configured.
img

The WebSite will be displayed when you access the configured ".dev."
img

Finally, I used PageSpeed Insights to measure the performance of the WebSite with the pre-migration deployment environment and the post-migration Amplify (CloudFront & S3). Performance is now much better!
img

Related Articles


References
AWS Amplify
Google Domains


Original Link: https://dev.to/aws-builders/build-a-unique-domain-hosting-environment-for-google-domains-with-aws-amplify-19jn

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To