A couple of Apache tricks
Don’t restart, reload
After changing some configuration option, instead of restarting Apache (sudo service apache2 restart), try reloading instead (sudo service apache2 reload).
To add another “subdir” under your domain (i.e. http://mydomain/newsubdir/), create the file /etc/apache2/sites-available/newsubdir:
<VirtualHost *:80>
Options FollowSymLinks MultiViews
Alias /newsubdir/ "/path/to/content/"
</VirtualHost>
Then enable the site with sudo a2ensite newsubdir and then reload the Apache configuration as described above.
Advertisement