S
S
Sergey2014-12-11 21:47:35
Network administration
Sergey, 2014-12-11 21:47:35

How to turn off (temporarily) a dedicated server with sites without the consequences of indexing by robots?

I want to reinstall the OS, but sites are spinning on the server, how to properly carry out such work so that search robots adequately react to such a situation? Perhaps you need to issue a certain error number, there is access to DNS with TTL 1 minute, you can quickly transfer to another IP server, the main question is what kind of stub to make for this.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene, 2014-12-11
@sadnezz

Of course, you first need to transfer the dns to another server so that the site responds from there
Put it at the beginning of the server section

server {
return 503;
.........
}

503 Service Temporarily Unavailable is a special code for such cases

P
Puma Thailand, 2014-12-12
@opium

Well, pick it up elsewhere and move it, with 503 everything is not so obviously good.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question