DEV Community

Santhosh V
Santhosh V

Posted on

CA 29 - Setup a DNS hosted zone in Route53 in AWS.

Today I learned how to create a DNS hosted zone in AWS. It’s not that hard once you understand the steps.

First, I went to AWS and opened Route 53. Then I clicked on Hosted Zones and selected Create Hosted Zone.

Next, I entered my domain name (like mywebsite.com) and selected Public Hosted Zone. Then I clicked create.

After creating, AWS automatically gave me some NS (Name Server) records and SOA record. These are important.

Now the main step - I went to my domain registrar (where I bought the domain) and updated the nameservers with the ones AWS gave.

After that, I came back to Route 53 and created a record:

Click Create Record
Choose type A record
Add value (like IP address of my server)

Now I saved it.

After some time (DNS takes a little time), I opened my domain in the browser… and it worked

Top comments (0)