Skip to content

Instantly share code, notes, and snippets.

@zefanjajobse
zefanjajobse / IISnode_dev_server.md
Last active April 30, 2025 15:29
Use IISnode for webpack, nextjs or vite dev server

IIS is a way to setup web servers on windows. mostly used when you want to run asp.net with a a domain name instead of a random port. IISNode can be used to run node.js within IIS, so the frontend can have a domain name as well while testing. which can also be frameworks like webpack, vite and next-js. with on-filechange re-rendering. For other languages, like go and python, the httpplatformhandler is recommended. Which can be downloaded here.

For iisnode to work you need to enable the Application Development Features within IIS: Pasted image 20250407204729

The IIS-site can automatically be created or updated via PowerShell,