V
V
Vmedmen2016-06-07 21:28:46
Nginx
Vmedmen, 2016-06-07 21:28:46

How to forward a domain to a specific OpenVZ container?

Good day to all.
There is a server, on it CentOS 6, also put ISP VMManager + several domains. It is planned that domains lead to different containers.
I can't figure out how to set it up. iptables, nginx?
Also, the second question arises, how to assign a separate IP to a separate container on the same node.
I was looking for an answer for a long time, I signed up for a system administrator course, but they are only in a week, and the problem needs to be solved now.
Thanks in advance for any response.
Sincerely

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2016-06-07
@opium

nginx
network details are specified in the container settings

S
Sanes, 2016-06-08
@Sanes

Nginx and internal network host IP.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question