How Can I Change the Root Directory in ISPManager?

When administering a virtual or dedicated server, you can change the home directory of the ISPManager control panel. This must be done during the initial panel setup, when users are not yet created.

  1. Open the panel configuration file located at: /usr/local/mgr5/etc/ispmgr.conf
  2. Add the parameter to the file
    path DefaultHomeDir
    Default value: /var/www
  3. Restart the panel with the following command: /usr/local/mgr5/sbin/mgrctl -m ispmgr exit

IMPORTANT! It is not recommended to change the home directory after starting work with the ISPManager panel.