This is essentially just a much, much better version of the holding page module and achieves practically the same thing. This module will create a static HTML error page in the assets folder when it is installed. Then when a non admin user tries to visit the website the error page will be displayed. Once an admin user has logged in they will be able to browse the website at will.
Additionally, when the under construction page is displayed it responds to the browser with a 503 - Service Unavailable HTTP status code.
This module could easily be changed to generate any kind of maintenance page and return any kind of HTTP status code.
I have updated the module so that under construction pages can be turned on or off via the SiteConfig->Access tab for convenience.
You can find this module on Packagist.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem