简体   繁体   English

S3 static 托管网站在没有 www 的情况下无法工作。 (Namecheap DNS,Cloudfront Distro,ACM SSL 证书)

[英]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.没有 www 是行不通的。 For background it was originally pointing to a www.对于背景,它最初指向 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):我有一个指向云端的 namecheap CNAME 记录(今天添加了 * 主机 CNAME): 在此处输入图像描述

Cloudfront:云端:

在此处输入图像描述

在此处输入图像描述

S3: 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对于设置的 CNAME 记录部分,您需要添加一个 @ 作为主机: 不带“www”的域名不适用于 CloudFront

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Cloudfront 与托管在外部服务器上的网站的 ACM 托管证书 - Cloudfront with ACM managed cert for website that's hosted on external server 在 AWS S3 和 CloudFront 中托管的静态网站 - Static website hosted in AWS S3 and CloudFront “www.'' 无法在 Firebase 中托管的网站上工作 - "www.'' Not working on website hosted in Firebase 带 SSL 和静态网站的 S3 存储桶 - S3 bucket with SSL with static website 如何将 GoDaddy 域指向托管在 S3 上的 static 网站? - How to point GoDaddy domain to static website hosted on S3? 如何使 Angular Service Worker 识别 AWS CloudFront 中托管的静态托管 S3 存储桶中已部署应用程序的新版本 - How to make an Angular Service Worker recognize new versions of a deployed application in a static-hosted S3 bucket hosted in AWS CloudFront 使用 Cloudfront 和 AWS Lambda 对 S3 托管网站进行身份验证时出现 503 错误 - 503 error in authentication using Cloudfront and AWS Lambda for S3 hosted website 带有 S3 static 站点托管的 Cloudfront 响应 504 错误 - Cloudfront with S3 static site hosting responds with 504 error 从 static S3 托管网站调用 ApiGateway 时出现 403 错误 javascript function - Getting a 403 error when invoking POST call to ApiGateway from static S3 hosted website javascript function 谷歌云自定义域 NameCheap - “WWW”不工作 - Google Cloud Custom Domains NameCheap - "WWW" not working
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM