Hello! Thanks for the database help, I think I'll stick to flat-file though. Anyway, my new topic is over subdomains. My server is a UNIX machine, and I am trying to make a new subdomain on my domain, (http://subdomain.mydomain.zzz) how it works is that a sub directory on the main directory (/path/to/main/subdir/) reads as the same as a subdomain so if I make a directory using perl, eq mkdir(subdir, 0755); will make a directory but how do I get to read as a subdomain? I know I need to submit some dns things or something too, but can I do with perl as well? Also I know that "Wild Cards" is not enabled but I may be able to, but does it have to be? Thanks!

The easiest way to do this on an automated basis is to redirect subdomains like fred.domain.com to www.domain.com/fredI believe this is what you are looking for. Use an index.cgi in your main directory that test the enviromental value of HTTP_HOST for www.domain.com and write to the location bar www.domain.com/index.html (or whatever the main file for the actual site is) if its not www then have it pull the prefix from the variable and print www.domain.com/prefix to the location bar.