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 107,865 views bookmark tags: stats webalizer (updated 746 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 1037 days ago)
Knowledgebase Article 147,674 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 1023 days ago)
Getting Started Article 121,744 views tags: awstats domain select stats view

What is the difference between parked domains and addon domains? (updated 1037 days ago)
Knowledgebase Article 120,829 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 543 days ago)
Getting Started Article 178,418 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 1304 days ago)
Knowledgebase Article 135,819 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 1953 days ago)
Knowledgebase Article 87,095 views tags: people statistics stats

I do not want to see addon.maindomain.com. How do I do that? (updated 1030 days ago)
Knowledgebase Article 119,342 views tags: accessible addon directory domain folders hidden htaccess inaccessible primary secondary

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

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

How do I setup an addon domain or parked domain in my hosting account? (updated 255 days ago)
Knowledgebase Article 346,285 views tags: addon domains parked

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