1. notes
  2. standard domains

THIS PAGE IS CURRENTLY BEING WORKED ON... LOOK AT THE INDIVIDUAL INSTALL DOCUMENTS ON THE LEFT-HAND SIDE

notes

Move Domain HowTo
www.syscp.de/forum/viewtopic.php?t=357

webftp built for syscp:
modules.syscp.de/index.php?page=2&action=category&cat_id=13

standard domains

to make "standard domains" use login.riseup.net instead of login.raven.riseup.net, set hostname to "riseup.net" instead of "raven.riseup.net".

where the standard subdomain comes from:

admin_customers.php:
   if($createstdsubdomain == '1') {
           $db->query(
                   "INSERT INTO `".TABLE_PANEL_DOMAINS."` " .
                   "(`domain`, `customerid`, `adminid`, `parentdomainid`, `documentroot`, `zonefile`, `isemaildomain`, `caneditdo$                   "VALUES ('$loginname.{$settings['system']['hostname']}', '$customerid', '{$userinfo['adminid']}', '-1', '$docu$           );
           $domainid=$db->insert_id();
           $db->query(
                   'UPDATE `'.TABLE_PANEL_CUSTOMERS.'` ' .
                   'SET `standardsubdomain`=\''.$domainid.'\' ' .
                   'WHERE `customerid`=\''.$customerid.'\''
           );
           inserttask('1');
   }