-
Notifications
You must be signed in to change notification settings - Fork 590
Custom domain for the project #216
Comments
👍 It would also make it more authoritative. |
I've been thinking this, too. Hosting this at a .gov TLD would lend some weight to it. |
👍 Would just need to CNAME the domain to point to pages, and then add a |
And for anyone watching who's not familiar, it can be a new subdomain of an existing .gov TLD just as easily as a new domain. |
I'd suggest that instead of this being on a new domain or new subdomain it should ultimately be on an existing domain using a basic proxy pass through. This would allow a URL like whitehouse.gov/opendata to proxy to this github pages content without creating yet another .gov or .gov subdomain. It's not like the whitehouse.gov domain name hasn't already been used to host basic content like this that's not part of the main whitehouse.gov CMS. This could be done with something like ProxyPass on Apache, proxy_pass on nginx, or perhaps something a little more sophisticated. It's also something that can be done by most systems that provide caching, eg Varnish, Squid, Akamai, Amazon CloudFront, etc. With something like CloudFront you can create all the configuration necessary to do something like this in about fifteen minutes from within a web browser and you don't need to write a line of code. That said, if you're moving to something like this it might still make sense to stand up a subdomain and do the proxy off of that. This would also you to take advantage of the automatic redirects from the old github URL - though I guess you'd have to use client side redirection to get to the proper URL. This is all to stay that standing up a subdomain makes sense, but I think it would still be more of an interim solution than the ideal one. With Apache, it's generally pretty simple to proxy like this:
|
👍 |
This is now set up - https://project-open-data.cio.gov |
🇺🇸 |
Awesome! But I do think this ticket is not really resolved until:
I'll do a PR for the second and third ones, but an owner of the repo needs to do the first one. |
Great points - thanks a bunch, @konklone. |
It's cool that the URL prominently advertises the government is using Github, but it also makes the permanence of the URL dependent on the project's continued use of Github (and Github's continued existence).
What about a custom domain? Github Pages makes this pretty easy.
The text was updated successfully, but these errors were encountered: