amazon web services - Domain name setup without A Records -
i hosting content on aws , want configure dns settings both @ record , www record point @ elastic load balancer.
- example.com (@ record)
- www.example.com (www record)
aws recommends setting domains using cnames ip addresses can change.
all documentation have seen on cname deal subdomains not primary domain (http://example.com ). primary domain requires record , therefore must require ip address.
i not want use record point traffic elastic load balancer ip address may change.
any idea how can around issue?
i using linode manage dns.
you can use special record type in route 53 called "alias".
q. can point zone apex (example.com versus www.example.com) @ elastic load balancer?
yes. amazon route 53 offers special type of record called ‘alias’ record lets map zone apex (example.com) dns name elb dns name (i.e. elb1234.elb.amazonaws.com). ip addresses associated amazon elastic load balancers can change @ time due scaling up, scaling down, or software updates. route 53 responds each request alias record 1 or more ip addresses load balancer. queries alias records mapped elb load balancers free. these queries listed “intra-aws-dns-queries” on amazon route 53 usage report.
source: https://aws.amazon.com/route53/faqs/
just set alias yes , able choose load balancer dropdown menu:
Comments
Post a Comment