DEV Community


Discussion on: Hosting a Node.js application on Windows with IIS as reverse proxy

petereysermans profile image
Peter Eysermans Author

I have not tested this out but the express js apps would both run on a different port. For example one app would run on port 3000, the other on port 3001. In IIS you'd have to create two websites with the reverse proxy settings from one website pointing to localhost:3000 and the other pointing to localhost:3001.

jmanuel_velasco profile image

Yes, this is exacly how it works.
You can have both API published from the same main domain as well.

By defining the reverse proxy rules in the same IIS site.