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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则