-
Put
maintenance.html
into your root directory -
Open
.htaccess
file -
Insert this block in the first line of the file
ErrorDocument 503 /maintenance.html RewriteCond %{DOCUMENT_ROOT}/maintenance.html -f
RewriteCond %{REQUEST_URI} !(/maintenance.html)