---
title: "Maintenance mode"
url: https://docs.corefinity.com/guides/sites/create-and-manage/maintenance-mode
type: guide
last_updated: 2026-11-13
feature: maintenance-mode
related:
  - https://docs.corefinity.com/api/reference/site-settings/update-site-maintenance-mode.md
  - https://docs.corefinity.com/mcp/tools/corestack_maintenance_mode_set.md
---
# Maintenance mode

Show visitors a maintenance page while you work on a site, then turn it off again.

## Before you start

- You can open the site in **Managed Websites**. Anyone who can open a site can turn its maintenance mode on and off.
- Each environment has its own switch: choose **Production** or **Staging** in the site header first.
- The switch is greyed out while the site is being created, while a backup is being restored and while another change is in progress.

## Turn maintenance on

1. **Turn on the switch**

   Go to **Managed Websites**, choose the site, then turn on the **Maintenance** switch at the top right of the site header. It reads **Off**.

   _Screenshot: The site header with the Maintenance switch ringed at the top right, reading Off._

2. **Confirm**

   The dialog names the page visitors will see, with a **Preview**, and says who still sees the site. Choose **Turn on maintenance**.

   _Screenshot: The dialog Turn on maintenance for the site: visitors see a maintenance page until it is switched off, which page they will see with a Preview link, that it applies straight away, and the buttons Cancel and Turn on maintenance._

The switch reads **On** straight away, and a banner in the site header says since when visitors have seen the maintenance page. Search engines get a `503` with `Retry-After`, so a short break does not affect rankings.

_Screenshot: The site header while maintenance is on: the switch reads On and a banner says since when the maintenance page has been showing, with the button Turn maintenance off._

To change the page visitors see, see [Error pages](/guides/sites/site-settings/error-and-maintenance-pages). To choose which addresses still see the site, see [Firewall](/guides/sites/access-and-security/firewall).

## Turn maintenance off

1. **Turn off the switch**

   Turn off the **Maintenance** switch, or choose **Turn maintenance off** in the banner. There is no dialog.

Visitors see the site again straight away.

## Automate this

**API:** [Update maintenance mode](https://docs.corefinity.com/api/reference/site-settings/update-site-maintenance-mode.md), scope `write`

```bash
curl -X POST https://manage.corefinity.com/api/corestack/sites/1042/maintenance \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": true
  }'
```

**MCP:** [`corestack_maintenance_mode_set`](https://docs.corefinity.com/mcp/tools/corestack_maintenance_mode_set.md), scope `write`

```json
{
  "name": "corestack_maintenance_mode_set",
  "arguments": {
    "site_id": 4211,
    "enabled": true
  }
}
```

**Control Panel:** Managed Websites › your site › Maintenance ([https://manage.corefinity.com/go/maintenance-mode](https://manage.corefinity.com/go/maintenance-mode))

## Related

- [Error pages](/guides/sites/site-settings/error-and-maintenance-pages): Choose what visitors see on an error.
- [Firewall](/guides/sites/access-and-security/firewall): Allow an IP address to reach a site.
- [Platform tools](/guides/sites/create-and-manage/platform-tools): Run your platform's maintenance commands.
