This is an easy site maintenance page to use to set a site for maintenance. We will move html to backup. The install a new html folder. You can replace the html folder as needed (i.e., cPanel public_html).
$ cd /home/user/
$ mv html html.off
$ git clone https://github.com/maximus-sallam/simple-maintenance-page
$ mv simple-maintenance-page html
And here it is…
To restore the site.
cd /home/user/
$ mv html html.maintenance
$ mv html.off html