Amazon Route 53
Developer Guide (API Version 2013-04-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

Getting Started: Creating a Domain that Uses Amazon Route 53

You can use the procedures in the following example to create a domain that uses Amazon Route 53 as the DNS service.

Step 1: Sign Up for an AWS Account

To use Amazon Route 53, sign up for an AWS account if you don't already have one.

Note

When you sign up for an account, AWS automatically signs up the account for all services. You are charged only for the services that you use.

To sign up for an AWS account

  1. Go to http://aws.amazon.com, and then click Sign Up.

  2. Follow the on-screen instructions.

    Part of the sign-up procedure involves receiving a phone call and entering a PIN using the phone keypad.

Step 2: Register Your Domain Name

Register your domain name. For a list of registrar web sites that you can use to register your domain name, see ICANN.org. After your registrar notifies you that your domain name is successfully registered, you can create a Amazon Route 53 hosted zone for the domain.

Step 3: Create a Hosted Zone

To create a domain that uses Amazon Route 53 as the DNS service, start by creating a Amazon Route 53 hosted zone. Amazon Route 53 stores information about your domain in the hosted zone.

Note

When you create a hosted zone, Amazon Route 53 automatically creates four name server (NS) records and a start of authority (SOA) record for the zone. The NS records identify the name servers that you give to your registrar or your DNS service so that queries are routed to Amazon Route 53 name servers. For more information about NS and SOA records, see NS and SOA Records that Amazon Route 53 Creates for a Hosted Zone.

To create a hosted zone using the Amazon Route 53 console

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

  2. In the Amazon Route 53 console, above the left pane, click Create Hosted Zone.

    Creating a hosted zone: tooltip for Domain Name.

  3. In the right pane, enter a domain name and, optionally, a comment. For more information about a field, see the tool tip for the field.

  4. Below the right pane, click Create Hosted Zone.

Step 4: Create Resource Record Sets in Your Amazon Route 53 Hosted Zone

Now that you have a hosted zone, you can create resource record sets. For example, if you want a user who enters example.com in a web browser to be routed to a host that has the IP address 192.0.2.234, you would create a resource record set for example.com with a Type of A and a Value of 192.0.2.234.

To create resource record sets using the Amazon Route 53 console

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

  2. On the Hosted Zones page, do one of the following:

    • Click the row for the hosted zone in which you want to create record sets, and click Go to Record Sets.

    • Double-click the row for the hosted zone.

    Creating a resource record set: Go to Record Sets button on the Hosted Zones page.

  3. On the Record Sets page, above the left pane, click Create Record Set.

    Creating a resource record set: Create Record Set button on the Record Sets page.

  4. In the right pane, enter the applicable values. For information about a field, see the tool tip for the field.

    Creating a resource record set: tooltip for the Name field.

  5. Below the right pane, click Create Record Set.

Currently, the only way to verify that changes have propagated is by using the GetChange API action. Changes generally propagate to all Amazon Route 53 name servers in a couple of minutes. In rare circumstances, propagation can take up to 30 minutes.

Step 5: Update the Registrar's Name Server Records

Important

Use the following procedure only if you are creating a domain. If you're migrating an existing domain, or creating or migrating a subdomain, see the corresponding procedure in the applicable section:

Update the name server (NS) records with your registrar to refer to the Amazon Route 53 name servers. Perform the following procedure.

  1. If the registrar has a method to reset the TTL settings for their name servers, we recommend that you reset the settings to 900 seconds. This limits the time during which client requests will try to resolve domain names using obsolete name servers. You will need to wait for the duration of the previous TTL for resolvers and clients to stop caching the DNS records with their previous values. A common default setting is 172800 seconds (two days). After the TTL settings expire, you can safely delete the records that are stored at the previous provider and make changes only to Amazon Route 53.

    Note

    The TTL setting is only an issue if you have queried the domain, so the domain name and IP address are cached with DNS resolvers.

  2. In the Amazon Route 53 console, get the name servers in the delegation set for your Amazon Route 53 hosted zone:

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

    2. On the Hosted Zones page, click the name of the hosted zone.

    3. In the right pane, make note of the four servers listed for Delegation Set.

  3. Using the method provided by the registrar for the domain, replace the name servers in the registrar's NS records with the four Amazon Route 53 name servers that you looked up in the previous step.

    Depending on the TTL settings for the name servers for the parent domain, the propagation of your changes to DNS resolvers can take 48 hours or more. During this period, DNS resolvers may still answer requests with the name servers for the registrar. In addition, client computers may continue to have the previous name servers for the domain in their cache.

For more information about using Amazon Route 53, see Additional Amazon Route 53 Resources, Tools, and Libraries