6

I have a Windows 2012 server and hello world node js file (Only one js file along with Node_module folder).

Now I need to deploy it to the windows server and need to run it globally.

How to do that? Please help me!

I have read more article. But confused. I installed Node app on the server. I ran it locally. It is working. But How to do it globally. (www.xxxx.com/ABC)

Zoe
  • 27,060
  • 21
  • 118
  • 148
sankaran
  • 143
  • 1
  • 3
  • 11
  • Hi @sankaran! Do you mean you would like to access the app on the internet or an internal network? If you're serving the Node.js application over HTTP using something like Express, you can navigate to the application using another computer on the same network with **http://:** (if your ports are open). However, you may want to look into hosting your app with IIS and getting a domain name. There are a lot of variables and context is key here. I think we need some more information about what you're doing/trying to achieve in order to help you further. – kostak Sep 15 '17 at 01:28

1 Answers1

3

You have two options:

iisnode

Some resources:

DavidC
  • 654
  • 1
  • 14
  • 20
Aaron C
  • 884
  • 10
  • 25
  • Hello there. May I ask, is issnode still a valid option? Because most tutorials about it are from 2011-2013. Furthermore, my node is version 8. Also, what if I install node with issnode and then want to deploy angular on that node? Thanks – codebot Jan 30 '19 at 23:07
  • I last tried `iisnode` with node v6.x, and it worked. iisnode is just the means by which one can host node applications on iis. – Aaron C Feb 04 '19 at 14:38