![]() |
ISPconfig3 and webalizer create confusion.
Following the Howto: http://www.howtoforge.com/perfect-se...04-ispconfig-3 I set up my server as: server1.domain1.com. Created client1 with domain1.com. Created my website on it. No issues.
Then I created 2 more domains for client1. Initially I could only access the first website with Filezilla over SFTP-SSH. After I changed the owners of web2 and web3 to web1:client1, I could also access these sites with the same username as defined for web1. Code:
....Code:
root@server1:~# ls -l /var/log/ispconfig/httpd/Domain1: Code:
LogFile /var/log/apache2/access.logCode:
LogFile /var/log/apache2/domain1.com/access.logCode:
LogFile /var/log/apache2/domain1.com/access.logSofar I have in /etc/webalizer 1 webalizer.conf file for domain1. Code:
LogFile /var/log/apache2/domain1.com/access.logMy questions: 1. Why did I have to set the server hostname to server1.domain1.com. Why not to just server1? 2. Why does domain3 have owners: web1:cllient1 and the others root:root. Should I change these manually and if yes to what? 3. What should I change in the webalizer.conf files for the 3 domains? They all have the same outputdir as my webalizer.conf file in /etc/webalizer. Domain 2 and 3 use the logfile from domain1 and domain1 uses the logfile from apache2. Hope you understand why I am confused. :confused: |
Quote:
To your other questions: 1) Because every server that is connected to the internet needs a fully qualified hostname. Otherwise other servers can not lookup its hostname. 2) Most likely because you broke the system with your changes. 3) This is not a file from ispconfig nor used by ispconfig. ispconfig configures webalizer on the commandline and creates the stats for the domains based on the vhost logfiles. The /etc/webalizer file is most likely from your linux distribution and should be disabled. |
I undid the changes I made.
With respect to point 3, I believe that is due to the Howto which I followed which installs webalizer. Domain2 and domain3 I have to resinstall. Will do that tomorrow. Thanks for your help.:o |
| All times are GMT +2. The time now is 04:58. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.