Answer the question
In order to leave comments, you need to log in
How to make a redirect to another hosting if the first one is not available?
Good day!
There was such a question, for example, there is hosting1, where our site is configured, and hosting2. Initially, our domain leads to hosting1. Is it possible to make it so that if hosting1 returns "500 Internal Server Error ", then it will redirect to hosting2 so that the site will work from it?
It seems like you can configure fault tolerance for your servers using the so-called DNS Failover, but what if only virtual hostings are available? Well, or one virtual hosting and VDS?
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Run a webserver with balancing as a proxy only ( nginx upstream weight ), then after it raise virtuals.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question