Working with private hosted zones - Amazon Route 53

Working with private hosted zones

A private hosted zone is a container that holds information about how you want Amazon Route 53 to respond to DNS queries for a domain and its subdomains within one or more VPCs that you create with the Amazon VPC service. Here's how private hosted zones work:

  1. You create a private hosted zone, such as, and specify the VPCs that you want to associate with the hosted zone.

  2. You create records in the hosted zone that determine how Route 53 responds to DNS queries for your domain and subdomains within and among your VPCs. For example, suppose you have a database server that runs on an EC2 instance in one of the VPCs that you associated with your private hosted zone. You create an A or AAAA record, such as, and you specify the IP address of the database server.

    For more information about records, see Working with records. For information about the Amazon VPC requirements for using private hosted zones, see Using private hosted zones in the Amazon VPC User Guide.

  3. When an application submits a DNS query for, Route 53 returns the corresponding IP address. The application must also be running on an EC2 instance in one of the VPCs that you associated with the private hosted zone.

  4. The application uses the IP address that it got from Route 53 to establish a connection with the database server.

If you want to route traffic for your domain on the internet, you use a Route 53 public hosted zone. For more information, see Working with public hosted zones.