S
S
Serufim2016-06-17 18:21:50
linux
Serufim, 2016-06-17 18:21:50

How to assign 2 vds one domain?

I have two vds web servers with different ip, I need them to work together under the same domain name, how can I do this????

Answer the question

In order to leave comments, you need to log in

3 answer(s)
L
l0ser140, 2016-06-17
@l0ser140

Round robin DNS?
However, you most likely have 2 different applications on these VDS? Well, write down your subdomain for each of them.

N
nikolayvaganov, 2016-06-17
@nikolayvaganov

nginx + upstream

V
Vasily Pechersky, 2016-06-17
@Vasily_Pechersky

I will concretize the answer nikolayvaganov
nginx run in reverse proxy mode. You can put a third machine as a reverse proxy, especially if the VDS has one hoster = save ip.
If different people need HA, you can use Round robin DNS or use Amazon route 53.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question