View a markdown version of this page

Configuring DNS routing for a new domain - Amazon Route 53

Configuring DNS routing for a new domain

To route internet traffic to your website or web application, you configure DNS routing for your domain. The steps depend on whether you purchased your domain from Route 53 or from another registrar.

Set up DNS for a domain you purchased from Route 53

When you register a domain with Route 53, Route 53 makes itself the DNS service for the domain. It creates a hosted zone with the same name as the domain, assigns four name servers to the zone, and updates the domain to use those name servers.

Set up DNS for a domain you purchased from another registrar

When you buy a domain from another registrar, for example, because the top-level domain (TLD) isn't offered by Route 53, you have two options:

For more information about TLDs supported by Route 53, see Domains that you can register with Amazon Route 53.

Create a hosted zone and delegate DNS

Follow these steps to create a public hosted zone and then add the name servers to your registrar:

To create a hosted zone for a non-Route 53 domain
  1. Sign in to the AWS Management Console and open the Route 53 console at https://console.aws.amazon.com/route53/.

  2. In the navigation pane, choose Hosted zones, and then choose Create hosted zone.

  3. For the Name, enter the name of the domain you want to create a hosted zone for, such as example.com, add a description if you want, choose Public hosted zone, and then choose Create hosted zone.

  4. After you create the hosted zone, note the four name server (NS) records. Each starts with "ns-".

    At your domain registrar, enter these name servers to point the domain to your Route 53 hosted zone.

Route DNS traffic

To tell Route 53 how to route internet traffic for the domain, you create records in the hosted zone. For example, if you want to route requests for example.com to a web server on an Amazon EC2 instance, you create a record in the example.com hosted zone and specify the Elastic IP address for that instance. For more information, see the following topics: