Answer the question
In order to leave comments, you need to log in
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
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 'Упс, и такое случается. Наш сайт временно недоступен по причине бла-бла-бла.';
?>
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/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question