How to create an ‘A’ record in AWS – Route 53
Introduction
Amazon Route 53 is a scalable and highly available Domain Name System service. We can perform the three main functions on route53 services such as domain registration, DNS routing, and health checking
Prerequisite
- AWS Console access
- A domain name
- IP address where we need to point the domain
Implementation
Step 1: Sign in to the AWS console
https://aws.amazon.com/
Step 2: Search the Route 53 service from the search bar
Step 3: Navigate to the “Hosted Zones” and click on Create Hosted Zone
Step 4: Provide the domain name in the domain name section.
(i) To route internet traffic to your resources, such as Amazon S3 buckets or Amazon EC2 instances – Enable Public hosted zone
(ii) To route traffic within the VPC – Enable Private hosted zone
Step 5: If required provide tags for reference else click on create hosted zone
Step 6: Once the hosted zone has been created, click on the hosted zone to add the DNS – ‘A’ record
Step 7: Click on Create record
(i) If the A record is added for the primary domain, leave the record value empty
(ii) If the A record is added for the subdomain, mention the subdomain name in the record value
Step 8: Select the “A – Route traffic to an IPV4 address and some AWS resources” to create the DNS ‘A’ record
Step 9: Provide the IPv4 address in the Value section and click on Create record