How to setup your Domains Statistics cPanel plugin
Version Status
3.5.0r Stable Release
System Requirements
* cPanel/WHM 11.38.1+ server
* Security Tokens = On “WHM » Main » Server Configuration » Tweak Settings » Security”
* For Resellers!!! Allow PHP to be run when logged in as a reseller to WHM = On “WHM » Main » Server Configuration » Tweak Settings » Security”
Installation
Run the following shell commands as root via SSH:
# wget -O ds-v3.5.0.tar http://domainsstatistics.gk-root.com/downloads/download.php
# tar -xf ds-v3.5.0.tar
# cd ds-3.5.0
# sh install.sh
# cd ..
# rm -Rfv ds-latest/ ds-v3.5.0.tar
Upgrade
If you running version 3+ please skip this part and run the update from WHM interface.
# wget -O ds-v3.5.0.tar http://domainsstatistics.gk-root.com/downloads/download.php
# tar -xf ds-v3.5.0.tar
# cd ds-3.5.0
# sh update.sh
# cd ..
# rm -Rfv ds-latest/ ds-v3.5.0.tar
Settings for Reseller
To enable Reseller to use Domains Statistics you need to set it for each individual Reseller or set once in your Resellers ACL List.
Go to your “WHM » Resellers » Edit Reseller Nameservers and Privileges » Additional Software” and check “Domains Statistics (For Reseller)” and save.
Statistics
The Domains Statistics is accurate as your files are. We gather the data from the server files and then we compare the returned data.
Total domains on the server: Based on /etc/localdomains, /etc/remotedomains files.
Total SSL domains: Domains with SSL certificate installed.
Total Dedicated IP domains: All the domains that are under dedicated IP address that assigned to the cPanel account.
Total Google apps domains: Domains that their MX records is pointing to Google Apps servers.
Domain & Subdomains Statistics: All domains and subdomains that exist on the server.
Local & Remote Website Domains: Domains that their A record is pointing to external server.
Local & Remote Mail Domains: Domains that their MX records is pointing to external mail servers.
Total TLD’s on the server: All the domains divided by TLD’s.
Uninstall
# wget -O ds-v3.5.0.tar http://domainsstatistics.gk-root.com/downloads/download.php
# tar -xf ds-v3.5.0.tar
# cd ds-3.5.0
# sh uninstall.sh
# cd ..
# rm -Rfv ds-latest/ ds-v3.5.0.tar