Skip to content
Hosting node.js applications in IIS on Windows
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Hosting node.js applications in IIS on Windows

Prerequisites for using

  • Windows
  • IIS 7.x with IIS Management Tools
  • URL rewrite module for IIS
  • Latest node.exe Windows build
    • You can also do it manually by downloading node.exe from and saving to %programfiles%\nodejs on a 32 bit system or %programfiles(x86)%\nodejs on a 64 bit system
  • Visual C++ 2010 Redistributable Package for x86 or x64 (skip this if you install Visual Studio)

Installing for IIS 7.x

  • Install iisnode for IIS 7.x - choose bitness matching your system
  • To set up samples, from the administrative command prompt call %programfiles%\iisnode\setupsamples.bat
  • Go to http://localhost/node

Installing for IIS Express/WebMatrix


the basics
using with express framework
using with URL rewrite module
using with WebMatrix and IIS Express
site templates for WebMatrix
using with mongodb

Prerequisites for building


  • For 32 bit Windows: msbuild /p:Platform=Win32 src\iisnode\iisnode.sln
  • For 64 bit Windows: msbuild /p:Platform=x64 src\iisnode\iisnode.sln

Installing after build

  • For IIS 7.x: build\debug\%PROCESSOR_ARCHITECTURE%\iisnode.msi
  • For IIS Express 7.x: build\debug\x86\iisnode-express.msi

Running tests

  • Install for IIS 7.x (see previous sections)
  • test\functional\test.bat

Resources & documentation

Something went wrong with that request. Please try again.