Skip to content

Site Sleep and Wake

Site Sleep and Wake

Free up server resources by putting inactive sites to sleep, and bring them back online instantly when needed.

Site management page with sleep and wake controls

Not every site needs to run around the clock. Sleep shuts down a site’s Docker containers so it consumes zero CPU and RAM on your server, while preserving all files, databases, and configuration. Wake brings everything back up so the site is live again within seconds.

How Sleep Works

When you put a site to sleep, FlyWP:

  1. Changes the site status from Active to Sleeping.
  2. Runs docker compose down to stop and remove the site’s running containers.
  3. Preserves all site data — files, database, and configuration remain on disk.

A sleeping site uses no server compute resources. Its domain will not respond to HTTP requests until the site is woken up.

How Wake Works

When you wake a sleeping site, FlyWP:

  1. Runs docker compose up -d to recreate and start the site’s containers.
  2. Performs automatic health checks with retry logic — up to 12 attempts at 5-second intervals — to confirm the containers are healthy.
  3. Restores the site status to Active once all containers are running.

Putting a Site to Sleep

  1. Navigate to the site’s detail page and open the Manage tab.
  2. Click the Sleep button.
  3. Confirm the action.

The site status changes to Sleeping and visitors will no longer be able to access the site.

Waking a Sleeping Site

  1. Navigate to the sleeping site’s detail page and open the Manage tab.
  2. Click the Wake button.
  3. Wait for the health checks to complete.

Once the status returns to Active, the site is fully operational.

Availability

Current StatusSleep AvailableWake Available
ActiveYesNo
SleepingNoYes
MaintenanceNoNo
CreatingNoNo

Good Use Cases for Sleep

  • Staging and development sites that are only used during active development cycles
  • Seasonal sites such as event or campaign landing pages that run for a limited period
  • Client demo sites you want to keep configured but not running between presentations
  • Temporary sites you plan to use again later but do not need right now

Things to Keep in Mind

  • Backups — sleeping sites are not running, so scheduled backups that depend on a live WordPress installation will not execute. Consider taking a manual backup before putting a site to sleep.
  • Cron jobs — WordPress cron and any site-level scheduled tasks stop while the site is sleeping.
  • SSL renewal — automatic SSL certificate renewal requires the site to be accessible. Wake the site before a certificate expires to allow renewal.

Sleeping sites do not respond to any HTTP traffic. If you sleep a production site, visitors will see a connection error until you wake it.