Skip to content

Instantly share code, notes, and snippets.

@deshion
Created June 5, 2015 03:42
Show Gist options
  • Save deshion/309f3603d7a465edab26 to your computer and use it in GitHub Desktop.
Save deshion/309f3603d7a465edab26 to your computer and use it in GitHub Desktop.
Basic maintenance page for IIS
<!doctype html>
<html>
<head>
<title>Down for maintenance</title>
<style type="text/css">
body { background:#e8e8e8; font-family:arial;}
h1, p { text-align:center; }
p { font-size: 20px; }
img { margin:auto; display:block;}
.content { background:#ffffff; border:1px solid #ccc; border-radius:4px; box-shadow:0 1px 0 rgba(0,0,0,0.2);margin:60px auto 0; padding:20px;width:640px; }
</style>
</head>
<body>
<div class="content">
<h1>Down for maintenance</h1>
<p>We're just doing some maintenance and should be back up shortly.</p>
</div>
<!-- This comment is just to take the page size above 512 bytes, as IIS doesn't pick the file up properly otherwise. -->
<!-- This comment is just to take the page size above 512 bytes, as IIS doesn't pick the file up properly otherwise. -->
<!-- This comment is just to take the page size above 512 bytes, as IIS doesn't pick the file up properly otherwise. -->
<!-- This comment is just to take the page size above 512 bytes, as IIS doesn't pick the file up properly otherwise. -->
<!-- This comment is just to take the page size above 512 bytes, as IIS doesn't pick the file up properly otherwise. -->
<!-- This comment is just to take the page size above 512 bytes, as IIS doesn't pick the file up properly otherwise. -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment