You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Simon Vieille 35e4f0146a add PHP 8.1 1 year ago
bin add http2 1 year ago
etc add PHP 8.1 1 year ago
share/bin add command params 2 years ago
src fix indentation 1 year ago
.gitignore add documentation 4 years ago
Makefile fix build of crypt 2 years ago refactoring and documentation 1 year ago


vhost-manager helps you to create apache2 vhosts.


  • PHP
  • GCC
  • whiptail
  • wget
  • make


$ sudo apt install gcc build-essential whiptail wget make
$ sudo apt install <php stuff>
$ git clone
$ cd vhost-manager
$ make


$ cp etc/config.dist etc/config
$ vim etc/config


  ./bin/vhost-add [options]

  -i                 Enable script interactivity
                     The script is interactive when no argument is given
  -d                 The domain name
  -a                 Aliase(s)
  -m value           Enable "http" or "https"
  -r                 Force redirection of http to https
  -p value           Enable PHP with the given version (eg: 8.0)
  -u value           Username in the system
  -h                 Show this help


$ sudo vhost-add
$ sudo vhost-add -m http -m https -r -d -a -p 8.0 -u example -i