Change the home directory for web sites after install

Discussion in 'Installation/Configuration' started by wxman, Oct 7, 2007.

  1. wxman

    wxman New Member

    Is there any way to safely change the directory where websites get set up after I've already installed ISPConfig?

    I want to make it /var/www/.
  2. Hans

    Hans Moderator ISPConfig Developer

    Within ISPConfig:
    Go to Management > Server > Settings.
    After that choose for the tab "Web" and change the field "Document root" within /var/www.

    On your server (as root) move all your webs (webX) with their symbolic links like to /var/www/. If you don't have the directory /var/www/ then you should create it first.
    Last edited: Oct 7, 2007

Share This Page