我有一个 node .js服务器监听端口4000,访问服务的URL如下:
http://42.12.251.830:4000
我买了一个域名
www.mydomain.通用域名格式
How can I assign it to my server? First I used forwarding, but then I could not use location.hash anymore to add a chat channel to the URL. Then I used something like Header-Redirect. Now the service is reachable under mydomain.com , but not under www.mydomain.通用域名格式. Moreover the domain name is not shown in the browser window. For my chat channel I need something like this:
www.mydomain.通用域名格式/#238husd4