MageSmith
maintenance · Magento 2.4.9 (extracted from source · curated examples)

maintenance:enable

Puts the storefront into maintenance mode (visitors see a 503 page).

Synopsis

bin/magento maintenance:enable

Examples

Lock down the site but let your office IP keep browsing during a deploy.

bin/magento maintenance:enable --ip=203.0.113.42

See also

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.