Procure configurar
/etc/apache2/sites-enabled/default.conf
Você precisa de um arquivo normalmente chamado default.conf lá definindo virtualhosts assim ...
<VirtualHost yourIPaddress:80 >
ServerName www.yourdomainname.here
ServerAlias yourdomainname.here
ServerAdmin <yourmail address>
DocumentRoot /var/www/{your webroot folder}
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/{your webroot folder} >
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
# set your own filename #
ErrorLog ${APACHE_LOG_DIR}/logging_filename_errorlog.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel error
# set your own filename #
CustomLog ${APACHE_LOG_DIR}/logging_filename.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>