Hi All, In this post, I am going to explain how to place the maintenance page for Heroku hosted applications. The example we have application and hosted in Heroku. Now we want to do some changes for an existing application then we will place the maintenance page. So this post explains how can we achieve that.
Below are the simple steps to do that
Install Heroku CLI (Command Line Interface) in your system by below link.
Create a maintenance page and uploaded to any hosting server
https://domain.com/maintenance.html or uploaded to AWS S3 buckets
In the configuration variables please include below URL
Login to Heroku
email / password
To enable maintenance page for the app
Note: Now domain under maintenance page will be displayed when we click the domain.
To disable the maintenance page for the app
Note: Now domain will up and running
With these steps, we will place and remove the maintenance page for a domain in Heroku.