Solved

Do I need to Use a CNAME

Posted on 2011-03-23
1
313 Views
Last Modified: 2012-06-21
Hi,

I have an Amazon S3 account in which I have stored the CSS and images for a webpage.
When trying to reference these in my webpage there appears to be two ways of doing it.

Some instructions indicate that you should just reference the image directly: -
http://s3-eu-west-1.amazonaws.com/assets.MyURL.co.uk/MyBucket/image.png

Some instructions indicate that I should create a sub domain and then use a CNAME record to point at Amazon.

Could someone please explain, which is the preferred method and why?

Regards
William
0
Comment
Question by:Whisky-Will
1 Comment
 
LVL 9

Accepted Solution

by:
sshah254 earned 500 total points
ID: 35203011
DNS method might be better.

Let's say you have everything stored on Amazon and use the direct link to make everything work.

3 months down the line you have to switch the provider from Amazon to someone else.

You'll need to make changes everywhere that a reference was made.

If you do the DNS thing, then all you need to do is change where the CNAME points to and everything else would work out fine.

If you are sure that you are going to stick with Amazon, then DNS thing does not matter.

Ss
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question