paint-brush
Registering a Domain in AWS Cloudby@suylakshmanan

Registering a Domain in AWS Cloud

by Suyambukani LakshmananNovember 14th, 2024
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

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 frontend or backend application. There's an annual fee to register a domain. The fee can range from $3 to several hundred dollars depending on the top-level domain.
featured image - Registering a Domain in AWS Cloud
Suyambukani Lakshmanan HackerNoon profile picture


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 frontend or backend application.


There's an annual fee to register a domain. The fee can range from $3 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.

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.



b. Enter Route 53 in the search bar and select Route 53 to open the service console.



c. Choose the Register domain button.



d. Enter a desired domain name in the text box and choose an extension such as .com in the dropdown list and choose the Check button.


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



e. Enter the registrant contact detail for your domain.



  • Choose the Continue button on the bottom of the page.



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.



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.



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.



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.