Recently I have came across situation where I had to point my DNS to Amazon EC2 instance.
My Set-up:
- Amazon EC2 Windows Server
- Public IP allocation for Amazon server is Dynamic
- Purchased Domain name from GoDaddy.com
As our server IP is dynamic, and we want users who visit : http://www.mydomain.com to redirect on our Amazon EC2 windows server, we will edit "DNS Zone" file on GoDaddy.com website :
- Edit DNS Zone file -
- Change "A" record
- Set "Host" = "@"
- Set "Points To" = 53.2.3.12 ( IP of Amazon EC2 Instance)
Changing DNS Zone file record to point to our Amazon EC2 Instance
After some time DNS settings should apply and if you try to ping www.mydomain.com it will show you IP address of your Amazon EC2 instance
No comments:
Post a Comment