Route 53 is a really powerful dns service offered by AWS. In this section, we're going to buy a domain name and set it up a hosted zone in Route 53 so that we can use a custom domain name with any resouces we setup in the future.
You can buy a domain name from wherever you want, but I personally use Namecheap, so all my examples will be using a Namecheap domain.
Search for a new domain name and buy it. Use any service you like. Namecheap is fine.
step 6:
Input your new domain name into the hosted zone and create the hosted zone
This is your new hosted zone. You'll need the NS values for the next step.
step 7:
Back in namecheap, or wherever you purchased your domain, navigate to the nameserver settings and add the custom AWS name servers.
Once you save these name servers, your hosted zone is all setup. You are now able to start using your new domain name however you like.
But currently this domain can only be used from the production account. When we're developing apps, it's nice to be able to use dev.domain.com or other subdomains when testing things out.