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

KD
已提問 8 個月前檢視次數 162 次
1 個回答
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
已回答 8 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南