maintenance:enable
Puts the storefront into maintenance mode (visitors see a 503 page).
Synopsis
bin/magento maintenance:enableExamples
Lock down the site but let your office IP keep browsing during a deploy.
bin/magento maintenance:enable --ip=203.0.113.42See also
Related commands in maintenance
Other maintenance:* commands you might want next.
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.