How to Register a Domain Name with Amazon Route 53
HOW-TO GUIDE
Overview
In this guide, you will register a new domain name for your web application. You will then connect that domain name through the Domain Name System (DNS) to a running web application fronted by an Application Load Balancer (ALB).
Cost implications:
There's an annual fee to register a domain. The fee can range from $9 to several hundred dollars depending on the top-level domain. This fee is not refundable. See the Amazon Route 53 domain pricing documentation for full details.
When you register a domain, we automatically create a hosted zone that has the same name as the domain. You use the hosted zone to specify where you want Amazon Route 53 to route traffic for your domain. The fee for a hosted zone is $0.50 per month. You can delete the hosted zone if you want to avoid this charge. See the Amazon Route 53 Hosted Zone pricing documentation for full details.
What you will accomplish
In this guide, you will learn how to:
- Register a new domain using Amazon Route 53 in the AWS console.
- Update DNS records to point to an existing Application Load Balancer.
Prerequisites
Before starting this guide, you will need:
- An AWS account: If you don't already have one, follow the Setting Up Your AWS Environment getting started guide for a quick overview.
AWS experience
Beginner
Time to complete
10 minutes
Cost to complete
See Cost implications section
Requires
- AWS account
- Recommended browser: The latest version of Chrome or Firefox
[**]Accounts created within the past 24 hours might not yet have access to the services required for this tutorial.
Last updated
November 8, 2022
Implementation
Step 1: Register a domain name
a. Open a browser and navigate to the AWS Management Console.
Once you have logged in, ensure you have selected your desired Region in the upper right hand corner based on your infrastructure requirements.
Pro tip: You can learn about the console through the Getting Started with the AWS Management Console tutorial.
b. Enter Route 53 in the search bar and select Route 53 to open the service console.
c. Choose the Register domain button.
Dive deeper: Read the documentation for registering a new domain.
Choose the Add to cart button next to the domain that you want to purchase.
Choose the Continue button at the bottom of the page.
If the domain you chose is not available, choose one of the related domain suggestions or try again with a different domain name.
f. Verify your contact details.
Choose either Enable or Disable in the auto renewal section.
Select the check box after reading and agreeing to the terms and conditions.
Choose Complete Order.
You will receive an email when your domain registration has been approved. To determine the current status of your request, see Viewing the status of a domain registration.
Step 2: Configure DNS
a. After domain registration is complete, return to the AWS console.
Enter Route 53 in the search bar and select Route 53 to open the service console.
b. Choose Hosted zones from the left navigation pane.
c. Select the hosted zone with your domain name that Route 53 created for you as part of the domain registration.
d. You can now create DNS records for your domain. In this guide, we will create a simple A record type. Choose the Create record button to get started.
Dive deeper: Read the Route 53 documentation for a full overview of the various records you can create.
e. Choose Switch to quick create if you are currently in the wizard view.
f. To allow clients to connect to your ALB using IPv4, enter your A record information and ensure A is selected in the Record type field. For this guide, we will enter www for Record name.
Turn on Alias.
Select Alias to Application and Classic Load Balancer in the Choose an end point dropdown menu.
In the Choose Region dropdown menu, select the Region in which your ALB is located.
In the Choose load balancer dropdown menu, select the existing ALB that you want to receive traffic from this domain.
Choose the Create records button once you have finished.
Pro tip: You can add multiple record types at one time by using the Add another record button before finalizing.
Your domain is now ready to use with IPv4. Open a browser and enter http://www.<your domain name>. (Make sure you have your application load balancer and target EC2 instance properly set up as a web server before browsing to your domain URL.)
g. To allow clients to connect to your ALB with IPv6, enter in your AAAA record information and ensure AAAA is selected in the Record type field. For this guide, we will enter www for Record name.
Turn on Alias.
Select Alias to Application and Classic Load Balancer in the Choose an end point dropdown menu.
In the Choose Region dropdown menu, select the region in which your ALB is located.
In the Choose load balancer dropdown menu, select the existing ALB that you want to receive traffic from this domain.
Choose the Create records button once you have finished.
Pro tip: You can add multiple record types at one time by using the Add another record button before finalizing.
Your domain is now ready to use with IPv6. Open a browser and enter http://www.<your domain name>. (Please make sure you have your ALB and target EC2 instance properly set up as a web server before browsing to your domain URL).
Conclusion
Congratulations! You have finished the How to Register a Domain Name with Amazon Route 53 how-to guide.
In this guide, you learned how to provision a public IP address, register a new domain name, and configure DNS.
You can continue your journey with AWS by following the next steps section below.