M
M
Michael2017-03-05 13:19:09
Nginx
Michael, 2017-03-05 13:19:09

How to link node.js, nginx and vps?

Hello. Faced a problem. Previously, I always coded on a local machine, but now I decided to upload projects to VPS and faced a total misunderstanding of things. I have a vps and a domain (site.ru, for example).
How to work with vps, I already understood. But I don’t understand how I can make it so that when it hits site.ru, the static is returned through nginx, requests are processed through the node. Moreover, I don’t understand how to link my domain to vps.
I'm sorry if I put it wrong somewhere. Totally noob on this thread.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2017-03-05
@sim3x

https://www.digitalocean.com/community/tutorials/h...
linking a domain to a vps: most often, in the registrar panel, we change NS to nm vps of the hoster and in the hoster panel we bind it to our vps

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question