Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Do I need to Use a CNAME

Posted on 2011-03-23
1
Medium Priority
?
336 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 9

Accepted Solution

by:
sshah254 earned 2000 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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

688 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