You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make chat.js.org link to https://chat.stackoverflow.com/rooms/17/javascript #1898
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.
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"?
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?
Activity
indus commentedon Apr 10, 2018
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
7fe commentedon Apr 10, 2018
I can do a HTML header redirect on my end.
https://stackoverflow.com/questions/5411538/redirect-from-an-html-page
indus commentedon Apr 10, 2018
and to what page do you want to redirect? As I said the server/host/service has to support CNAMEs to make this work.
indus commentedon Apr 10, 2018
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.7fe commentedon Apr 10, 2018
Simple create CNAME
index.htmlpage on GitHub with the followingI'll create a page later and create a pull request .
7fe commentedon Apr 10, 2018
@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.
MadaraUchiha commentedon Apr 11, 2018
@limeblack We have a server ready to accept the CNAME and requests from the correct
host, the redirecting is on us from our end :)indus commentedon Apr 11, 2018
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"?
7fe commentedon Apr 11, 2018
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?