Skip to content

Instantly share code, notes, and snippets.

@cronfy
Forked from pitch-gist/gist:2999707
Last active March 14, 2026 20:43
Show Gist options
  • Select an option

  • Save cronfy/80ee624d737b8a94e5f68e4f9b4c7537 to your computer and use it in GitHub Desktop.

Select an option

Save cronfy/80ee624d737b8a94e5f68e4f9b4c7537 to your computer and use it in GitHub Desktop.
HTML: Техническое обслуживание сайта (503) (Simple Maintenance Page)
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Техническое обслуживание</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
</head>
<body>
<article>
<h1>Сайт скоро откроется!</h1>
<div>
<p>
В настоящий момент на сайте проводятся работы по обслуживанию.
Пожалуйста, зайдите через некоторое время. Приносим извинения за неудобства.
</p>
<p>&mdash; Ваш <span id="site-name">сайт</span></p>
</div>
</article>
<script type="text/javascript">
var host = window.location.hostname;
var site = document.getElementById('site-name');
site.innerHTML = host;
</script>
</body>
</html>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Сайт не существует</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
</head>
<body>
<article>
<h1>Сайт не существует</h1>
<div>
<p>Сайт, на который вы зашли, ссылается на IP-адрес этого сервера, но на сервере нет сайта с таким именем.</p>
</div>
</article>
</body>
</html>
@cronfy
Copy link
Copy Markdown
Author

cronfy commented Feb 10, 2017

Также смотри .htaccess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment