Good day, #HashCode

Suppose I have:
1. there is a site with the domain name domain.ru on a separate server A
2. there is a site with the domain name site.com on a separate server B

One site is an exact copy of the second, the domain registrar and hoster for both sites are the same. Is it possible to ensure that when site.ru is unavailable (for example, because of DDOS), the user, when trying to open site.ru, is redirected to site.com ?

Thanks for attention

    1 answer 1

    The easiest way for both domains is to push the same IPs into the round robin dns (although I have never worked with it). A machine that has fallen tightly still doesn’t say anything to the user, even if you somehow set up a server to handle errors from upstream.