Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Hosting NodeJS projects

General questions about VestaCP
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
beeman
Posts: 2
Joined: Mon Jun 16, 2014 1:05 pm

Hosting NodeJS projects
  • Quote

Post by beeman » Mon Jun 16, 2014 1:09 pm

I love the simplicity and inner workings of VestaCP a lot!

One thing that i'm missing is the hosting of NodeJS projects. I'd love to run a NodeJS project (running on port 3000) through the NGINX reverse proxy used in VestaCP.

What would be the best way to do this? Any ideas? I found the templates but I'm not quite sure what to edit.
Top

sangwich
Posts: 1
Joined: Mon Feb 02, 2015 3:18 am

Re: Hosting NodeJS projects
  • Quote

Post by sangwich » Mon Feb 02, 2015 3:24 am

I hope it's not too late but what I did today is edit the ngnix.conf file pertaining to the existing domain that has been created with vestacp. I just changed port number for both proxy_pass and change the root directory because I created another directory inside the public_html folder. If your nodejs app contains on the default root folder then it's not necessary to change it.

After saving the changes, I restarted my server and ran my app and started working right away.
Top

amohan
Posts: 2
Joined: Sat Jun 27, 2015 3:37 am

Re: Hosting NodeJS projects
  • Quote

Post by amohan » Thu Sep 24, 2015 5:00 am

Hi sangwich,

Possible to help a newbie?

Wanted to know if there a guide that tell you how to install node.js on a vesta panel server? Or perhaps you could give some hints?

Thanks,
amohan
Top

amohan
Posts: 2
Joined: Sat Jun 27, 2015 3:37 am

Re: Hosting NodeJS projects
  • Quote

Post by amohan » Thu Sep 24, 2015 5:09 am

Okay installed the node.js

now what port number needs to be changed in the conf file?

-amohan
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password