简体   繁体   中英

S3 static hosted website not working without www. (Namecheap DNS, Cloudfront Distro, ACM SSL Cert)

I can't seem to resolve this one issue. Without www it doesn't work. For background it was originally pointing to a www. bucket but I've since made a new one and it's pointing to that one. I have a namecheap CNAME records pointing to cloudfront (added the * host CNAME today): 在此处输入图像描述

Cloudfront:

在此处输入图像描述

在此处输入图像描述

S3:

在此处输入图像描述

For the CNAME record portion of the set up you need to add an @ as the host: Domain Name without "www" does not work for CloudFront

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM