Raj Sharma
Raj Sharma

Reputation: 63

Cant curl on Route53 record for Load balancer

I created an ELB on AWS for one of my database clusters. I also created a Route53 entry associated with the ELB. The Route53 record is a type A record with an alias to the ELB.

I can curl just fine when using the ELB endpoint but cannot resolve the host when using the Route53 entry.

Both - the ELB and the hosted zone are in the same VPC

Upvotes: 2

Views: 884

Answers (1)

Raj Sharma
Raj Sharma

Reputation: 63

So here what I did to resolve the issue:

-My elb was public facing, i changed it to private -created a new private hosted zone and an A type entry for the elb -made sure that elb was associated with private subnets

and it worked

Upvotes: 1

Related Questions