Server Fault is a question and answer site for system and network administrators. 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

According to this message in the AWS forums, I should serve my static assets from different hostnames because I can achieve more parallel downloads with the client's browser, do I need a totally different TLD, or will unique subdomains (like:, work?

share|improve this question

Separate hostnames within one TLD will work, and is the traditional approach.

That said, there's a good reason to use a different TLD: cookies. If you're serving user-supplied files, you definitely want a different TLD with no access to the sign-in cookies.

Even for trusted content, if you have cookies over a domain, then avoiding serving the images/whatever from inside leads to lighter requests and responses. How much this matters depends upon how carefully you're tuning performance to keep overheads small and how bloated your set of all cookies is.

share|improve this answer

The trade off is between parallel requests and additional DNS requests, note many modern browsers have upped the limit from 2 to 6 or so.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.