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

asked 3 years ago418 views
1 Answer
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.

answered 3 years 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