Heroku

Custom maintenance page for Heroku

14 Jan 2016
1 minute read

When you are using Heroku, you might want to have a custom maintenance page for your app.

The standard maintenance page from Heroku doesn’t look good and of course doesn’t use your own design or a custom message for your users.

With this easy steps you enable your own costumized Maintaince pages for Heroku.

How to

  1. Download your complete assets by using for example this Firefox Addon
  2. Upload the files to an static file hoster like Amazon S3
  3. Activate via Heroku CLI, type:
    $ heroku config:set \
     MAINTENANCE_PAGE_URL=//s3.amazonaws.com/<your_bucket>/your_page.html
    
  4. To test your maintenance page, type:
    $ heroku maintenance:on
    

You also can activate it on Heroku by adding the Config Variables for MAINTENANCE_PAGE_URL under Settings.