Before configuring Route 53 for the sample web application that's been deployed in the Amazon Elastic Beanstalk, let's look at what a public hosted zone is. A public hosted zone contains information about routing traffic for a domain and its subdomains. Basically, it responds to queries based on the resource record set that's created by a user. It is important to understand that once you create the public hosted zone, a name server (NS) record and a start of authority (SOA) record are automatically created. The NS record is important here. It provides you with four name servers that you need to configure with your registrar or DNS services so that all the queries related to your domain are routed to Amazon Route 53 name servers for resolution.
To set up a hosted zone, go through the following steps: