Problem:
Is there a way for me to have an add-on domain and check the stats for that site outside of the control panel?
Solution:
To view your stats using Webalizer, follow these steps:
Note: You will need SSH Access to complete these steps.
- Open a Terminal for SSH/Shell Access
- Mac users To open Terminal, navigate to your Applications folder, open Utilities, and double click on Terminal - Windows users can use anything they want but we suggest Putty.
- Using your username and your password you will get direct access to the Server, you will see a command prompt, It will look something like this:
YourUsername@box** [/home/Yourusername]#
- Logged into the account you will want to navigate (or change directory) to the desired folder (or directory) - Main domain will be username@box** [/home/username]# cd public_html
- Addon domains will be username@box** [/home/username]# cd public_html/YourAddonDomainFolder
- In the desired folder you will want to create a symbolic link
- To create a symbolic link for the main domain use this syntax: ln -s /home/username/tmp/webalizer webstats
- To create a symbolic link for any addon domains use this syntax: ln -s /home/username/tmp/webalizer/addondomain.maindomain.com webstats
Note: There is a space before the word webstats. Caution: Do not use stats as the name of the directory, because apache has reserved this name as an alias.
- Change the permissions on the webalizer directory to 755.
- Main domain will be: username@box** [/home/username/public_html]# chmod 755 /home/username/tmp/webalizer - Addon Domain will be: username@box** [/home/username/public_html/YourAddonDomainFolder]# chmod 755 /home/username/tmp/webalizer/addondomain.maindomain.com
Note: Make sure to replace "username" with your actual username. And, replace main domain and addon domain with your actual domain names. Main domain is your primary domain you signed up with. Addon domain is an additional domain you have on your account that you'd like stats for. You can also change permissions for the webalizer folder using File Manager from cPanel.
Keywords: stats addon domains subdomain domain statistics control panel webalizer
|
Add to Favourites
Print this Article
|