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...

Registering a Domain Name and Configuring Amazon Route 53 as the DNS Service

You can use the procedures in the following example to register a new domain and to configure the domain to use 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. Open 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

To use a domain name, such as example.com, you need to register it. You can register your domain name using Amazon Route 53.

To register a new domain using Amazon Route 53

  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 navigation pane, click Domains.

  3. Click Register Domain.

  4. Enter the domain name that you want to register, and click Check to find out whether the domain name is available.

  5. If the domain is available, click Add to Cart. The domain name appears in your shopping cart.

    The Availability of popular TLDs list shows other domains that you might want to register instead of your first choice (if it's not available) or in addition to your first choice. Click Add to Cart for each additional domain that you want to register.

  6. Click Continue.

  7. On the Contact details for your n domains page, enter contact information for the domain owner, administrator, and technical contact. The values that you enter here are applied to all of the domains that you're registering.

    By default, we use the same information for all three contacts. If you want to enter different information for one or more contacts, change the value of My owner, administrative, and technical contacts are all the same to No.

    If you're registering more than one domain, we use the same contact information for all of the domains.

    For more information, see Values that You Specify When You Register a Domain or Edit Domain Settings.

  8. For some top-level domains (TLDs), we're required to collect additional information. For these TLDs (mostly for specific countries, such as .ca for Canada), enter the applicable values after the Postal/Zip Code field.

  9. Click Continue.

  10. Review the information you entered, read the terms of service, and check the check box to confirm that you've read the terms of service.

  11. Click Complete Purchase.

    When your domain registration has been approved, we'll send an email to the email addresses that you specified for your contacts. To determine the current status of your request, see Viewing the Status of a Domain Registration.

  12. Configure DNS for your domain to tell Amazon Route 53 how to route traffic new domain name. For more information, see Step 3: Configure DNS for Your Domain.

Step 3: Configure DNS for Your Domain

Now you can configure DNS for your domain by creating resource record sets, which define how traffic is routed for your new domain. For example, suppose you want a user who enters example.com in a web browser to be routed to a web server running on an Amazon EC2 instance that is associated with the Elastic IP address 192.0.2.234. (An Elastic IP address ensures that the IP address of your Amazon EC2 instance won't change.) You would create a resource record set named example.com with a Type of A and a Value of 192.0.2.234. To create this resource record set, perform the following procedure.

If you want to create resource record sets to route traffic in different ways (for example, to mail servers, to ELB load balancers, or to CloudFront distributions), see Working with Resource Record Sets.

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, double-click the row for your hosted zone; it has the same name as your domain.

    Note

    Amazon Route 53 created a hosted zone for you automatically when you registered your domain.

  3. Click Create Record Set.

  4. Enter the following values

    Name

    The default value for a resource record set is the name of the hosted zone. In this case, you want to create a resource record set that responds to queries for the example.com domain, so you won't change the default value.

    If you wanted to create a resource record set for www.example.com, you'd enter www in the Name field.

    Type

    When you want to route Internet traffic to a web server or other host by specifying the IP address of that host, you select A – IPv4 address in the Type list.

    Alias

    You can route traffic directly to some AWS services (for example, CloudFront distributions and ELB load balancers) by creating an alias resource record set. However, Amazon EC2 instances are not supported. Don't change the default value of No.

    TTL (Seconds)

    This is the amount of time, in seconds, that DNS servers all over the planet cache the information in this resource record set. A low value makes DNS more responsive to changes in your configuration, for example, taking a web server out of service for maintenance. However, a low value also means that DNS servers send more queries to Amazon Route 53 to get that information, and more queries mean a bigger bill for Amazon Route 53 service.

    Accept the default value of 300 seconds (five minutes).

    Value

    This is where you enter the Elastic IP address for your Amazon EC2 instance: 192.0.2.234.

    Routing Policy

    Accept the default value of Simple. For more information about routing policies, see Choosing a Routing Policy.

  5. Click Create.