By using AWS re:Post, you agree to the Terms of Use

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 Answers
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.

answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions