
Originally Posted by
garrettroyce
Thanks a million garrettroyce...
I read the guide you linked to me and it was not overly helpful on it's own, but right down near the bottom there was a link ( http://httpd.apache.org/docs/2.2/vhosts/examples.html ) to 'Virtual Host examples' and it was this that really helped me.
I edited the file
/etc/apache2/httpd.conf
Code:
<VirtualHost *:80>
DocumentRoot /home/allofus/public_html/ventrilo.4allofus.com
ServerName ventrilo.4allofus.com
ServerAlias ventrilo.4allofus.com
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /home/allofus/public_html/services.4allofus.com
ServerName services.4allofus.com
ServerAlias services.4allofus.com
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /home/allofus/public_html/shoutcast.4allofus.com
ServerName shoutcast.4allofus.com
ServerAlias shoutcast.4allofus.com
</VirtualHost>
It works just how I expected and indeed wanted it to work.
Now if I wish to add any more sub-domains I can just add it to the httpd.conf file.
Hooray.