Virtual Hosting In Apache

           To allow a hosted domain to have a less clunky name (ie blah.cat.org.au instead
           of www.cat.org.au/blah), you could try the following:

           1.On conway:

           In the file: /etc/apache/httpd.conf

           #copy a slab of code there and edit:

           <VirtualHost 203.53.14.41>
        ServerName blah.cat.org.au

           ServerAlias www.blah.cat.org.au

           DocumentRoot /www/blah/

           ErrorDocument 404 /missing.html

           /VirtualHost

           #save

           restart with:

           sudo /etc/init.d/apache restart

           2.Now on diesel:

           use sudo to edit /etc/bind/cat.org.au

           This is the zone file for cat.org.au. If the group had their own name (eg.
           sheila.org.au) they would have their own zone file created instead.)

           #Now add

           blah          IN CNAME www

          to the bottom of the list of aliases under the heading

           ; Aliases for Virtual Web Hosting

           ;

           After you've edited this, you need to update the Serial number. (It's
           order is yearmonthdayversion.

             2002012001      ; Serial

           (This was edited once on the 20th jan, 2002)

          sudo /etc/init.d/bind9 restart

           Then check it's all okay with NSLOOKUP alias

           If you have any probs, check the edited files.

           safari (at) cat.org.au