I have my domain name regsitered in Godaddy. I have my servers in AWS. We use a public ELB to redirect traffic to our webservers inside a VPC in a public subnet. I want to point one of my subdomain name to the elastic loadbalancer endpoint and I want to do it in Godaddy itself and not route53.

I know I cant point my elb endpoint to an A record, What can I do to point my subdomain name to an ELB endpoint in Godaddy?

My main domain name is pointed to a different site. So I cant use it.


Solution 1:

You want to use a CNAME record, something like

my.web.thingy.org        CNAME  my-loadbalancer-1234567890.us-west-2.elb.amazonaws.com.

http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/using-domain-names-with-elb.html


[Edit; response to comment]: There is no need for you to set any A record. You just point your name to the ELB name Amazon has provided you, and their nameservers will map that to an IP address. You don't want to look up that IP address and try to shortcut things by using it yourself, because it can (and in my experience does) change regularly. Just use the name Amazon provides you per their instructions.