# nano /etc/apache2/sites-available/site.com

<VirtualHost *:80>

# Admin email, Server Name (domain name) and any aliases
ServerAdmin webmaster@site.com
ServerName site.com
ServerAlias www.site.com


# Index file and Document Root (where the public files are located)
DirectoryIndex index.html
DocumentRoot /home/demo/public_html/site.com/public/public


# Custom log file locations
LogLevel warn
ErrorLog /home/demo/public_html/site.com/log/error.log
CustomLog /home/demo/public_html/site.com/log/access.log combined

</VirtualHost>