You need to change two apache configuration files:
File 1:
sudo vim /etc/apache2/apache2.conf
Change the line:
<Directory /var/www/>
For
It looks like this:
<Directory /home/usuario/diretorio_que_vc_quiser/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
File 2:
$ sudo vim /etc/apache2/sites-available/000-default.conf
ou
$ sudo vim /etc/apache2/sites-available/default.conf
Change the line:
DocumentRoot /var/www
for
DocumentRoot /home/usuario/diretorio_que_vc_quiser/
Do not forget to restart apache after:
$ sudo service apache2 restart