How to configure domain on multiple IP addresses?

0 like 0 dislike
Faced with the blocking of our servers on DigitalOcean.
Was the site by type nodejs application in conjunction with nginx.

Now the server address is blocked in Russia, so the domain does not give the website on the territory of Russia.
Is there any way to make users not from Russia continued to work with the locked server (so ping was good), but users from Russia through the same domain appeared on the Russian working-VPS IP.

The website may not work in cluster mode, so that might suit some tricky balancer or keepalived.
Use CloudFlare for DNS management.
by | 8 views

3 Answers

0 like 0 dislike
GeoDNS patch for Bind install and distribute GEO.
0 like 0 dislike
Google geo-dns services - they allow you to give different ip addresses to the clients from different countries. Just delegate the domain to this service, specify in the settings of the country and need the ip, and everything works.

If you are ready to raise their dns server, the first message is the answer.
0 like 0 dislike
You still block the website in Russia which is DigitalOcean?
110,608 questions
257,186 answers
33,570 users