- A Cloud Guru
Configuring Amazon S3 Buckets to Host a Static Website with a Custom Domain
Table of Contents
Create an S3 Bucket and a Static Website
Create an S3 bucket for our assigned domain, configure a static website for the domain, and set up a DNS record (called an
aliasrecord) in Route 53. Make sure that in the Object Ownership section, check
Configure a Custom Domain in Route 53
Create a redirect (www) S3 bucket and configure a redirect DNS record to point to our AWS S3 static site.
Test the Static Website with `dig` and `nslookup` Commands
nslookupcommands to verify our website is routed properly. Windows, Mac, and Linux terminals all include the
nslookupcommand. If your system doesn't have dig, you can use dig in the Google Admin Toolbox.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.