# \[Support Guide\] What’s the easiest way to create a temporary “maintenance page” for my site?

**URL:** <https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338>\
**Category:** Support Guides\
**Tags:** support-guide\
**Created:** [April 9, 2019, 8:49pm UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338 "2019-04-09T20:49:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![fool](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/fool/32/37_2.png) [@fool](https://answers.netlify.com/u/fool)\
**Post date:** [April 9, 2019, 8:49pm UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/1 "2019-04-09T20:49:03Z")

</div>

_Last Reviewed by Netlify Support Staff: July 2025_

So you need to take your site offline for maintenance. Netlify enables a great workflow for this! We suggest using a either a [manual deploy (aka Drag and drop)](https://docs.netlify.com/site-deploys/create-deploys/#drag-and-drop) or a special maintenance branch in your repository so you don’t have to do any heavy lifts like remove all files from your normal production branch in case you use our [continuous deployment system](https://docs.netlify.com/site-deploys/create-deploys/#deploy-with-git).

To use either of those paths, you’ll start by creating some static HTML that displays your maintenance message. You can of course use graphics and other asset types, but you don't need more than this: `<html>Our site is down for maintenance</html>` in a single `index.html` file deployed at the root of your site. **Note that this will temporarily REMOVE FROM SERVICE all the rest of the files and redirects** on your normal deploy until you later re-publish a production deploy again, so if you have mission critical things like a manifest, or redirects that should still be active despite maintenance, you must include them with this deploy! You might want to put a [wildcard redirect](https://docs.netlify.com/routing/redirects/) in place too, something like `/* /index.html 302` that will make all pages show the maintenance message.

**To deploy manually:**

1. Put all of that content into a folder, let’s call it `maintenance`.
2. Drag that folder to your deploy listings on the site you want to put under maintenance. This will publish the maintenance page as a new deploy.
3. After previewing the content, use the button to [publish this deploy](https://docs.netlify.com/site-deploys/manage-deploys/).

**To deploy via Git:**

1. Instead create a branch called e.g. `maintenance` with the content you wish to have live in it.
2. Update your Build & Deploy settings to also build this `maintenance` branch. You can add it to the list of allowed branches if you don’t already allow all branches to be built.
3. Next, successfully deploy this branch (it will be a Branch Deploy).
4. After previewing the content, use the button to [publish this deploy](https://docs.netlify.com/site-deploys/manage-deploys/).

**Following up from either method:**

1. When maintenance is done, navigate to the previous production deploy from your deploys listing and choose to publish it again with the button there. No need to change code - you just choose the old deploy to republish by selecting the deploy, and on its logs page, use the “publish deploy” button to roll back to this deploy.
2. Future deploys via your normal channel (whether that is Git commits, CLI, API, or drag and drop) will work as usual going forward.

---

<div class="post-metadata">

**Author:** ![talves](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/talves/32/101_2.png) [@talves](https://answers.netlify.com/u/talves)\
**Post date:** [April 9, 2019, 10:35pm UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/2 "2019-04-09T22:35:29Z")

</div>

One of the easiest “ **maintenance** ” workflows ever!

---

<div class="post-metadata">

**Author:** ![innyabuto](https://avatars.discourse-cdn.com/v4/letter/i/5f9b8f/32.png) [@innyabuto](https://answers.netlify.com/u/innyabuto)\
**Post date:** [May 8, 2020, 10:29am UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/3 "2020-05-08T10:29:55Z")

</div>

@fool It is still publishing on my main production branch instead. Please would you expound on point 3 & 4. I’m following this - to deploy via git. I’ve added the maintenance branch in my deploy settings (deploy context) and deployed the brunch (step 3). Thanks

---

<div class="post-metadata">

**Author:** ![fool](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/fool/32/37_2.png) [@fool](https://answers.netlify.com/u/fool)\
**Post date:** [May 9, 2020, 1:39am UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/4 "2020-05-09T01:39:29Z")

</div>

You would need to:

- create a different branch in git
- create the maintenance page on that branch
- see the branch deploy logs in our deploys listing, in our UI
- publish that deploy with the “publish this deploy” button there
- then use the “lock publishing to this deploy” button
- then other commits will not be published at your production URL until you unlock.

---

<div class="post-metadata">

**Author:** ![innyabuto](https://avatars.discourse-cdn.com/v4/letter/i/5f9b8f/32.png) [@innyabuto](https://answers.netlify.com/u/innyabuto)\
**Post date:** [May 19, 2020, 5:35pm UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/5 "2020-05-19T17:35:42Z")

</div>

Great, thanks! This sorted me out 🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/system/32/13_2.png) [@system](https://answers.netlify.com/u/system)\
**Post date:** [October 17, 2021, 8:49pm UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/17 "2021-10-17T20:49:26Z")

</div>

Automatically bumped on October 17, 2021, 8:49pm UTC



---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/system/32/13_2.png) [@system](https://answers.netlify.com/u/system)\
**Post date:** [December 5, 2021, 3:20am UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/18 "2021-12-05T03:20:14Z")

</div>

Automatically bumped on December 5, 2021, 3:20am UTC



---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/system/32/13_2.png) [@system](https://answers.netlify.com/u/system)\
**Post date:** [January 29, 2022, 11:08am UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/19 "2022-01-29T11:08:51Z")

</div>

Automatically bumped on January 29, 2022, 11:08am UTC



---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/system/32/13_2.png) [@system](https://answers.netlify.com/u/system)\
**Post date:** [March 27, 2022, 5:31pm UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/20 "2022-03-27T17:31:55Z")

</div>

Automatically bumped on March 27, 2022, 5:31pm UTC



---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/system/32/13_2.png) [@system](https://answers.netlify.com/u/system)\
**Post date:** [May 27, 2022, 1:48am UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/21 "2022-05-27T01:48:51Z")

</div>

Automatically bumped on May 27, 2022, 1:48am UTC



---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/system/32/13_2.png) [@system](https://answers.netlify.com/u/system)\
**Post date:** [July 30, 2022, 9:29am UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/22 "2022-07-30T09:29:39Z")

</div>

Automatically bumped on July 30, 2022, 9:29am UTC



---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/system/32/13_2.png) [@system](https://answers.netlify.com/u/system)\
**Post date:** [September 30, 2022, 4:44pm UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/24 "2022-09-30T16:44:42Z")

</div>

Automatically bumped on September 30, 2022, 4:44pm UTC



---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/system/32/13_2.png) [@system](https://answers.netlify.com/u/system)\
**Post date:** [December 5, 2022, 1:07am UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/25 "2022-12-05T01:07:39Z")

</div>

Automatically bumped on December 5, 2022, 1:07am UTC



---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/system/32/13_2.png) [@system](https://answers.netlify.com/u/system)\
**Post date:** [February 10, 2023, 8:58am UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/26 "2023-02-10T08:58:09Z")

</div>

Automatically bumped on February 10, 2023, 8:58am UTC



---

<div class="post-metadata">

**Author:** ![cjboco](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/cjboco/32/48538_2.png) [@cjboco](https://answers.netlify.com/u/cjboco)\
**Post date:** [March 5, 2023, 11:44pm UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/27 "2023-03-05T23:44:16Z")

</div>

I’m using a nextjs site and when I try to deploy my maintenance branch, the build fails, because it’s “auto-detecting” nextjs and loading the nextjs plugin.

Anyone know how to get around this? Also, tried the manual deploy, but dragging and dropping a folder on the deploy listing page does nothing. What am I missing?

---

<div class="post-metadata">

**Author:** ![SamO](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/samo/32/41847_2.png) [@SamO](https://answers.netlify.com/u/SamO)\
**Post date:** [March 6, 2023, 3:17pm UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/28 "2023-03-06T15:17:59Z")

</div>

Hi @cjboco 👋🏿 , welcome to the forums!

Can you try to configure your deployment to ignore the auto-detection of Next.js in your deploy settings and instead use a manual configuration. This will allow you to specify that you’re deploying from a maintenance branch and avoid any conflicts with the automatic detection.

---

<div class="post-metadata">

**Author:** ![cjboco](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/cjboco/32/48538_2.png) [@cjboco](https://answers.netlify.com/u/cjboco)\
**Post date:** [March 6, 2023, 4:23pm UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/29 "2023-03-06T16:23:01Z")

</div>

I actually went ahead and just created a bare minimum next.js site for the maintenance branch, as I was under time constraints… but I did see this option in the Netlify settings after I did this.

I will try to deploy it again manually and see what happens. Would be nice to have this setting branch based.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/system/32/13_2.png) [@system](https://answers.netlify.com/u/system)\
**Post date:** [May 13, 2023, 8:12pm UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/30 "2023-05-13T20:12:54Z")

</div>

Automatically bumped on May 13, 2023, 8:12pm UTC



---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/system/32/13_2.png) [@system](https://answers.netlify.com/u/system)\
**Post date:** [July 21, 2023, 5:51am UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/31 "2023-07-21T05:51:04Z")

</div>

Automatically bumped on July 21, 2023, 5:51am UTC



---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/system/32/13_2.png) [@system](https://answers.netlify.com/u/system)\
**Post date:** [September 27, 2023, 1:53pm UTC](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338/32 "2023-09-27T13:53:39Z")

</div>

Automatically bumped on September 27, 2023, 1:53pm UTC



[Next page](https://answers.netlify.com/t/support-guide-what-s-the-easiest-way-to-create-a-temporary-maintenance-page-for-my-site/338.md?page=2)
