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

已提問 3 年前檢視次數 439 次
1 個回答
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.

已回答 3 年前

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

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

回答問題指南