How to setup Subdomain for S3 Bucket

0

Hi everyone,

I have an existing website that resides on a non-aws cpanel server. My domain is registered with godaddy. I created an S3 bucket and would like it to be a subdomain of my main site (ie library.mainsite.com). I've looked through the documentation and help docs. Unfortunately most of the writers assume prior experience and thus omit important steps. Can someone please point me to good beginner documentation for this. I'm getting conflicting information even within the AWS community. Some people are saying create a cname entry. Other people are saying it's nameservers. I'm very confused.

Thanks

1 個回答
0

If you want ssl on your S3 site then note you can't use S3's static website hosting option as ssl isn't supported. The best way is to use CloudFront with your S3 bucket as the origin. Have a look at https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/GettingStarted.html.

專家
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南