DocumentUp icon indicating copy to clipboard operation
DocumentUp copied to clipboard

project.username.documentup.com ?

Open arturadib opened this issue 13 years ago • 13 comments

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!

arturadib avatar Oct 11 '12 14:10 arturadib

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.

jeromegn avatar Oct 12 '12 15:10 jeromegn

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.

jeromegn avatar Jun 17 '15 03:06 jeromegn

oh sweet! thanks @jeromegn

arturadib avatar Jun 17 '15 10:06 arturadib

This is now a thing.

http://shelljs.arturadib.documentup.com/

jeromegn avatar Jun 17 '15 11:06 jeromegn

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:

image

bummer!

arturadib avatar Jun 17 '15 12:06 arturadib

Yea, I should have seen that coming.

I'll have to check my options. Maybe going back to self-hosting...

jeromegn avatar Jun 17 '15 12:06 jeromegn

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.

jeromegn avatar Jun 17 '15 12:06 jeromegn

oh lol now www.shelljs.org redirects to www.shelljs.org/jeromegn/documentup :)

image

arturadib avatar Jun 18 '15 18:06 arturadib

Indeed. I definitely know what's up and will try to fix that this evening :)

jeromegn avatar Jun 18 '15 18:06 jeromegn

incredible, thank you Jerome!

arturadib avatar Jun 18 '15 18:06 arturadib

This might take more time to figure it out.

Probably best to change your DNS back to what it used to be for now.

jeromegn avatar Jun 19 '15 13:06 jeromegn

Same for my project http://docs.howitzer-framework.io/

Heroku | No such app

romikoops avatar Sep 25 '16 20:09 romikoops

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.

neuton avatar Apr 01 '21 03:04 neuton