We use apache and php for render dynamic code.
Also, we can configure it to mount different domains separated but under the same machine.
For do it, first need define virtual hosts. In the example we use 3 virtual hosts:
This files are defined in Services/example/
and with the script we go to copy differents files to differents folders:
Services/example/vhost
to /etc/apache2/sites-available
.Services/example/sites
to /var/www/
.Services/example/groups
to /etc/apache2/groups
.The SSL Certificate is a case of study that you will see in SSL Chapter.