23

I begun with nodejs and express framework.

In localhost its ok i can run my app, but i would like to know how can i use it in my website that host in godaddy server.

I use to execute just php but nodejs i don't know how can i do that.

In local, I write in command line:

node app.js

or

npm start 

with package.json, but in Godaddy I can't use commandline to start the app.

admdrew
  • 3,790
  • 4
  • 27
  • 39
shmoolki
  • 1,551
  • 8
  • 34
  • 57
  • 1
    It seems that you are using shared hosting. Please see this answer for an explanation as to why this can't be done http://stackoverflow.com/questions/17529613/why-node-js-cant-run-on-shared-hosting –  Dec 02 '14 at 16:31
  • 4
    This question would be better suited for webmasters or serverfault, depending on whether it is in a professional context or not. – ssube Dec 02 '14 at 16:31
  • I got node working with godaddy shared hosting cpanel by using ssh. I downloaded the binaries from ssh and extracted it and I was able to test the version and use npm start. – zachdyer Jun 05 '15 at 18:00
  • Should we re-open this? Accepted answer and overall answers are trapped in the past and not true anymore. – Frederik.L Mar 17 '17 at 01:11
  • You can add a new answer. Thanks @Frederik.L – shmoolki Mar 18 '17 at 19:27

2 Answers2

20

Our shared hosting does not have node support. Right now your best bet is to get a virtual dedicated server but in the near future we'll have some additional options that will be priced closer to the Shared price point but with Node support. Hope this helps!

HaveNoDisplayName
  • 8,291
  • 106
  • 37
  • 47
Colby-GoDaddy
  • 199
  • 2
  • 5
14

GoDaddy doesn't support Node as far as I know, the server has to have Node installed for your command to run. Consider Heroku or NodeJitsu if you want Node hosting. Plus, they're free at a first tier and a much better product in my experience than GoDaddy.

Paul
  • 35,689
  • 11
  • 93
  • 122
  • 5
    Godaddy bought NodeJitsu in Feb 15. –  Mar 31 '15 at 21:21
  • try amazon mate it has a great support of nodejs. – codebased May 12 '15 at 01:38
  • yeah no longer accurate. – Nash Worth Dec 07 '16 at 18:19
  • Too bad this question is closed. ANSWER - GoDaddy now has great support for hosting NodeJS - look for the 'Cloud Server'. Here is a link to details: https://www.godaddy.com/pro/cloud-servers and https://www.godaddy.com/pro/one-click-installation/node-js . The reason I love it is the cheapest hosting option. – Nash Worth Dec 07 '16 at 18:22
  • How can you say it's the cheapest option when there are free tier plans available elsewhere that are not capped at 30days? – Paul Apr 17 '17 at 16:03