How to run the nodejs and expressjs application in iis server

Arutprakasam 261 Reputation points
2023-11-26T09:59:29.9133333+00:00

Hi everyone, I have written the api in express js there am using .env files. My requirement is to deploy this application in iis server with cors. Please drop your answers to complete this activity.. Please help me...

Windows development | Internet Information Services
{count} votes

Accepted answer
  1. Lex Li (Microsoft) 6,037 Reputation points Microsoft Employee
    2023-11-26T20:46:42.98+00:00

    Node.js web apps can be hosted on IIS via HttpPlatformHandler, and you can find step by step guidance from posts like

    https://halfblood.pro/running-nodejs-web-apps-on-iis-with-httpplatformhandler/

    BTW, probably you read or will be suggested to use iisnode, but that component hasn't been maintained for at least 3 years.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.