// Aula 3 - Configuração de virtual host
# Include the virtual host configurations:
IncludeOptional sites-enabled/*.conf
# vim /etc/apache2/sites-available/testesite.com.conf:
ServerAdmin webmaster@localhost
DocumentRoot /var/www/testesite
ErrorLog ${APACHE_LOG_DIR}/testesite.com-error.log
CustomLog ${APACHE_LOG_DIR}/testesite.com-access
# vim /etc/apache2/sites-available/000-virtual-hosts.conf
ServerName testesite.com
DocumentRoot /var/www/testesite
ServerName teste2site.com
DocumentRoot /var/www/teste2site