The maintenance mode comes with an external folder just follow this steps
- Go to maintenance folder and look for config.php.new
- Rename config.php.new to config.php
- Open the config.php file
- Add your WHMCS directory in the config.php file
- Save config.php file
- Upload the folder to your WHMCS where you want the maintenance mode to be installed