Amazon Route 53 — DNS and domains

Beginner
⏱️ 12 min read
📚 Updated: Aug 2025
Route 53 / DNS / ALB

What you’ll learn

Amazon Route 53 is AWS’s scalable DNS service. You can register domains in Route 53 (or keep a registrar elsewhere), create a public hosted zone, delegate name servers, and publish records that send users to EC2 or an Application Load Balancer.

This walkthrough follows the console flow used in the original screenshots; labels can shift slightly between UI revisions.

Prerequisites

Register a domain (optional)

You can register a new domain directly in Route 53 or transfer an existing one. Pricing and TLD availability vary.

  1. Sign in to the AWS Management Console.
  2. Open Route 53 and choose Register domain (or Registered domainsRegister domain).
  3. Route 53 console with register domain entry point
    Route 53
  4. Search for an available name and pick a TLD (for example .com or .net), then complete registration and contact-handle prompts.

Create a public hosted zone

  1. In Route 53, choose Hosted zones in the left navigation.

    Route 53 navigation to Hosted zones
    Route 53
  2. Choose Create hosted zone.

    Create hosted zone button in Route 53
    Route 53
  3. Configure the zone:

    1. Domain name — the apex domain you will serve (for example example.com).
    2. Description — optional note for operators.
    3. TypePublic hosted zone for internet-facing DNS.
    Configure public hosted zone domain name and type
    Route 53
  4. Create the hosted zone. Route 53 assigns a set of four authoritative name servers.

    Hosted zone created successfully with NS records listed
    Route 53
  5. Copy the four NS records and enter them at your registrar as the delegation set for the domain. If the domain is registered in Route 53, confirm the delegation page already references these servers; otherwise update the external registrar.

    Updating domain registrar name servers to Route 53 NS
    Registrar / Route 53

Point DNS at an EC2 public IPv4

Use this path when a single instance (with a stable Elastic IP) terminates TLS or plain HTTP directly. Skip to the next section if you front the site with an ALB instead.

  1. Open your hosted zone and choose Create record.

    Hosted zone create record in Route 53
    Route 53
  2. Optional www hostname: create a CNAME (or a second A if you prefer) where the record name is www and the value is your apex hostname (for example example.com) or another canonical target you document for your app.

    Route 53 CNAME record for www subdomain
    Route 53

    Choose Create records.

  3. Create an A record for the apex:

    1. Record name — leave blank for example.com apex.
    2. Record typeA.
    3. Alias — off for a raw IPv4 address.
    4. Value — the public IPv4 address (preferably your Elastic IP) of the instance.
    Route 53 A record pointing to EC2 public IPv4
    Route 53

    Save the record and wait for resolver caches to refresh.

Point DNS at an Application Load Balancer

For production web stacks, an ALB usually receives browser traffic. In Route 53, use an alias A (and AAAA if you enable IPv6) to the load balancer DNS name so AWS can keep targets healthy when addresses change.

  1. In the same hosted zone, choose Create record.

    Create record for ALB routing from hosted zone
    Route 53
  2. Optional www record: same pattern as above—a CNAME (or alias) for www pointing at your chosen canonical name.

    Route 53 CNAME for www to apex or ALB hostname
    Route 53

    Choose Create records.

  3. Create an alias A for the apex:

    1. Record name — blank for apex.
    2. Record typeA.
    3. Alias — enabled.
    4. Route traffic toAlias to Application and Classic Load Balancer, pick the Region, then select your ALB DNS name from the list.
    Route 53 alias A record to Application Load Balancer
    Route 53

Test resolution

  1. From a browser or with dig / nslookup, query your apex and www names.
  2. Open https://your-domain.example (after TLS is configured) and confirm the expected site loads.

    Browser showing site served via custom domain
    Browser

Key takeaways

1

A public hosted zone holds your authoritative records; delegation must match at the registrar.

2

Use alias A/AAAA to an ALB for apex routing; use A to an Elastic IP for a single instance.

3

Expect DNS caching after NS or record edits; plan cutovers during low traffic when possible.

Frequently asked questions

Yes. Create the hosted zone, copy the four Route 53 name servers, and replace the registrar’s delegation with those NS records only.
Classic DNS forbids a CNAME at the zone apex alongside other apex record types. Route 53 alias records express the correct apex behaviour for ELB and many other AWS targets.
Authoritative data in Route 53 updates quickly, but resolvers cache previous answers for the prior TTL. Lower TTLs before a migration if you need faster rollbacks.

Next: canonical hostname

Once apex and www resolve to your load balancer, add listener rules so visitors land on a single preferred hostname.

WWW redirect →
Did you know?

After you change delegation at your registrar to Route 53 name servers, resolvers around the world update on their own TTL schedules. Allow up to 24–48 hours for full convergence; many updates appear sooner.

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful