title: Nodejs on single page
body: <p>I'm new on Nodejs.
  I have to do a web app with node js, express, socket.io on an existing website.
  I use JXcore on Parallels Plesk panel to execute node.
  But when I run js file and I visit any page on the website it returns "Cannot GET ".
  If I use express get() function:</p>
  
  <pre><code>var app = require('express')();
  var http = require('http').Server(app);
  var path = require('path');
  
  app.get('/path/to/index.html', function(req, res){
    res.sendfile( path.resolve(__dirname + '/index.html') );
  });
  
  http.listen(10500, function(){
    console.log('listening on *:10500');
  });
  </code></pre>
  
  <p>it works on /path/to/index.html but every other website page is blocked by the same error "Cannot GET ".
  Is there a way to run node only on one page?
  Thanks</p>