This wiki is considered the main documentation source for wcfg. Periodically, its content will be reversed in the man page distributed with the wcfg debian package.
wcfg is an easy and lightweight solution to manage LAMP-like virtual web servers on Debian, Ubuntu and derivate distributions.
It supports both nginx and apache2 and can manage many different things like name based virtual servers, php support using php-fpm for nginx or mod_php for apache2, mysql databases and privileges, website backups, awstats and related static reports. logrotate will also be configured to take care of your virtual servers log files, but everything will be kept consistent with the regulations and automatisms provided by the standard Debian packages. Moreover, you are not forced to install any package from this list but your favorite webserver: just throw in what you really need, and it will be managed by wcfg for your websites.
Since a new user will be created for every virtual server, with the website root path as home directory, it is also very easy to configure per-site FTP access installing vsftpd or any other FTP server, or openssh to allow SFTP access.
wcfg /etc/wcfg/sites/your_site_name [ --delete ]
Configures the example.org website.
wcfg /etc/wcfg/sites/example.org --delete
Removes the same website, cleaning up everything.
Last edited by Odiobill,