HostMonster Web Hosting Help

Viewing Stats for Addon Domains outside the control panel

Summary

Using SSH you can setup access to Webalizer from ourtside the HostMonster Control Panel.

Accessing Webalizer outside the Control Panel

To view your stats using Webalizer, follow these steps:

Note: You will need SSH Access to complete these steps. For information about requesting SSH access, Click Here.

  1. Open a Terminal for SSH/Shell Access

    Mac

    Navigate to your Applications folder, open Utilities, and double click on Terminal

    Windows

    We suggest PuTTY.

  2. 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]#

  3. 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

  4. 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.


  5. Caution: Do not use stats as the name of the directory, because apache
    has reserved this name as an alias.
  6. 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.

Note: You may need to adjust /home/ to /home1/ or home2/ or a different number depending on the home directory your account resides on. To view the home directory for your account simply view the stats column on the main cPanel page of your account and look for the home directory.

Knowledgebase Article 73,209 views bookmark tags: stats webalizer (updated 350 days ago)


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Can I make subdomains for my addon domains on the account? (updated 641 days ago)
Knowledgebase Article 118,887 views tags: add addon dns domain park subdomain

To view your stats, scroll down to the Logs section of the cPanel Here are different programs that can be used to view your stats. We most recommend awstats When you select your stats program, you ma (updated 627 days ago)
Getting Started Article 93,891 views tags: awstats domain select stats view

What is the difference between parked domains and addon domains? (updated 641 days ago)
Knowledgebase Article 97,783 views tags: add addon domain park parked

Related Help Content

To enable Awstats and Webalizer scroll down to the Logs section of the cPanel Click on the Choose Log Programs icon Click on the checkboxes for awstats and webalizer for the domain for which you wish (updated 146 days ago)
Getting Started Article 133,476 views tags: awstats button hours stats webalizer

If you are receiving an error that the page could not be displayed when trying to log into the control panel. It is most likely due to the fact that your firewall is blocking the port that the control (updated 908 days ago)
Knowledgebase Article 77,905 views tags: accessing control firewall log login panel

When I click on awstats or webalizer, there aren't any domain names listed for which to view stats. (updated 1558 days ago)
Knowledgebase Article 51,680 views tags: people statistics stats

I do not want to see addon.maindomain.com. How do I do that? (updated 633 days ago)

I would like to view the statistics for my website. (updated 641 days ago)
Knowledgebase Article 95,932 views tags: addon domain enable hits set setup statistics stats subdomain visitors web

This article will explain how to log in to your Account Control Panel (updated 467 days ago)
Knowledgebase Article 102,295 views tags: access control cpanel log login panel

How do I stop people from being able to use the addon domain as a subdomain of the primary domain? (updated 643 days ago)
Knowledgebase Article 109,422 views tags: addon domain htaccess

How do I FTP to my addon domains without interfering with my main account. (updated 641 days ago)
Knowledgebase Article 161,715 views tags: addon domain ftp