DocumentUp
DocumentUp copied to clipboard
project.username.documentup.com ?
Hi, any chance you could use subdomains instead of paths for resolving a project? I.e.
project.username.documentup.com
instead of
documentup.com/username/project
This would allow us to use CNAMEs to mask a project's doc URL (e.g. www.shelljs.org could be CNAMEd to shelljs.arturadib.documentup.com).
Thanks for the superb service!
Hey @arturadib, I love your project. :)
I'm looking into actually supporting CNAMEs. I have lots of projects going on right now so it's difficult, but it could be done.
You know what. I'm working on this :)
I'm waiting for the DNS to propagate to be able to definitely say if it'll work though.
oh sweet! thanks @jeromegn
This is now a thing.
http://shelljs.arturadib.documentup.com/
hmm I guess that doesn't work for what I intended to do (i.e. CNAME www.shelljs.org to it), probably because Heroku doesn't recognize the URL:

bummer!
Yea, I should have seen that coming.
I'll have to check my options. Maybe going back to self-hosting...
I've added your domain on heroku if you'd like to try it out :) That's the simplest fix I have found to make that happen.
oh lol now www.shelljs.org redirects to www.shelljs.org/jeromegn/documentup :)

Indeed. I definitely know what's up and will try to fix that this evening :)
incredible, thank you Jerome!
This might take more time to figure it out.
Probably best to change your DNS back to what it used to be for now.
Same for my project http://docs.howitzer-framework.io/
Heroku | No such app
Regardless of the CNAME record value, the hostname is eventually resolved into an IP address to connect to, and the request itself knows nothing about this intermediate CNAME value. So supporting this kind of individual subdomains generation just makes no sense to me, unless of course documentup.com starts supporting individual IP addresses for every single repository documentation, which is absurd.