cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done here!

Dropbox installs & integrations

Connect your tools and content together with help from the Dropbox Community. Join a discussion or post a question of your own to get started.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Public Folder Custom Domain Redirect

Public Folder Custom Domain Redirect

Mister K.
New member | Level 1

Hi there,

I have setup a subdomain so that when I share files I can use that instead of the Dropbox/Bitly/Goo.gl links to share my files. However, I can't seem to make my default Public folder have a static address for the files.

For example I have created hello_world.txt in my Public folder
My custom domain link (subdomain.domain.com) is used to send to the receiver as http://subdomain.domain.com/hello_world.txt which redirects to the actual Dropbox link and the file and they can download it.

Problem is, in order to do that, each file I put into my Public folder a link needs to be shared. I simply want an "always on" sharing so I don't have to get a shared link each time I want to share a file inside the Public folder.

Basically Drop  a file into my "Public" folder > Send URL to the receiver as (http://subdomain.domain.com/myfileondropbox.extension)

Is this possible to do or is it something Dropbox stopped doing (i've read that Dropbox no longer supports HTTP).

4 Replies 4

Re: Public Folder Custom Domain Redirect

Mister K.
New member | Level 1

PS: I can't find my static UID. If I share that file the link always changes. subdomain.domain.com

https://www.dropbox.com/s/ct2hvinrtso6bt0/hello_world.txt

https://www.dropbox.com/s/THIS ALWAYS CHANGES NEED IT STATIC/hello_world.txt

Re: Public Folder Custom Domain Redirect

Marcus O.
New member | Level 1

Isn't the static address something like this (non-working):

https://dl.dropboxusercontent.com/u/<numbers_tied_to_your_account>/path/yourFileName.txt

 

Scroll all the way down to the second last item in this page:

https://www.dropbox.com/help/16

You should be able to enable Public folders for Pro/Business accounts above.

 

Old accounts already having the public folder should still work.

Make sure your public folder is named "Public" in the root of your Dropbox folder.

 

Re: Public Folder Custom Domain Redirect

Rich
Super User II

The Public folder that you have... did you create it yourself, was it already in your account, or did you use the link that Marcus posted to create it?

If you created it yourself, what you're doing will not work. As of October 2012 the Public folder is a deprecated feature and is no longer included with new accounts. The Share Link feature replaced it, which can be used for any file or folder in your account (i.e. it's not restricted to just the Public folder).

If you didn't already have a Public folder, you would need to create one using the above link, but only Pro and Business accounts will be able to. Basic accounts cannot. Also, Dropbox only supports HTTPS links now. They are phasing out the use of HTTP. Keep that in mind if your redirects stop working, or don't work at all (there was another user that posted about his redirects breaking because he was using HTTP instead of HTTPS).

Re: Public Folder Custom Domain Redirect

Mister K.
New member | Level 1

Hi, thanks for the replies.

I have enabled the Public link as mentioned by Marcos however I still can't find my UID. Any ideas where this ID would be located? Copying the Public link only gives me the following:


https://www.dropbox.com/s/ky1spu8ao42ysif/itemname

UPDATE:
I needed to enable a Wildcard (bottom of this post)

http://db.misterk.me/custom.css

 

 

EDIT:

I have middle clicked the item inside the Public folder and the URL in the address bar had the UID in there.

https://www.dropbox.com/pri/get/Public/fray-hats-pack.zip?_subject_uid=**************&w=AAB*********...

Edit 2:

I have setup the 301 Redirect on my host for http://db.misterk.me/ to redirect to https://dl.dropboxusercontent.com/u/190505128/ however when putting my file name I just get a 404 error.


https://dl.dropboxusercontent.com/u/190505128/Public/filename
https://dl.dropboxusercontent.com/u/190505128/filename

Do I need a HTTPS certificate on my end as well? My domain is loading as https:// even though I don't have a certificate.

PS:

I have the option for a Wildcard, however I suppose that should be unchecked?

  • Checking the Wild Card Redirect Box will redirect all files within a directory to the same filename in the redirected directory.
  • You cannot use a Wild Card Redirect to redirect your main domain to a different directory on your site.
Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Mister K. New member | Level 1
  • User avatar
    Rich Super User II
  • User avatar
    Marcus O. New member | Level 1
What do Dropbox user levels mean?
Need more support?