Answer the question
In order to leave comments, you need to log in
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
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.
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 questionAsk a Question
731 491 924 answers to any question