Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm planning to use Amazon S3 with Cloudfront as CDN network.

But I'm guessing that changing the url from 345345df4.cloudfront.com to sub.domain.com will slow the process of download

Is this correct?

share|improve this question

migrated from stackoverflow.com Jun 8 '11 at 10:13

This question came from our site for professional and enthusiast programmers.

It will make no difference. Clients have to make a DNS lookup to convert the name to an IP address; using a CNAME might make that slightly slower, but by tens of milliseconds. The download itself uses the IP address, and will be entirely unaltered.

share|improve this answer
so do you think the hosting that holding the subdomain, will be affected and maybe it will affect the process also if it was slow and couldn't handle thousands of connections – Ahmed Janim Jun 8 '11 at 6:28
no, DNS lookup is already highly optimised and cached and distributed in many locations including the user's computer. using a CNAME won't have any practical affect on whoever is hosting your DNS records – Myster Jun 29 '11 at 2:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.