Create a domain and upload a Node.js APP

  • Posted September 17, 2014

Hi, I’ve a bad english sorry about that. And I’m completely a noob in VPS management.

I’ve a website with a chat in node.js, but I can’t host node js on the same server where my website is.

So I decided to take a small vps for host my app. It’s just a server.js for the chat.

I taked the droplet : “node-v0.10.30 on Ubuntu 14.04”. I add a domain name .

And now I’m lost.

I want to upload the app, but when I’m trying to access to I had a blank page. I suppose i need to create a folder somewhere. But where ?

Thanks for your replies.


**RESOLVER ** : I change droplet to LAMP ubuntu and my app run :) .

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Sounds like you might have your problem resolved, but I just wanted to check in and make sure. The Node.js One-Click application simply provides node pre-installed. There is no webserver listening on port 80 by default. The LAMP application has the Apache webserver installed and listening on port 80.

Generally if you are running a node app, you can specify the port that you want it to run on in the index.js file. If you specify port 80, it will be available in your browser at your domain. If you specify a different port, you will need to explicitly add the port to your domain like Another option is to use a reverse proxy in front of the app.

If you run into any problems, feel free ask!