Bad request. The request could not be satisfied.

0

Hi guys, I have the Bad request issue, I am trying to use a CNAME in godaddy's DNS configuration in order to redirect trafiic from a subdomain in godaddy to a domain in AWS, this domain is managed by AWS Amplify. I've tried to resolve it with this instructions: https://repost.aws/knowledge-center/resolve-cloudfront-bad-request-error# , but the Cloudfront distribution doesn't exist. What else coud I do? Thank you. Regards. Jorge Soto.

已提問 3 個月前檢視次數 105 次
1 個回答
1

First, referencing this section of the documentation, I presume that you are or have already done the DNS configuration on your godaddy, for example:

sub.example.com ---cname---> d1234xxxx.cloudfront.net

but the Cloudfront distribution doesn't exist

I presume you meant you are unable to see the distribution on your CloudFront console. That is expected, as the distribution in question is managed and owned by Amplify, which you do not have control over, hence it is not shown on your console.

From your mentioned article, the two main recommended resolution:

  • Allow HTTP requests: this is already enforced for Amplify provisioned distributions.

  • Associate a CNAME with a distribution: since you do not have control, this can only be indirectly set on your Amplify custom domain settings (App settings --> Domain management).

For your issue, please double check that your intended subdomain that you want to point on godaddy, is also present on your custom domains setting in Amplify.

The "sub.example.com" needs to match a custom (sub)domain you have configured on Amplify.

If you already have the above, then further troubleshooting would require details that are non-public information. In that case, the recommendation is to open a support case with AWS using the following link.

AWS
支援工程師
Q
已回答 3 個月前

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

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

回答問題指南