Application Load Balancer blocking DNS Propagation

0

I created an application load balancer to handle SSL (ACM certificate) for my website hosted on an EC2 server. My DNS registrar is not Amazon. The only DNS records currently propagating globally are related to the load balancer. Other records (MX, TXT, etc) are not propagating. My registrar re-pushed DNS yesterday, but there has been no change. Did I misconfigure the load balancer? How do I correct this?

Thanks!

1개 답변
0

Hi,

Based on the information on the comments, it appears you are not routing the traffic through ALB. The A record for EC2 IP will directly route the traffic to EC2 i.e. it wont go via ALB. So you need to do the following:

  • Did you check if you are able to access the application via ALB DNS name directly? You may want to debug any problems connecting to EC2 via ALB. E.g. Issues with Target Group, Health Checks, Security Groups etc.
  • The CNAME record correctly points to the ALB DNS name (it should not be an A record pointing to the ALB IP or EC2 IP).
  • Attaching the ACM certificate to the HTTPS listener on your ALB is a crucial step. Double-check to ensure it is correctly associated. Refer this

Hope this is helpful.

Thanks, Rama

profile pictureAWS
Rama
답변함 2달 전
profile picture
전문가
검토됨 2달 전
  • I can access the application through the ALB DNS name directly. If I remove the A record, traffic is routed through the ALB and http and https work fine. The CNAME record is pointed to the ALB DNS name. But removing the A record somehow prevents my other DNS records from propagating.

  • Thanks for your help so far. As far as I can tell, MX records won't propagate without an A record. Is there a way to use the ALB with an A record? Or another avenue I'm missing? Thanks!

  • Hi, understand your blocker now. Since you are using an external DNS provider, it is likely they don't allow you to associate the ALB DNS name for the apex record, they need an IP address. Since Route 53 allows you to use ALB DNS for an A record. The workaround I can think of is to create a hosted zone in Route53 and request your domain provider to re-direct your requests to this AWS NameServer (you will find this info as soon as you create your hosted zone) post that, just add the A records and the CNAME records. Pls refer this for more information: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/migrate-dns-domain-in-use.html

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인