LoginSignup
0
0

【AWS】 「This XML file does not appear to have any style information associated with it. The document tree is shown below.」への対応方法。(CloudfrontとS3の紐づけ時)

Posted at

事象:CoudfrontでS3を配信設定をしたが、ディストリビューションドメイン名でアクセスしても以下エラーが出てしまい、アクセスしたいオブジェクト(index.html)にアクセスできない
<エラーメッセージ>
This XML file does not appear to have any style information associated with it. The document tree is shown below.

原因:デフォルトルートオブジェクトの設定誤り。
index.htmlがindex.comとなっていた。

解消方法:Cloudfront→対象のディストリビューション→一般→設定→編集でデフォルトルートオブジェクトを修正

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0