2 Ways to Use a Custom Domain with Dropbox – fredericiana

July 25, 2017

http://fredericiana.com/2012/12/09/custom-domain-with-dropbox/

QT:{{"

Option 2: CNAME

There’s another option that doesn’t require any changes to your server. However, you’ll need access to your provider’s DNS settings.

If you do have such access, you can create a DNS CNAME record. A CNAME record is essentially a domain alias, forwarding one domain name to another.

It’s pretty simple:

  1. Access your provider’s DNS settings menu. Providers should have a help file about how to do this, like this one from Hover.
  2. Add a new DNS record, type: CNAME.
  3. Choose a domain name (such as i.example.com) and point it to dl.dropbox.com.

Once the changes have been picked up by the DNS system, you’re done! Your screenshots will be available under a URL like: http://i.example.com/u/XYZ/Screenshots/abcd.png.

While certainly elegant, one (big) caveat of this solution is that the resulting URLs still contain the portion /u/XYZ/Screenshots. Because the CNAME record works purely on a domain level, there is no way for us to hide this portion of the URLs with this method.

"}}

Advertisements