How to create a domain and a subdomain in AWS?

Viewed 35866

How to create domain and subdomain in AWS?

10 Answers

Though this question is already answered and is years old, I just went through this process this week. I thought it be helpful to have screenshots of what I did to create a domain and subdomain in AWS.

To create Domain:

  1. Go to AWS Route 53.
  2. Check for domain name availability enter image description here
  3. If its available, click add to cart, then continue.
  4. The following page add your information then click continue.
  5. Then on the next page, select Complete Order. enter image description here
  6. Domain name has been created now.

To create sub domain.

  1. Go to AWS Route 53.
  2. Click on Hosted Zones. enter image description here
  3. Click on your domain name enter image description here
  4. Click on "Create Record Set". enter image description here
  5. On the "Create Record Set" panel on the right, enter the sub domain. Can leave the type entry with the default value. IF you already have an EC2 instance, then select "yes" for Alias. Then in the Alias Target text field, find your EC2 instance. enter image description here
  6. Click "create".
  7. Sub domain is now created.

Step 1 - For Domain a) Create a Hosted Zone. b) Update the NS and SOA records in domain name provider c) let the domain propagate.24-48hrs

Step 2 - For SubDomain a) Create CNAME record in the above hosted zone for example subdomain b) Point to the address for example website bucket https//bucket_in_S3

Your subdomain is ready and working with immediate effect.

Related