V
V
Vitalik Surkov2014-12-08 14:31:55
Computer networks
Vitalik Surkov, 2014-12-08 14:31:55

Site not multiple servers?

How to organize the operation of the site on several servers example: a
person (Krasnodar) goes to the site domain.ru -> the geolocation of a person is determined and he gets to the centos server with site files and a database (to the Krasnodar server) a
person (Moscow) goes to the site domain. ru -> the geolocation of a person is determined and he gets to the centos server with the site files and database (to the Moscow server)
, etc. I have 6 servers in different regions.
how can this be implemented, on all servers static ip

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2014-12-08
Protko @Fesor

In addition to the answers above, it is more convenient to implement this type of routing at the DNS level. Then just for each request the nearest server will be palmed off and everything will be transparent to the user.

A
Armenian Radio, 2014-12-08
@gbg

Do geolocation then send 301 HTTP status

V
Vitalik Surkov, 2014-12-08
@Surkov

I used these but to combine different sites into one, and I have one site here but different servers with different ip

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question