04-11-2007, 08:56 PM
Found it in google cache:
VHCS System Rebuild
If you liked to generate again various VHCS system entries, (e.g. after Apache and/or Bind Template adjustments) you proceed as follows:
Make changes into the VHCS Templates - Apache, bind, etc. and/or in vhcs2.conf (e.g.. Secondary DNS change).
Then you sould set ?[Domain status] in the VHCS database to "CHANGES", for the Domain which are to be updated and/or rebuilt. Launch the ?[VHCS engine] manually, then then desired system entries are generated again and your changes will applied.
IE, to rebuild dns files :
You should note that this Procedure only for Domain, then Domain alias and at the end for Subdomains.
VHCS System Rebuild
If you liked to generate again various VHCS system entries, (e.g. after Apache and/or Bind Template adjustments) you proceed as follows:
Make changes into the VHCS Templates - Apache, bind, etc. and/or in vhcs2.conf (e.g.. Secondary DNS change).
Then you sould set ?[Domain status] in the VHCS database to "CHANGES", for the Domain which are to be updated and/or rebuilt. Launch the ?[VHCS engine] manually, then then desired system entries are generated again and your changes will applied.
IE, to rebuild dns files :
Code:
root#/etc/init.d/vhcs2_daemon stop
root#mysql -u root -p<password>
mysql>USE vhcs2
mysql>UPDATE `domain` SET `domain_status` = 'change' WHERE `domain_status` = 'ok';
mysql>UPDATE `domain_aliasses` SET `alias_status` = 'change' WHERE `alias_status` = 'ok';
mysql>UPDATE `subdomain` SET `subdomain_status` = 'change' WHERE `subdomain_status` = 'ok';
mysql>quit
root#/var/www/vhcs2/engine/vhcs2-rqst-mngr
root#/etc/init.d/vhcs2_daemon startYou should note that this Procedure only for Domain, then Domain alias and at the end for Subdomains.
