Stats for domain pointers?

Strator

Verified User
Joined
Jan 19, 2011
Messages
278
Quick question: I am running an instance of Wordpress multisite, which means that several domain pointers associated with the same account will run entirely independent websites. Is there a way to break these down so that I will be able to see logs/errors and possibly Webalizer stats independently for each of those domains? Thanks!
 
Hello,

No, if you added your domains as aliases. To have independent logs and stats you need to add new instances as domains in directadmin, and then use syminks to share code between domains:


domains/domain1.com/public_html
domains/domain2.com/public_html - symlink to -> domains/domain1.com/public_html
domains/domain3.com/public_html - symlink to -> domains/domain1.com/public_html
...
...
domains/domainN.com/public_html - symlink to -> domains/domain1.com/public_html
 
Thanks - I've tried this for one of the domains I have, and it looks good so far. Are there any known side effects, or will web access behave 100% identical to the alias I had before?

For others stumbling across this thread:

ln -s /home/username/domains/domain1.com/public_html /home/username/domains/domain2.com
chown -h username:username /home/username/domains/domain2.com/public_html

Second line is important, otherwise you will get 403 access denied.
 
Back
Top