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.

1 Risposta
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
TECNICO DI SUPPORTO
Q
con risposta 3 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande