Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install nodejs application in Godaddy server [closed]

Tags:

node.js

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.

like image 748
shmoolki Avatar asked Dec 02 '14 16:12

shmoolki


People also ask

How do I deploy an app on GoDaddy?

Step 1: Login to your GoDaddy account, click on Hosting, and select Manage Account to go to the control panel. Step 2: Click “Content” and select “FTP Client”. Step 3: Upload your web application folder by selecting the application folder on your Local System and clicking “>>” to upload to the root folder.

How do I permanently run node js server?

js application locally after closing the terminal or Application, to run the nodeJS application permanently. We use NPM modules such as forever or PM2 to ensure that a given script runs continuously. NPM is a Default Package manager for Node.


2 Answers

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!

like image 200
Colby-GoDaddy Avatar answered Nov 02 '22 06:11

Colby-GoDaddy


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.

like image 28
Paul Avatar answered Nov 02 '22 08:11

Paul