Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Do I need to Use a CNAME

Posted on 2011-03-23
1
Medium Priority
?
340 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 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

Ready for your healthcare security check-up?

In the past few years, healthcare organizations have become a prime target for advanced attacks. Does your organization have what it needs to defend itself? Schedule your healthcare security check-up today and download our free Healthcare Security Resource Kit today!

Question has a verified solution.

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

If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
Loops Section Overview
Screencast - Getting to Know the Pipeline
Suggested Courses

916 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