简体   繁体   English

如何避免 URL 中的 .s3-website-us-east-1.amazonaws.com/?

[英]How to avoid .s3-website-us-east-1.amazonaws.com/ in the URL?

I'm using static site generator cactusformac.com and I just hit deploy and I was hoping the url would be ONLY beccashayne.com but instead it is http://beccashayne.com.s3-website-us-east-1.amazonaws.com/ .我正在使用静态站点生成器cactusformac.com ,我只是点击了部署,我希望 url 只是beccashayne.com但它是http://beccashayne.com.s3-website-us-east-1.amazonaws.com/

How do I get rid of the .s3-website-us-east-1.amazonaws.com/ and have just beccashayne.com ?我如何摆脱.s3-website-us-east-1.amazonaws.com/而只有beccashayne.com Or do I need to manually upload all of the content to an FTP thing like cyberduck?或者我是否需要手动将所有内容上传到诸如 Cyber​​duck 之类的 FTP 东西?

Any advice for a super not advanced developer is helpful I have no idea what I'm doing and all of the docs in AWS are really heavy.对于超级不高级的开发人员的任何建议都是有帮助的,我不知道我在做什么,而且 AWS 中的所有文档都非常繁重。

Use Route53 and register your domain beccashyne.com then in the Route53 then the following step:使用 Route53 并注册您的域 beccashyne.com 然后在 Route53 中然后执行以下步骤:

  1. DNS management click on your Hosted zones, click on your domain name DNS 管理单击您的托管区域,单击您的域名
  2. Click on Create Record Set单击创建记录集
  3. In the "Create Record Set" leave your Name blank;在“创建记录集”中将您的姓名留空; Type A - IPv4 address; A 类 - IPv4 地址; Alias = Yes;别名 = 是; Alias Target: select your S3 Endpoint should be something like "s3-website-us-east-1.amazonaws.com" and that's it!别名目标:选择您的 S3 端点应该类似于“s3-website-us-east-1.amazonaws.com”,就是这样!

暂无
暂无

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

相关问题 默认 s3.amazonaws.com 位于 us-east-1 以外的区域 - Have default s3.amazonaws.com to be on other region than us-east-1 适用于eks.us-east-1.amazonaws.com的AWS EKs IP地址范围 - aws eks ip range for eks.us-east-1.amazonaws.com 访问资源 https://sqs.us-east-1.amazonaws.com/ 被拒绝 - Access to the resource https://sqs.us-east-1.amazonaws.com/ is denied 可以使用 s3.amazonaws.com/bucket/folder 访问公共 S3 存储桶,但不能使用 s3-us-east-1.amazonaws.com/bucket/folder - Public S3 bucket access using s3.amazonaws.com/bucket/folder is possible but not using s3-us-east-1.amazonaws.com/bucket/folder Amazon Cognito错误:无法解析主机cognito-identity.us-east-1.amazonaws.com - Amazon Cognito Error : Unable to resolve host cognito-identity.us-east-1.amazonaws.com 为什么会出现此错误? UnknownEndpoint:无法访问的主机:`devicefarm.us-east-1.amazonaws.com' - Why am I getting this error? UnknownEndpoint: Inaccessible host: `devicefarm.us-east-1.amazonaws.com' HTTPSConnectionPool(host ='s3-us-west-1b.amazonaws.com',port = 443):网址超出最大重试次数 - HTTPSConnectionPool(host='s3-us-west-1b.amazonaws.com', port=443): Max retries exceeded with url 致命:无法访问“https://git-codecommit.us-east-1.amazonaws.com/v1/repos/lambda-pipeline-repo/”:请求的 URL 返回错误:403 - fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/lambda-pipeline-repo/': The requested URL returned error: 403 AWS - 连接仅拒绝 ec2.us-east-1.amazonaws.com,但任何其他区域都有效 - AWS - Connection refuse only ec2.us-east-1.amazonaws.com, but any other region works 如何重定向显示在&#39;http://的s3静态网站 <domain> .s3-us-west-2.amazonaws.com / index.html&#39;到&#39;https:// <domain> &#39;没有长名吗? - How to redirect s3 static website showing up at 'http://<domain>.s3-us-west-2.amazonaws.com/index.html' to 'https://<domain>' without the long name?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM