Dropbox custom domain
If you don’t already use Dropbox, you should.
Besides keeping your files backed up and computers in sync, it also allows you to share files with others. You’ll never cringe at attaching huge files to emails ever again. However the links to these shared files can look kind of cryptic and unprofessional. If you’re sharing files with clients, http://dl.dropbox.com/u/918273645/file.zip just doesn’t cut it.
I decided to remap these urls to something a little more legible, professional, and just incase a link to a public file starts getting shared like crazy: an intersticial.
I added a subdomain to my website, http://box.leebyron.com to use as the base URL for these links. http://box.leebyron.com/file.zip is the goal.
There are two files in this new subdomain, .htaccess and index.php. Similar to how pretty-urls and custom 404s are implemented.
Check out these files at http://gist.github.com/326328.

That’s a good idea! I’m in like with Dropbox considering Linux is also well supported!
Hello Lee,
Thanks for the tip! It works like a charm!
The first time I heard about Drop box, I was blogging with a friend and he talked about it being a friend to files and so he was willing to be a guarantor. Then I read that same thing from your blog and I might admit that the custom domain is just what it is said to be
I DONT HAVE A WEBSITE…CAN I STILL USE A CUSTOM DOMAIN?? OR CAN I JUST PURCHASE A BALK WEB SITE UTILIZING MY REGISTER. COM DOMAIN NAME
Very clever solution. Thanks for sharing.
Hello
Ive been trying to implement this on a new server and i keep getting an error (worked fine on my former server)
from the error.log: [Mon Jun 13 12:45:51 2011] [error] [client xxx] File does not exist: proxy:http://dl.dropbox.com/u/myuser/test.txt
After googling what might be the causes, Ive asked my hosting (dreamhost) if they have mod_proxy installed, and they do.
Any ideas how to troubleshoot/fix this?
Any help would be much appreciated.
Good advice, I will implement.
This works fine under Apache, but not under my other site using Lightspeed.
I’ll report back if I find a solution! Thanks for the tip though.