Getting Started
suggest changeIISNode allows Node.js Web Apps to be hosted on IIS 7/8 just like a .NET application would. Of course, you can self host your node.exe
process on Windows but why do that when you can just run your app in IIS.
IISNode will handle scaling over multiple cores, process manageement of node.exe
, and auto-recycle your IIS Application whenever your app is updated, just to name a few of its benefits.
Requirements
IISNode does have a few requirements before you can host your Node.js app in IIS.
- Node.js must be installed on the IIS host, 32-bit or 64-bit, either are supported.
- IISNode installed x86 or x64, this should match the bitness of your IIS Host.
- The Microsoft URL-Rewrite Module for IIS installed on your IIS host.
- This is key, otherwise requests to your Node.js app won’t function as expected.
- A
Web.config
in the root folder of your Node.js app. - IISNode configuration via an
iisnode.yml
file or an<iisnode>
element within yourWeb.config
.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents