In Amazon, I am attempting to create a cname for a domain,
example.com
to a load balancer in Route 53
Examplecom-1058462749.us-west-2.elb.amazonaws.com
But when I try to save the record, I get this error:
RRSet of type CNAME with DNS name example.com.
is not permitted at apex in zone example.com.
And when I try to make it an A record, I get a similar issue:
The record set could not be saved because:
- The Value field contains invalid characters
or is in an invalid format.
Because the public DNS of the load balancer is not an ipv4 address. What am I doing wrong? How can i get example.com to point to the load balancer? Note, I did successfully created a cname for www.example.com to the load balancers public dns.