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==

gefragt vor 3 Jahren439 Aufrufe
1 Antwort
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.

beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen