title: How to map domain name to Websocket server (ws) nodejs?
body: <p>I have been working on websocket implement, i just want to host it to public domain. I have domain "www.abc.com" and port 80 but could not find a way to map them.</p>
  
  <p>I am using 'ws' package from nodejs</p>
  
  <p>My sample implementation is like</p>
  
  <pre><code>//require our websocket library 
  var WebSocketServer = require('ws').Server;
  
  //creating a websocket server at port 55454 
  var wss = new WebSocketServer({port: 55454}); //How do i map 'www.abc.com' 
  
  //all connected to the server users 
  var users = {};
  
  //when a user connects to our sever 
  wss.on('connection', function(connection) { .... });
  </code></pre>