Subdomains and combined logging
Posted by: Dahak
Posted on: 2005-04-09 07:30:00
I'm a new DH member and I'm just trying to get a feel for the set up options I have available.
I've been running my own server (Apache 2/Win2K) literally from my basement, so I'm used to having total access to the system.
I'm trying to mimic the operation of my home server.
I have a registered domain host that allowed for subdomain redirects. All of my data was stored in one Apache server directory tree. Subdomains were referenced from subdirectories in my main server root.
Now, I've planned on adding a few subdomains to my account, but how everything is stored and logged is of interset to me.
I've run through the discussion forum and KB and it seems that in order to reference my domains as subdirectories I would fully host the subdomain here and select the subdirectory from my main site as the root directory for the subdomain.
That should do nicely for what I want, but it seems that the subdomain _logs_ are seperate from the root domain logs. I'd like all data and traffic for the domain and its subdomains to be combined.
I suppose what I want to know (assuming I have the set up correct) is: can the domain and subdomain logs be combined.
As I understand things, the logs would be seperate, even if the directory trees can be shared among them. I'm planning to download and run the logs through Webalizer (and then drop the results back on the server), but I want to minimize the number of files I need to grab.
(I suppose, if I get the script to pull one set of logs, I could always set it to pull sets of logs and combine them locally.)
That's the behavior I want and I have been used to for the last five years.
Thanks for any tips or pointers to relevant articles.
-JPB