Enable statistics on all domains in Plesk
You can simply enable statistics on all domains in Plesk by selecting the Web Statistics option in the corresponding Service Plan:
Service Plans > Name_of_Service_Plan > Hosting Parameters > check “Web statistics”> Update & Sync
You can select Webalizer or AWStats from the Hosting Parameter section as per your convenience.
Also, you can run the following command to enable web statistics on all service plans (Plesk 12.5 and newer):
plesk db -Nse "select name from Templates" | while read i; do /usr/local/psa/bin/service_plan -u "$i" -webstat none -webstat_protdir true; done
You can also switch Webalizer and AWStats for a domain from Customer Panel.
- Log into Plesk panel.
- Select the desired domain from “Domains” list.
- Select “Hostings Settings” from “Websites and Domains”.
- Click on the drop down menu for “Web Statistics” and select Awstats or Webalizer.
- Click “OK”
If you like this post and wish to receive more articles from us, please like our FB page: Button
Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.
For more details on our services, please drop us an E-mail at firstname.lastname@example.org