Solved

Do I need to Use a CNAME

Posted on 2011-03-23
1
300 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now