Wednesday 28 June 2017

Migrate DNS from Godaddy to AWS Route 53


Assuming the Domain is www.mine.com registered with Go-Daddy.

Problem Statement:

The mine.com infrastructure is hosted in AWS with Public facing CDN: Cloudfront and AWS ELB , load balancing traffic to EC2 servers in private subnet.

The A Record ( @ record) entry in Go-Daddy Zone file will not accept URL ( Cloudfront URL or ELB URL) and has to be a static IP address.

 Hence, only option was to migrate DNS from go-daddy to AWS Route 53.

Steps :


  1. Change TTL for all A, CNAME records to 5 minutes
  2. Change TTL for Nameservers to 5 minutes
  3. Go to Godaddy.com>then go to https://dcc.godaddy.com/manage/dns?domainName=mine.com >then at the bottom click Export Zone File (Unix)
  4. Go to Route53
  5. Create new hosted zone for mine.com
  6. Import zone file that you exported from GoDaddy and verify all settings are correct
  7. Change root domain A record in Route53 to point to production CloudFront URL d*********7.cloudfront.net
  8. Wait 60-90 minutes
  9. Update name servers to new name servers list in Route53 zone
  10. Wait 5 minutes for changes to propagate and verify results