How to Register a Domain Name with Amazon Route 53

HOW-TO GUIDE

Overview

In this tutorial you will register a new domain name for your website. You will then connect that domain name through the Domain Name System (DNS) to a currently running EC2 instance (such as a WebApp, or website running WordPress, Apache, NGINX, IIS, or other Website platform). 

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 Learn

In this guide, you will learn how to:

  • Allocate a new public IP address
  • Register a new domain using Amazon Route 53 in the AWS console. 
  • Update DNS records to point to a running EC2 instance.

Prerequisites

Before Starting this guide, you will need:

  • An AWS account: if you don't already have one follow the Setup Your 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

March 24, 2022

Tutorial

Step 1: Obtain a Static IP Address

Open a browser and navigate to the AWS Management Console located at https://signin.console.aws.amazon.com/

Once logged in, you will arrive at the AWS Management Console Home. Ensure you have selected your desired region based on your infrastructure requirements in the upper right hand corner.

Pro Tip: You can learn about the console through the Getting Started with AWS Management Console tutorial.

In the top search bar, enter "Elastic IP". The search bar will return several results on services and features available.

Click the ELASTIC IPs - EC2 feature from the list.

Pro Tip: The search bar provides a quick and easy method to find services, features, blogs, & more.

Once on the Elastic IP addresses screen, click ALLOCATE ELASTIC IP ADDRESS on the top right of the page.

On the Allocate Elastic IP address configuration page, make sure to select the correct Network Border Group based on your infrastructure location.  If you create infrastructure resources in the US-WEST-2 region, then select US-WEST-2 network border group. If you are not sure of the region, pick a region that is close to you or where you want to provide the service.

Click on ALLOCATE at the bottom to continue.

Your new Elastic IP address will be available shortly. You will get the following green confirmation if completed successfully. Take note of the IP address. You will be using this in the following steps to configure DNS.

You can now associate this IP to a provisioned EC2 instance or to any other service. You can click the ASSOCIATE THIS ELASTIC IP ADDRESS button to add the IP address to your infrastructure.

Pro Tip: If you need to configure this later, you can find the ASSOCIATE THIS ELASTIC IP ADDRESS button under the ACTIONS menu item.

 

The following screen allows you to select the Instance and Private IP address to map the public IP address. One you have selected your infrastructure, click on the ASSOCIATE button to continue.
 
Pro Tip: The IP address can also be associated directly to a network interface.

Step 2: Register a Domain Name

Use the Search bar used at the beginning of Step 1 to find the Route 53 service. Selecting the service will navigate you to the Route 53 console dashboard. You can click CREATE HOSTED ZONE button or HOSTED ZONE from the side menu.

Enter a domain name, such as my-website.com, that you wish to purchase and click the CHECK button. The screen will show if the domain is available and also provide a list of alternatives.

 
Click the  ADD TO CART button next to all the domains you wish to purchase.
 
Click the CONTINUE button at the bottom when you are ready.
 
Pro Tip: You can continue to search for other domains and add those all to the same cart.
 

On the Registrant Contact page, you will fill out the domain name registration information. Please fill out all fields and click the CONTINUE button at the bottom when completed.

The following page will allow you to confirm the information you entered and allow you to choose if you want the domain automatically renewed each year.

After you have confirmed the information, read through the Terms and Conditions and check the box next to "I HAVE READ AND AGREE TO THE AWS DOMAIN NAME REGISTRATION AGREEMENT".

Click the COMPLETE ORDER button when you are ready to finalize your order.

You will see a Thank You page as your order is processing. You can click the PENDING REQUESTS menu items to view the status of your order. Once processing is completed, you can click the REGISTERED DOMAINS menu item to view your domains.

Step 3: Configure DNS

You can now configure DNS for your IP address using the domain you purchased in the last step. In the Route 53 console, click on the HOSTED ZONES menu item.

Select the domain you just purchased and then click on CREATE HOSTED ZONE button to get to the configuration screen.

Enter the name of the domain you just purchased, a description, and whether you want the domain to be publicly accessible or private to your internal network.

Click on CREATE HOSTED ZONE button to finish the configuration.

 

 

You can now create DNS records for your domain. In this tutorial we will create a simple A record. Click 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.

Enter in your A record information and ensure "A" is selected in the Record Type field.

 
Enter the IP address from Step 1 into the value.
 
Click 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, open a browser and go to https://your-domain.com. (Please make sure you have your EC2 instance properly setup as a web server before browsing to the above 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 the next steps section below.

Was this helpful?

Thank you for your feedback
We're glad this page helped you. Would you like to share additional details to help us continue to improve?
Close
Thank you for your feedback
We're sorry this page didn't help you. Would you like to share additional details to help us continue to improve?
Close