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.

asked 2 months ago97 views
1 Answer
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
SUPPORT ENGINEER
Q
answered 2 months 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