D
D
Dima2016-04-11 16:42:23
Domain Name System
Dima, 2016-04-11 16:42:23

How to change DNS in case of hosting problems?

The situation is very simple - sometimes the server stops responding (for various reasons) and you need to redirect requests to a copy (static) of the site on another server. That is, the second server should be used only during the breakdown of the first, and not all the time.
Is it possible to implement this by simple means without your own dns-server and / or paid solutions?

upd. question about automation, manually you can do anything without problems :)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Mikhail Lyalin, 2016-04-11
@Di9

1/ normal hosting
2/ https://habrahabr.ru/post/260277/ ?

S
Sanes, 2016-04-11
@Sanes

Change A record on dns server?

P
Puma Thailand, 2016-04-11
@opium

¹) Set a short ttl for records in dns, if the server is broken, change ip in dns, api to dns is now a lot of people.
2) the second option is almost the same, but install the clodflare and change the backend ip in it via api.
Well, you do all this apparently with a script

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question