Skip to content

Make chat.js.org link to https://chat.stackoverflow.com/rooms/17/javascript #1898

Closed

Description

@7fe

So the title says it all.

If it is okay I would like to make at least temporarily the chat.js.org subdomain link to https://chat.stackoverflow.com/rooms/17/javascript

The room is likely the most actively used chat at least currently in the world.

Activity

  1. indus commented on Apr 10, 2018

    @indus
    Member

    I'm not sure this is possible. I'm not providing redirects but "only" CNAME based DNS records (FYI: http://totaluptime.com/kb/whats-the-difference-between-a-cname-and-a-web-redirect/). The target has to support this as well to make it work and I haven't found any hint that stackoverflow does support CNAMEs

  2. 7fe commented on Apr 10, 2018

    @7fe
    ContributorAuthor
  3. indus commented on Apr 10, 2018

    @indus
    Member

    and to what page do you want to redirect? As I said the server/host/service has to support CNAMEs to make this work.

  4. indus commented on Apr 10, 2018

    @indus
    Member

    A CNAME record in JS.ORGs zonefile can redirect any requests for "chat.js.org" to "chat.stackoverflow.com" but the server of chat.stackoverflow.com also has to accept that a incoming request that with an "foreign" domain. Also it has to know that it should deliver specific content that normally belongs to one of its paths (/rooms/17/javascript). Thats what [GitHub pages}(https://help.github.com/articles/using-a-custom-domain-with-github-pages/), Netlify, Surge.sh and others do. But I don't think that stackoverflow can handle CNAME based requests. Maybe I'm wrong - but then you have to provide me a link with some informations how to configure a custom domain in stackoverflow.

  5. 7fe commented on Apr 10, 2018

    @7fe
    ContributorAuthor

    Simple create CNAME index.html page on GitHub with the following

    <!doctype HTML><meta http-equiv="refresh" content="0; url=https://chat.stackoverflow.com/rooms/17/javascript" />
    

    I'll create a page later and create a pull request .

  6. 7fe commented on Apr 10, 2018

    @7fe
    ContributorAuthor

    @indus the issue right now is that chat(s) is/are reserved domains. I have made a pull request requesting the use of this domain for the SO chat room.

  7. MadaraUchiha commented on Apr 11, 2018

    @MadaraUchiha

    @limeblack We have a server ready to accept the CNAME and requests from the correct host, the redirecting is on us from our end :)

  8. indus commented on Apr 11, 2018

    @indus
    Member

    when you say redirect - does that mean that that the URL "chat.js.org" will stay in the users adressbar or does your server make a redirect that forces the user to a new URL. I'm not supporting the latter, as I said (there is just no benefit for JS.ORG if it is just an alias or secondary entry point) - otherwise I am really willing to give it a try. Then I would need the adress of the server. Or is the server you are talking about directly hosting "chat.stackoverflow.com"?

  9. 7fe commented on Apr 11, 2018

    @7fe
    ContributorAuthor

    If you are not supporting a redirect then I will close the issue. Frankly the domain likely will not be used for any specific project because it a general ‘chat‘ link doesn't make sense so I figured a general redirect would be acceptable. Would you support a redirect for chatso.js.org?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions