[AWS] 將S3檔案的網址綁定多個 domain

From : https://stackoverflow.com/questions/6130985/map-multiple-subdomains-to-same-s3-bucket/6141297#6141297

1. 先將 S3 Bucket 開啟 Static Website Hosting


2. 去 CloudFront 建立 Distributuin

在同一頁底下, CNAMEs的欄位填上自己需要換的 domain
如果需要多個可以用換行的方式填入多個, 支援wildcard



剩下的就是在自己的DNS上將需要的domains對應到cloudfront的domain上


留言

這個網誌中的熱門文章

[翻譯] 介紹現代網路負載平衡與代理伺服器

Grafana K6

Linux 事件驅動筆記