You want to host a website on AWS and use a custom domain. Which steps correctly describe how to use a hosted zone to make your website accessible via your domain?
hard📝 Best Practice Q15 of 15
AWS - Route 53
You want to host a website on AWS and use a custom domain. Which steps correctly describe how to use a hosted zone to make your website accessible via your domain?
ACreate a private hosted zone, add DNS records, and update your domain registrar to use Route 53 name servers
BCreate a hosted zone, configure EC2 security groups, and update your domain registrar
CCreate a public hosted zone, upload website files to Route 53, and update your domain registrar
DCreate a public hosted zone for your domain, add DNS records pointing to your website's IP or load balancer, then update your domain registrar to use Route 53 name servers
Step-by-Step Solution
Solution:
Step 1: Choose hosted zone type for public website
A public hosted zone is needed to make the domain accessible on the internet.
Step 2: Add DNS records pointing to website
Add A or CNAME records pointing to your website's IP or load balancer.
Step 3: Update domain registrar with Route 53 name servers
Set your domain's name servers to those provided by Route 53 to route traffic correctly.
Final Answer:
Create a public hosted zone for your domain, add DNS records pointing to your website's IP or load balancer, then update your domain registrar to use Route 53 name servers -> Option D
Quick Check:
Public hosted zone + DNS records + registrar update = website access [OK]
Quick Trick:Public hosted zone + DNS records + registrar update = website online [OK]
Common Mistakes:
Using private hosted zone for public website
Thinking Route 53 hosts website files
Skipping domain registrar name server update
Master "Route 53" in AWS
9 interactive learning modes - each teaches the same concept differently