Hi Bread
M not at all an expert in this stuff but I hope this helps. Of course I have googled this stuff
The stuff mentioned below is for Debian Machines but I think dat would work fine for other distros as well.
I assume U r runnng Apache with VIRTUAL HOST
In order to allow sites like uni.cc which I think the admins now have 2 add manually support for "A record" is probably a better option as that can be automated as well.
Steps
1. Let say you want to be able to map the domain name urja.uni.cc to zymic hosting site using the code file in /home/public_html/urja.zzl.org/
While in /etc/apache2/sites-available, create a new file (let say uni.cc.conf)
2.
Now add the following lines:
<VirtualHost dev.example.com>
ServerAdmin webmaster@localhost
#We want to be able to access the web site using www.urja.uni.cc or urja.uni.cc
ServerAlias www.urja.uni.cc
DocumentRoot /home/public_html/urja.zzl.org
#if using awstats
ScriptAlias /awstats/ /usr/lib/cgi-bin/
#we want specific log file for this server
CustomLog /var/log/apache2/uni.cc-access.log combined
</VirtualHost>
Note: I m not sure but in the file above I suppose you can add many subdomains of uni.cc in ServerAlias
Check
http://www.howtoforge.com/forums/showthread.php?p=939283. Inorder to to create a link to the repository where APACHE actually looks for virtual hosts. Go to
$cd /etc/apache2/sites-enabled/
4. Create a link to the file we just created:
$sudo ln -s /etc/apache2/sites-available/uni.cc.conf uni.cc.conf
5. I suppose we need to reload Apache after that
$sudo /etc/init.d/apache2 reload
Cheers
My fingers crossed
Pradeep