5 Steps to route your Domain to AWS services(ELB,EB,CDN and S3Website) using Route 53 !

Mohit Shrestha
3 min readJun 4, 2019

I have my Personal Domain hosted over C-panel ladybird and Go Daddy, I have been trying to Route my domain to my Elasticbeasntalk DNS but was unable to do so from past few days . Later when I was attending the AWS Innovate conference 2018 I have asked this question to one of the expert and they guided me the path. Though its quite simple but sometimes the easiest steps seems toughest to you, hence I am sharing my experience with you all, hope it will help . So let’s get started — ->

  1. First login to AWS account , select Route53 Service and create a hosted zone . Type your personal domain name say “xyz.com” and select type as “Public” depending on your needs.

2. The moment you will hit Create tab , it will create NS(Name Servers) and SOA(Start of Authority) for the domain your provided.

3. Then create a Record set and create a route first to your ElasticBeanstalk/ELB/S3website endpoint or Cloudfront by using Alias Records. Click Alias radio button “YES” and select your service to route to. Once created your Dashboard will look something like the second screenshot below to this one.

4. Now the domain name is been routed to the DNS chosen by this time but the actual domain doesn’t. Confused ?? The key point is to note the Name Servers, this would be the game changer. All you need to do is to copy these Name servers and then login to your Domain root account, find your domain name servers first. Then you will get a option to “Add more” or to “ Add custom Name Servers” . Please add all the Name servers that will be generated from your hosted zone in your route 53. For example there are four name servers generated in route53 hosted zone for “xyz.com” hence I need to copy all these 4 NS and add it to my personal domain name servers. KEY TO NOTE : Don’t delete your personal name servers in your hosted domain space just add it as a custom domain ok !

5. Last but not the least is the “wait time”. It will take anywhere between 1–3 hour to complete the route since it will take some time to propagate over the internet.

I hope this article helps you . Feel free to drop a comment if you need any assistance , wishing you all a great day.

Stay tuned for more awesome blogs, Cheers !

--

--