Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to set up a download area within a site, (FTP or HTTP, doesn't matter) and I would like to have at least a handful of mirrors scattered around the world. I would like the download links to choose a mirror transparently for the user. It may be random, round-robin, or it may have some smart IP proximity logic. Is there some good package (e.g. a Python or PHP library) I could use for that end?

share|improve this question

1 Answer 1

The simplest way to do that would be to add a DNS name like "files.example.com" and set multiple A records. This would be a round robin distribution over all the hosts.

The problem is that every server has to have the exact same file structure.

share|improve this answer

Your Answer

 
discard

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.