I want to show the custom page while running the Magento commands like (upgrade, di: compile, deploy).
How to do that.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Magento seamlessly provides maintenance mode, which allows/denies access from particular IP addresses.
To enable maintenance mode for all clients:
php bin/magento maintenance:enable
To disable maintenance mode for all clients:
php bin/magento maintenance:disable
To enable maintenance mode for all visitors except some IPs (like: 192.0.2.10 and 192.0.2.11):
magento maintenance:enable --ip=192.0.2.10 --ip=192.0.2.11
This will display default Magento's maintenance page.
If you want to customize the way of maintenance, you can use custom made extensions like: