Maintenance mode (M2)

Magento 2 can run in one of three primary modes -- developer, production, and default. But aside from that ones there is also a maintenance mode, which is used when you want to make the site unavailable to the public during updates or other changes. You don’t use the MAGE_MODE variable -- instead, you create a…