Then under "Binary Downloads" select the win x64 zip.
After downloading the zip, extract node.exe.
Then upload the extracted node.exe to an /App_Data directory on the site.
iisnode.yml
Create a new text file and name it "iisnode.yml". In that file add the following line:
nodeProcessCommandLine: "server path to file"
For the example above where node.exe was placed into /App_Data the syntax would be:
nodeProcessCommandLine: "E:\web\FTPusername\app_data\node.exe"
To test the update, create a separate .js file and add the following syntax to display the version of node.js the site is using:
var http = require('http');
http.createServer(function(req,res) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.end('Node.js ' + process.version);
}).listen(process.env.PORT);
To test the update, create a separate .js file and add the following syntax to display the version of node.js the site is using:
Or download node.zip for a sample iisnode.yml and test script. Edit iisnode.yml and replace "FTPusername" with the FTP username for the site, then upload iisnode.yml (and the test script) to the document root.
And view the ztest.js in a browser to show the version.