I often build small static sites, anywhere between 3 and 30 files, that I routinely host and demo for clients. Sometimes I'd like to link to these projects in an SE post to demonstrate some odd behavior, but I often find I'm sometimes conflicted about how to host the demo itself, so that it can be available for the SE community but not a direct link to the actual live/in-development example.
I read in this post that Dropbox is not the best choice for hosting files in a post (I assume the original post in question was linking to a static file of code, but it's since been edited and has no link). However, I'm curious as to whether or not Dropbox is an okay choice for hosting a live demo, using the Copy Public Link feature in the /public folder?
Usually I go through the trouble of creating a Fiddle, but sometimes the demo is too cumbersome to try and contain in a Fiddle, or the behavior changes due to simplification. Sometimes I want to link to a live demo I'm already hosting, but I'd rather not have my test domain be public (e.g. there may be innocuous but client-specific information somewhere), and the link itself will die eventually when I clean up the server anyway, making it useless to future visitors.
Hosting a site via Dropbox wouldn't solve the eventual expiration of the demo link, but it would be more convenient than a Fiddle, and slightly more private than using my test domains.
- Are there logistical problems with using Dropbox like this?
- Are there security concerns with using my private Dropbox account to host a link in a public post?
- Is there a simpler/more accepted way to host a directory of static files that I don't know about?