[this post will be properly edited]
sudo mkdir -p /var/www/example.com/public_html
sudo chown -R $USER:$USER /var/www/example.com/public_html
sudo chmod -R 755 /var/www
sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/example.com
sudo nano /etc/apache2/sites-available/example.com
ServerName example.com
ServerAlias www.example.com
DocumentRoot /var/www/example.com/public_html
sudo a2ensite example.com
sudo service apache2 restart