Run this to add a site to your Apache2 vhost config.
Simply run this in your shell as such:
chmod +x apache_vh.sh
./apache_vh.sh example.com
CONF_FILE is assuming this is where your apache configs are.
Lines 22 and 23 are where the domains will be created.