I have set up a cloudfront distribution successfully and I am able to navigate to the default domain provided by Cloudfront. I have also set up a alternate domain name using AWS Certificate Manager (ACM). The SSL has been issued and verified by the cname record I added.
For the cname entry in Google Domains I am using:
www CNAME cloudfront-distribution-name.cloudfront.net
When I try to navigate to the alternate domain: domain.com I receive a 403 forbidden network response. See screenshot below:
Note: I set up the cloudfront distribution using a website endpoint as the origin.
Here is the origin config:
Here is the behavior config:
http
orhttps
? – jellycsc