Menu
Amazon Route 53
Developer Guide (API Version 2013-04-01)

Creating a Private Hosted Zone

A private hosted zone is a container for resource record sets for a domain that you host in one or more Amazon virtual private clouds (VPCs). You create a hosted zone for a domain (such as example.com), and then you create resource record sets to tell Amazon Route 53 how you want traffic to be routed for that domain within and among your VPCs.

Important

When you create a private hosted zone, you must associate a VPC with the hosted zone, and the VPC that you specify must have been created by using the same account that you're using to create the hosted zone. After you create the hosted zone, you can associate additional VPCs with it, including VPCs that you created by using a different AWS account.

To associate VPCs that you created by using one account with a private hosted zone that you created by using a different account, you must authorize the association and then make the association programmatically. For more information, see Associating an Amazon VPC and a Private Hosted Zone That You Created with Different AWS Accounts.

For information about creating a private hosted zone by using the Amazon Route 53 API, see the Amazon Route 53 API Reference.

To create a private hosted zone using the Amazon Route 53 console

  1. For each VPC that you want to associate with the Amazon Route 53 hosted zone, change the following VPC settings to true:

    • enableDnsHostnames

    • enableDnsSupport

    For more information, see Updating DNS Support for Your VPC in the Amazon VPC User Guide.

  2. Sign in to the AWS Management Console and open the Amazon Route 53 console at https://console.aws.amazon.com/route53/.

  3. If you're new to Amazon Route 53, choose Get Started Now under DNS Management.

    If you're already using Amazon Route 53, choose Hosted Zones in the navigation pane.

  4. Choose Create Hosted Zone.

  5. In the Create Private Hosted Zone pane, enter a domain name and, optionally, a comment.

    For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see DNS Domain Name Format.

  6. In the Type list, choose Private Hosted Zone for Amazon VPC.

  7. In the VPC ID list, choose the VPC that you want to associate with the hosted zone.

    If you want to associate more than one VPC with the hosted zone, you can add VPCs after you create the hosted zone.

    Note

    If the console displays the following message, you're trying to associate a VPC with this hosted zone that has already been associated with another hosted zone that has an overlapping name space, such as example.com and retail.example.com:

    "A conflicting domain is already associated with the given VPC or Delegation Set."

  8. Choose Create.

  9. To associate more VPCs with the new hosted zone, perform the following steps:

    1. Choose Back to Hosted Zones.

    2. Choose the radio button for the hosted zone.

    3. In the right pane, in VPC ID, choose another VPC that you want to associate with the hosted zone.

    4. Choose Associate New VPC.

    5. Repeat steps c and d until you have associated all of the VPCs that you want to with the hosted zone.