
#SET UP APPJS ON WINDOWS HOW TO#
Step 3: Create a website on IIS for our Node.js applicationįollow the instruction on my article IIS: How to setup a web site to create a new website on IIS: this is where you will tell IIS which folder to use as a website and you'll configure the bindings, to ensure your domain name maps to the website.įind your site's application pool and ensure it's not set to run. If the app has no errors you will see the home page. Now you can open your browser and navigate to: (my Express app is set to run on port 5057)

My app is a Node.js program based on Express and running on port 5057, so I will Open a command prompt and type: node C:\websites\myNodeSite\bin\www You should now be able to test your application. This is also a simple step: copy your Node.js application files to a folder on your Windows server (e.g. Step 2: Deploy and test the Node.js application If Node.js installed correctly, you will see the Node.js version installed:

Once the setup process is done, verify that Node.js is available: run a command prompt (Windows Key + R, type 'cmd' and press Enter), when the command window appears type: node.js -v msi 64-bit) and install it on your server. Ok this one is the simplest step of the process: go to, download Node.js for Windows (e.g. Step 1: Install Node.js on Windows Server Create a Windows Service to run our Node.js application automatically.Create a website on IIS for our Node.js application.Deploy and test the Node.js application.We will perform the following actions (the order matters): Running a Node.js application on Windows Server is not hard, but there's no real documentation on the internet so I've written this article to explain how I do itīy setting us a windows service that runs my Node.js app and exposing the app to IIS via a reverse proxy.

