S
S
sergpenza2012-08-22 15:04:32
Network administration
sergpenza, 2012-08-22 15:04:32

How to quickly raise a stub instead of a lying server?

Cloudgate (ex Scalaxy) has been struggling with unknown crap on its network for a day, as a result of which the site has been sausage like black all day.
There is a DNS with a short TTL, I want to raise somewhere a cheap (ideally free) temporary server with a stub page with an explanation of the situation, so that all domains would be transferred there for the time being.
Can you tell me how it can be done as quickly as possible?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
pr0tect0r, 2012-08-22
@pr0tect0r

The stub must return an HTTP 503 to prevent search engines from indexing it. Any hosting with php is suitable for this:

<?
header('HTTP/1.1 503 Service Temporarily Unavailable');
header('Status: 503 Service Temporarily Unavailable');
echo 'Упс, и такое случается. Наш сайт временно недоступен по причине бла-бла-бла.';
?>

C
Choor, 2012-08-22
@choor

I would recommend setting up an alias on Amazon S3 and putting index.html there with explanations.
carltonbale.com/how-to-alias-a-domain-name-or-sub-domain-to-amazon-s3/

S
Sergey Savostin, 2012-08-22
@savostin

www.cloudflare.com

P
Puma Thailand, 2012-08-22
@opium

I think you just need to move to another hosting.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question