Solved

Do I need to Use a CNAME

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

Veeam gives away 10 full conference passes

Veeam is a VMworld 2017 US & Europe Platinum Sponsor. Enter the raffle to get the full conference pass. Pass includes the admission to all general and breakout sessions, VMware Hands-On Labs, Solutions Exchange, exclusive giveaways and the great VMworld Customer Appreciation Part

Question has a verified solution.

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

I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

622 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