Create your apache virtual host
Install of the mkvirtualhost is very easiest
$ git clone https://github.com/papac/mkvirtualhost.git --depth=1
$ cd mkvirtualhost
$ sudo cp virtual /usr/local/bin/mkvirtaulhost
$ mkvirtualhost help
Add virtual host
$ sudo mkvirtualhost add /path/to/your/documentroot domaine_name [option]
option
--with-git
option is enabled, mkvirtualhost initialize git in your project--with-local-log
option is enabled, mkvirtualhost add the apache logs in your project
Remove virtual host
$ sudo mkvirtualhost remove domaine_name
List your enable virtual host
$ sudo mkvirtualhost list
Test if virtual host exist
$ sudo mkvirtaulhost has domain.dev
MIT