Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project.username.documentup.com ? #59

Open
arturadib opened this issue Oct 11, 2012 · 13 comments
Open

project.username.documentup.com ? #59

arturadib opened this issue Oct 11, 2012 · 13 comments
Labels

Comments

@arturadib
Copy link

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!

@jeromegn
Copy link
Owner

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
Copy link
Owner

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.

@arturadib
Copy link
Author

oh sweet! thanks @jeromegn

@jeromegn
Copy link
Owner

This is now a thing.

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

@arturadib
Copy link
Author

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!

@jeromegn
Copy link
Owner

Yea, I should have seen that coming.

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

@jeromegn
Copy link
Owner

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.

@arturadib
Copy link
Author

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

image

@jeromegn
Copy link
Owner

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

@arturadib
Copy link
Author

incredible, thank you Jerome!

@jeromegn
Copy link
Owner

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 jeromegn reopened this Jun 19, 2015
@romikoops
Copy link

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

Heroku | No such app

@neuton
Copy link

neuton commented Apr 1, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants