CF Distribution URL getting 502 & Domain name error 302

0

Hi Team, I used Cloud front as edge location for my project , Upto ALB connection is working fine , now I did both ALB and CF level security , added ACM in ALB and if traffic comes to ALB directly they will get access denied page like that I set it up, its working fine. using Host Header configuration in HTTP, content will travel to CF if any request from CF , also it will travel as HTTPS in secure way Next step, I created CF distribution there allow requests via only HTTPS, if any req coming HTTP it redirects to HTTPS, but In our organization they using GoDaddy only not using route 53 , So if I provide my ALB DNS as a CNAME I can see the output upto ALB level, After I removed ALB CNAME I created CNAME for CF , then it's keep on coming 302 for domain name and 502 error for CF DNS, can anyone assist

asked 2 years ago277 views
1 Answer
0

Hi,

If it's HTTP 502 status code (DNS error) follow this link to troubleshoot -> https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/http-502-dns-error.html
If the error is HTTP 502 status code (Bad Gateway) follow this link to troubleshoot -> https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/http-502-bad-gateway.html

Thanks, Abhishek

profile picture
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions