How to appoint a sub-domain in a S3 bucket

0 votes

I am using amazon s3 bucket as the image server. And I want to use a subdomain of my site, how to address this bucket.

Eg: A picture is now in, and I access it through this same link.

If the link was something like / folder / imag.png Is there any way I can do this? appoint a subdomain address to a bucket? I've tried the Amazon Route 53, as CNAME. I tried this:

But it did not work. Any workarounds?

Oct 12, 2018 in AWS by datageek
• 2,530 points

1 answer to this question.

0 votes

You need to rename your bucket to match the custom domain name (e.g. and set up that domain as a CNAME to


(in your case)

The full instructions are available here:

answered Oct 12, 2018 by Archana
• 4,150 points

Related Questions In AWS

0 votes
1 answer

How to create a S3 bucket in AWS Console?

To create a S3 bucket in AWS, ...READ MORE

answered Feb 13, 2019 in AWS by Priyaj
• 58,140 points
+1 vote
1 answer
0 votes
1 answer

How do I use AWS sdk definitions for TypeScript?

Hey, slight modification with what you have ...READ MORE

answered Dec 3, 2018 in AWS by Archana
• 5,640 points
+4 votes
5 answers

Usage of Amazon Cloudfront or S3

When to use S3? S3 is like many ...READ MORE

answered Apr 3, 2018 in AWS by brat_1
• 7,200 points
+3 votes
6 answers

Renaming files in S3

You can either use AWS CLI or ...READ MORE

answered Oct 16, 2018 in AWS by petter dj
0 votes
1 answer

S3 Static Website Hosting Route All Paths to Index.html

Yes there is an easy way to ...READ MORE

answered Apr 8, 2018 in AWS by code_ninja
• 6,280 points
0 votes
1 answer

How to download the latest file in a S3 bucket using AWS CLI?

You can use the below command $ aws ...READ MORE

answered Sep 6, 2018 in AWS by Archana
• 4,150 points
0 votes
2 answers

How to access files in S3 bucket from R?

You can take a look at the ...READ MORE

answered Aug 10, 2018 in AWS by Deepthi
• 300 points