Create a domain and upload a Node.js APP

September 17, 2014 1.5k views

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.

1 comment
1 Answer

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!

Have another answer? Share your knowledge.