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 :
- Change TTL for all A,
CNAME records to 5 minutes
- Change TTL for
Nameservers to 5 minutes
- 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)
- Go to Route53
- Create new hosted zone
for mine.com
- Import zone file that
you exported from GoDaddy and verify all settings are correct
- Change root domain A
record in Route53 to point to production CloudFront URL
d*********7.cloudfront.net
- Wait 60-90 minutes
- Update name servers to
new name servers list in Route53 zone
- Wait 5 minutes for
changes to propagate and verify results