Creating a private hosted zone (original) (raw)
A private hosted zone is a container for records 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 records 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 Route 53 API, see the Amazon Route 53 API Reference.
To create a private hosted zone using the Route 53 console
- For each VPC that you want to associate with the 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_.
- Sign in to the AWS Management Console and open the Route 53 console athttps://console.aws.amazon.com/route53/.
- If you're new to Route 53, choose Get started
If you're already using Route 53, choose Hosted zones in the navigation pane. - Choose Create hosted zone.
- 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, seeDNS domain name format. - In the Type list, choose Private hosted zone.
- In the VPC ID list, choose the VPC that you want to associate with the hosted zone.
Note
If the console displays the following message, you're trying to associate a hosted zone that uses the same name space as that of another hosted zone within the same VPC:
"A conflicting domain is already associated with the given VPC or Delegation Set."
For example, if hosted zone A and hosted zone B both have the same domain name, such as example.com
, you can't associate both hosted zones with the same VPC.
8. Choose Create hosted zone.
Considerations when working with a private hosted zone
Listing private hosted zones
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.