Magento2 Change Maintenance Page content

Most of us wanted or liked to change the Maintenance Page content, but it had difficulties doing that, now we will show you how easy is that can be

  1. First Go to this directory  "{magento_root}/pub/errors/".
  2. Copy "local.xml.sample" to "local.xml".
  3. Open "local.xml" then change this part from
  4. Now copy the Directory default to "itweb"
  5. you can change the content of page itweb/503.phtml to any content you like.
  6. Note: you can change other pages as well


Please note that this will not work in the development mode, the website should be in the production mode