How To Mask Amazon S3 Link To A Subdomain For SEO And Recall
In today’s video, I’m going to be showing you a tutorial dedicated to Amazon S3 users which is how to mask Amazon S3 link to a subdomain to shorten and reduce the size of links and at the same time promote recall and SEO for your blog. This is crucial too for security reasons because you can always mask a lot of your links stored in the Amazon S3 service so that way you won’t get hacked easily. I actually got this very good tip from Carl Vanderpal who’s one of my students in my recent outsourcing workshop so I want to thank him as I’ve started implementing this on my blog as well. See how I do this using a tool called Bucket Explorer and also setting up a few tricks over the Cpanel to create an automatic redirect for the Amazon bucket:
Watch “How To Mask Amazon S3 Link” video on Youtube
Transcription Of Today’s Video
Hi everyone, it’s Tyrone from Tyroneshum.com and welcome to the dedicated channel where I talk about outsourcing and automation.
In today’s video, it’s going to be dedicated towards people who are currently using the Amazon S3 service. If you’re a user out there with Amazon S3 for storing all your video files, mp3 files and any other storage files, this is a great tip for you. If you’re looking to use that service then this is also very valuable to you too.
Basically what I’m going to be sharing with you inside this video today is teaching you how to mask and also reduce the size of that link that you get from Amazon S3. Now, commonly if you are to create an Amazon S3 bucket and also too, to upload a file onto Amazon S3, you’ll notice that you get this very, very long link. It’s basically amazons3w – the name of your bucket and also the video file.
But what I want to show you inside this video tutorial is how to mask it to turn it to something like that so people don’t even know that it’s from Amazon S3. So, this is a tip that I learned and picked up from Carl Vanderpal which was a student who attended the Outsourcing Live workshop that I run recently so before I do get into this, I just want to thank Carl for this, for recommending me on how to do this and I thought this would be a great tutorial to share with everyone because it’s something I think that people would benefit from in terms of search engine optimization links and also too, so that people don’t know that it’s from Amazon S3.
And you might have benefits in doing that because people then can’t more or less know that you’re having files stored on Amazon S3 and hacking to them or download all your videos directly from Amazon S3 which understandably I know that that’s happened with a few people who I spoken to.
All right, so you might be wondering how can I get it from this link that you see this very, very long one into this smaller link which is right here onto my blog. And I’ve already started implementing this process. My virtual assistant has gone through and started to change through all my podcast links. So if you notice right here and you right-click on it, you’ll notice that this is podcasts.tyroneshum.com/VirtualCEO_Interview.mp3. It used to be from the Amazon S3 link but it’s just masked for people can’t see. It’s a nice and simple link so that people can remember it as well, too.
All right so the first thing you need to do, there’s going to be two parts to this process. The first part to your process is to make sure that you name your bucket correctly first. So I’ll show you right now what to do.
I use a software called Bucket Explorer which was recommended to me by Gideon Shalwick a while back and this is how I access Amazon S3 buckets that I’ve got in there and you would know if you’re an Amazon S3 user, you’ve got multiple buckets which you can create to be able to store all your video files there or whatever files you want to upload there, whether it be podcasts, etc.
And, what you’ve got to do is when you create a bucket here, you’ll see that it has to be created exactly with the same name as what you will name it. You can’t call it like anything else like Tyroneshum, or Massoutsource or whatever. You have to call it as podcasts.tyroneshum.com which is exactly the name of your link that you’re going to be creating. So for example, I’ll just give you this. Basically this part here could be like podcasts and then .domainname.com. And I’ll show you what I mean right here.
Ah – if you jump over here, this is podcasts.tyroneshum.com/virtualceo so anyone who clicks on here will be taken to podcasts.tyroneshum.com bucket inside Amazon S3 and whatever’s in there are these files like this mp3 file. And, that’s the most important thing. When you first start, you have to create the bucket with exactly that name and what will happen is that whenever you get the file, you find out what the file is for example, like this one here. Amazon S3 will give you a very long name and I’ll just click on it right now for you for example the VirtualCEO_Interview that I did with Chris Ducker. By clicking on Web URL which is – which will give you the link of it, will come out with this very, very long link. So I said podcasts.tyroneshum.com which is the bucket name that you’ve got here and Amazon will add the S3 domain name right here but we can eliminate that and it’ll still work okay. So what we need is just basically this part here, eliminate that part which is the Amazon S3 and just have the filename. And that’s all you need to do and that’s how it’s come out to be like this here, as you can see.
So I’m just showing you two examples. This is the link where you get from Amazon S3 and what will happen is it’ll automatically turn into something like this which is the shorthand version. So that’s the first part – make sure that you create the right bucket name and just ensure that it’s – say for example podcasts, like your podcasts or videos, or whatever it is and then .yourdomainname.com. Once you’ve created that, then that’s set and done and you can upload any of your files up there. That’s the first part.
Second part is you need to hop into your Cpanel. Now, if you’re not using Cpanel or you’re using shortscript or wherever it is that you need to access that, I won’t go into detail because it gets really, really technical. But for general users out there who has a server and you’ve got Cpanel access, this is all you have to do.
Just log into your Cpanel on the back end and simply just scroll down to here where it says Advanced DNS Zone Editor. If you click on that, it’ll be taken straight into what we call editing the CNAMES. Now, this is a technical aspect and I highly recommend speaking with your server company to help you set this up because if you do stuff it up, I can’t help you there. And I take no responsibility on that but I will show you step by step right now on what to do so that you can follow through and see how to set it up yourself. But basically all you have to do is jump into Advanced DNS Zone Editor and simply copying the name you want to call it. So as I said I’m calling it podcasts.tyroneshum.com so I’ll call it podcasts.tyroneshum.com and just make sure that you also have a dot at the end. Because I’ve already created podcasts, I’ll just create podcast but make sure you do have a dot at the end of that as well. The TTL, just put this number here 14400, that’s all you need to do. I don’t even know what that means but 14400 is just a number I’ve just used to copy for every single thing we got on our server. Change the Type to CNAME – okay and it’ll say and ask you what the CNAME is. Now the CNAME is the Amazon S3 server so I’ll just scroll down and copy it directly from here. So I’ll just copy and I’ll scroll back up and I’ll paste it for you. So these are the details that you need: the name of your bucket that you called it; so in my instance it would be podcast.tyroneshum.com as the bucket with the dot at the end, remember that. Then, the TTL is 14400; the Type is CNAME, make sure you select CNAME; and then you copy this address which is s3.amazonaws.com and once you’ve done that, simply just click on the button that says Add Record. And what will happen is that you’ll scroll down and you’ll see that it’s been added here right now. And what will happen is basically this here will point straight to your podcast bucket. So diagramically, I’m going to show you how that looks.
All right so hopefully you can see how that’s done. I’m just going to explain it to you how it works quite simply so that way you can diagramically how it works. So this is just for example your website here and we’ll just call it domain.com – okay.
It doesn’t look like it like to have – there you go domain.com. And what you want to do is as we’ve created a bucket, we’re just going to point this over to the Amazon bucket. So I’ll just sort of draw a little bucket, I’m not the best at drawing. This is what we call the Amazon bucket.
So this is the Amazon S3 bucket and what we’ve done is basically pointed that to there so that it knows to look at Amazon S3. So whenever you put in – I’ll just change the color, put in say for example podcasts.domain.com, it will point to Amazon’s S3 bucket that we’ve created with that exact name so that exact name that you got there has to be exactly there. So that means that anytime somebody types in this domain name or that exact web address will point to that bucket there and it will access whatever files that are inside there and that way it hides from anyone, it doesn’t show to anyone exactly where this is coming from. It’s the same thing with your domain, your domain is pointing straight to there as well not completely for everything. It’s only for the ones that you setup like it could be podcasts, it could be for videos, it could be for – I don’t know, anything else that you might have like pictures, you know you might want all those setup over there. It’s up to you. But that’s basically how it works. If you can set that up for your domain or your website that’s good for both SEO – oops wrong one there. This is good for SEO, so I’ll just write that down, for SEO and also for people to remember. I can’t spell, anyway you know what I mean. So that’s the most important thing, SEO and remember and that’s the reason why I’m sharing this with you right now.
All right, that’s done. That’s pretty much it all you need to do and everytime you basically create a new file such as like this one, that mp3 file you upload onto your bucket, just make sure that you upload it and just put this domain name. So it’ll be the name of the bucket that you call it okay and just right there, put it all right here. You can’t copy this one but this is the long version. If you open up say s3.amazonaws.com it’ll still show the file but all you need to do is basically delete that and wala, you’ve got yourself a short name version pointing directly to Amazon S3.
Okay, I know this has been a little bit of a challenging tutorial for people. I know it’s – it’s little bit more technical but for the technical people out there who want to do this for the blog and to make it more optimized, then this is a great little tip that you can do.
And I love to hear your feedback on it if it’s worked for you. I’m sure it will because it’s worked for me, I’ve already done it on my blog. I love to see how this can also benefit for you.
Any comments, or any questions that you have, feel free to leave it down below on my blog. I’d love to hear from you and be able to help you and assist you with that if you do get stuck okay. Well, my name is Tyrone from Tyroneshum.com and thanks so much for watching this video and I’ll see you next time. Bye for now.

My name is Tyrone Shum and I'm on a journey to outsource and automate my business to allow me to work only 12 hours a week. On this website I share with you my outsourcing strategies to achieve this goal and I have a passion to teach others about what I do. Read more