How to add a Handler Mapping for Node.js using IIS Manager

You can use the IIS Manager to add a handler mapping for Node.js on your website.  You can use this Knowledge Base article on how to configure your site for remote management.

Once connected, go to the “Handler Mapping” module.  Click on “Add Module Mapping.
Enter the settings as you see them.  This example will only allow the file test.js to run under Node.js.




The example below configure your application to push all *.js files to Node.js.





Be aware that if you setup a handler of: *.js, ALL .js files will be processed by the node.js engine.  
The side effect of that is some of the JavaScript on your pages may not function correctly because they
are no longer being sent to the client’s browser for processing. 

Add Feedback