AWS上的静态网站无法访问

时间:2018-03-10 02:54:41

标签: amazon-web-services amazon-s3

对于如何在AWS上建立网站有点好奇,昨天我去了这个文件: https://aws.amazon.com/getting-started/projects/host-static-website/?c_1 为了开始简单的事情。

我点击按钮Get Started with the Implementation Guide,发现自己在这里: https://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html

它进展顺利,但即使在今天,我仍然无法使用预期的网址(http://example.com)来访问该网站。 为了简单起见,我决定暂时离开http://www.example.com

由于Step 2.5: Test Your Endpoint and Redirect可以毫无问题地执行; 我怀疑在执行Step 3: Create and Configure Amazon Route 53 Hosted Zone时出现了问题。

我没有在指南中找到解释非常明确,但我根据我在屏幕上看到的内容以及我之前与其他提供商(除了AWS之外)的类似情况的经验,做了对我有意义的事情。

之前有人试过这个并且有什么要指出的吗?

此处参考的是我在Google Chrome上可以看到的显示效果:

This site can’t be reached
example.info’s server IP address could not be found.
Did you mean http://example.com/?
Search Google for example info
ERR_NAME_NOT_RESOLVED

1 个答案:

答案 0 :(得分:0)

如果类似的事情发生在别人身上,这就是我所做的。 我终于按照Step 5: Route DNS Traffic for Your Domain to Your Website Bucket解决了这个问题 这份文件: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/getting-started.html#getting-started-create-alias  创建别名记录。

相关问题