# Maintenance mode

In maintenance mode every visitor gets a maintenance page instead of your website, on all domains of the webspace. It fits rebuilds, moves and big updates during which your website is briefly not in good shape.

The page comes with the status **503 (Service Unavailable)**. Search engines take it as a sign to come back later and keep your pages in their index.

## Switching it on

1. Open your webspace under [Webspaces](https://site.quest/dashboard/webspaces/)
2. In the side navigation, open the entry below **Overview** that is named after your application (for example **WordPress**)
3. In the **Website** section, under **Visibility**, switch **Maintenance mode** on

It applies at once. To end it, flip the switch back, and your website is back at once.

## The maintenance page

By default we show a plain page that says the website is back soon, in German or English depending on the browser's language.

You can show a page of your own instead:

1. Put an `.html` file into `public_html`, for example `public_html/maintenance/index.html`
2. Click **Change** in the **Maintenance page** row
3. Enter the path inside `public_html`, here `maintenance/index.html`, and click **Save**

If your page sits in a folder of its own, that folder stays reachable during maintenance, so the page can load pictures and stylesheets next to it. A page right in `public_html` should bring everything along (styles in a `<style>` tag, pictures as data URLs), because the rest of the website is closed.

If the file does not exist, the dashboard does not switch maintenance mode on and tells you which file is missing. **Use the default page** goes back to Sitequest's page.

## Working on it yourself

During maintenance you still see your website as usual, while visitors get the maintenance page.

- **Admin Panel:** If your CMS has a sign-in through Sitequest, the **Admin Panel** button at the top right of the webspace signs you in as usual, during maintenance too.
- **Go to site:** Every other website, static sites without a CMS included, has the **Go to site** button there. The website opens in a new tab.

Both work for everyone who may switch maintenance mode (see [Permissions](#permissions)); read-only access is not enough. Your browser gets a cookie for it that is good until maintenance ends. If you switch maintenance off and on again later, you need a new one: just click the button again.

The same link is available through the [REST API](/en/docs/api/webspaces/#webspace-site-link) and the MCP tool `webspace_site_link`. Anyone with the link gets past the maintenance page until maintenance ends, so share it only on purpose.

## Good to know

- **For others who should have a look,** such as clients approving a new version, use [password protection](/en/docs/webspace/private-mode/) instead: whoever has the credentials gets through.
- **SSL certificates keep working.** Issuing and renewing them goes on during maintenance.
- **SSH, SFTP and the dashboard** do not depend on maintenance mode. Use them to work on the files.
- **The page cache serves nothing during maintenance** and is emptied when you switch it on or off, so visitors see the new state afterwards.

## Permissions

Switching maintenance mode on and off and changing the maintenance page is open to **Owner** and **Collaborator**.

## Next steps

- [Switch password protection on](/en/docs/webspace/private-mode/)
- [Create and restore backups](/en/docs/webspace/backups/)
