I have created an ELB for my 2 dev instances. My domain name is example.com
, which is an A record to an Elastic IP for an EC2 instance. I'm trying to create a subdomain record dev.example.com
, which is an ALIAS record to the ELB. My ELB DNS name is dev-elb-222222222.ap-southeast-1.elb.amazonaws.com
.
When I hit the ELB DNS directly from the browser, the data is served perfectly. But when I go to dev.example.com
, I get the error that DNS address cannot be found.
It has already been an hour since creating the record set for dev.example.com
. Here are the values of the record set:
Name:
dev.example.com
Type:
A - IPv4 Address
Alias Target:
dualstack.dev-elb-222222222.ap-southeast-1.elb.amazonaws.com.
Alias Hosted Zone ID:
Z1LMS91P8CMLE5
Routing Policy:
Simple
Evaluate Target Health:
No
Can someone please tell me where I'm going wrong?