If I understand well, you want to use apache to host picturealbum.ourdomain.com along with
www.ourdomain.com. First you must add an entry in your zone file for the new host:
Code:
picturealbum A xx.xx.xx.xx or
picturealbum CNAME www
Increase the serial number and restart bind
where xx.xx.xx.xx is the IP of your apache server. Then edit httpd.conf and add something like:
Code:
<VirtualHost *:80>
DocumentRoot /var/www/picturealbum
ServerName picturealbum.ourdomain.com
ServerAdmin webmaster@eourdomain.com
CustomLog /var/log/apache2/example.org-access.log combined
ErrorLog /var/log/apache2/example.org-error.log
</VirtualHost>
Depending of your configuration perhaps you have to use <VirtualHost xx.xx.xx.xx:80> or just <VirtualHost *> and use another entry like the above for the host
www.ourdomain.com.