1

I have a static html page that I would like to host in Dropbox's public folder and make accessible by a domain of mine, e.g example.org.

The html page has the following url structure https://dl.dropboxusercontent.com/u/user_nubmer/folder_name/index.html

Is it possible to point a custom domain to a url (such as above) and:
A) have the domain persist in the address bar
B) make the content indexable by search engines

  • 1
    It would only be possible if DropBox added a feature to use custom domains which I believe they don't, through you can use their Api but you would still need a domain + own hosting to use, you can redirect but the address bar will change, there's no real way around that other than using a iframe but again, you need your own hosting, other solutions include: maketecheasier.com/4-ways-to-host-your-website-on-dropbox – Simon Hayter Oct 21 '14 at 10:32
  • Did you wish/intend to do this using your own web hosting, or were you hoping to do this without any web hosting required beyond what Dropbox provide? – richhallstoke Oct 21 '14 at 11:37
  • The latter. As I only have a single html page it feels like such an overhead to sign up for standard web hosting. – Numbers Oct 21 '14 at 11:39
1

Frames!

You can search for a free host (such as 000webhost, HostYD or Hostinger) and create a page with the following content:

<iframe src="https://dl.dropboxusercontent.com/u/user_nubmer/folder_name/index.html" style="position:fixed; top:0px; left:0px; bottom:0px; right:0px; width:100%; height:100%; border:none; margin:0; padding:0; overflow:hidden; z-index:999999;">
  Your browser doesn't support IFrames
</iframe>`

As you can see, it loads the content from https://dl.dropboxusercontent.com/u/user_nubmer/folder_name/index.html.

Point your domain to the free web host and it'll load the Dropbox file from a frame.

You said you don't want to use hosting, but well... I couldn't think of another way, so you'll be better off by doing this ^

  • 1
    If I sign upp an account at a web host, I don't see the point why not have the html file there as well. And besides, I'm not sure Google would index iframed content. – Numbers Oct 21 '14 at 12:09
  • @Numbers >> I don't see the point why not have the html file there as well. - Exactly, I don't either... >> And besides, I'm not sure Google would index iframed content. - It does, why not? – William Edwards Oct 21 '14 at 12:10
  • A fast Google search educated me that Google wouldn't, but if your experience is the opposite, then well good! – Numbers Oct 21 '14 at 12:12
  • 1
    Google would index the iframe content but under the domain from which it is obtained (dl.dropboxusercontent.com) not under example.org. To see example listings, enter "site:dl.dropboxusercontent.com" into the Google search box. – richhallstoke Oct 21 '14 at 12:14
  • @Numbers Weird... my sites with frames were always indexed :) – William Edwards Oct 21 '14 at 12:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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