Lightsail Distribution produces an error

0

I just enabled distribution for my website, but getting an error:
What is wrong?


klionsky-org
SSL certificate, klionsky.org
Requested on:July 3, 2021, 1:15 AM
Status:Valid, in use

Distribution:
Status: Enabled
Default domain: d19p3ng5aeb0ha.cloudfront.net
Custom domain: klionsky.org

504 ERROR
The request could not be satisfied.
CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
Generated by cloudfront (CloudFront)
Request ID: 9B24Qe-WXe2ooIWsb0DPhIaBgYK2TRekbjFhNsHYAc0rZ6GuLECMwg==

demandé il y a 3 ans439 vues
1 réponse
0

I found the problem:
I have not finished the setup.
I just added CNAME record but missed this one:

Choose an address (A) record to point an apex domain (e.g., example.com) to your distribution

in other words, now my (A) record points to my distribution instead of Static IP address.

répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions