How to Create a Subdomain in Amazon Route 53?

Vivek Maskara
Nov 4 · 3 min read

In this post, I will show you how to set up a new subdomain using Route 53 in 4 easy steps. The setup is straightforward and will take less than 2 minutes to have your subdomain up and running. :)

Step 1: Make a hosted zone for your original domain

Make sure that you have already created a hosted zone for your original domain. If you need guidance, you can refer to this blog post, where I set up a hosted zone for

Step 2: Create a new hosted zone for your subdomain

Click on Create Hosted Zone to create a new hosted zone. Enter the domain name as and enter anything you want in the comment section. Set the type as Public Hosted Zone and click Create.

Create a new hosted zone

Step 3: Create a new NS record set for your original domain

  1. Click into your hosted zone, and select the recordset with type .

2. Copy the nameservers in the box on the right.

Copy the value of the NS recordset.

3. Go back to your original hosted zone and click on Create Record Set.

4. Create a new NS record set with the name same as your subdomain and the value that you just copied. Click on Create to create it.

Create a new NS recordset in your original hosted zone.

Step 4: Create an A record set for your subdomain

Return to your subdomain’s hosted zone and click on Create Record Set to create a new recordset. Leave the name empty and set the type as A. In the value field, you can enter any IP address that you want it to point to. Click on Create to create it.

Create an A recordset mapping it to some IP address.

That’s it. Your subdomain should be up and running. :)

Make sure you give this post 50 claps and follow me if you enjoyed this post and want to see more!

Vivek Maskara

Written by

Working on awesome stuff at Zeta.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade