Tag: statistics

DirectAdmin – Site Statistics

by admin on Jul.27, 2009, under Tutorial

Checking Disk Space and Bandwidth 

To check disk space and bandwidth usage, click on the "Statistics" icon from the main control panel menu.  At the top of the screen you will see these tables:

The numbers in the tables represent megabytes, and approximately 1000 megabytes = 1 gigabyte. 

You are provided with two different disk space / bandwidth measurements.  The first table lists usage by domain and the second table lists total usage.  Total usage is generally higher than domain usage because total usage statistics include factors that are separate from your domain, such as MySQL databases and control panel use.  It is possible to host several domains on one account, so separating domain and total usage is necessary.

Note:  DirectAdmin uses total usage (not domain usage) to determine when quotas have been exceeded.

Accessing System Logs

At the top of the Statistics menu are three text links: "Backed up Apache Logs," "Apache Usage Log," and "Apache Error Log."

Backed up Apache Logs

Clicking the "Backed up Apache Logs" link will bring you to a File Manager screen containing a list of .tar.gz files named by domain/subdomain and month.  For example:

Here we see four backups for the month of April: the subdomains (admin, newsub, and reseller), and the backup for the main domain (Apr-2003.tar.gz).  Backed up Apache logs contain both usage and error data.

Click on the file name of the backup to download it.

Note:

Log files are owned by the server administrator and cannot be deleted.  Log files do not count towards your disk space quota.

Apache Usage and Error Logs

Apache usage and error logs can be viewed directly by clicking on the "Apache Usage Log" or "Apache Error Log" link. 

The raw logs appear in a large text box that looks like this:

The above image is an example of an error log.  Viewing raw logs are a great way to troubleshoot specific problems, such as installing and executing scripts.  Both logs (usage and error) are backed up monthly and archived in /home/domain.com/logs.  Please see the previous section ("Backed up Apache Logs") for more information.

Viewing Account Information

The main Statistics menu provides a great deal of information.  As mentioned above, the first two rows of the table (Bandwidth / Disk Space) provide total usage.  That is, DirectAdmin uses these numbers for quota purposes (and not the numbers in the Domain Statistics table — see first section entitled "Checking Disk Space and Bandwidth").

When your account reaches the maximum bandwidth usage, your site will stop functioning until the first day of the next month.  When your account reaches the maximum disk space usage, you will not be able to upload to your site until some files are deleted.

The information in this table is self-explanatory and will not be discussed in depth.  If you haven’t done so already, please set your current e-mail address in the "Email" field and click "Save."

Webalizer Statistics

In the main Statistics menu, click on the appropriate domain name to launch Webalizer.  Please note that your site must be up for 24 hours and have some log activity before Webalizer statistics will become active.

At the first Webalizer screen, you will see a chart (like the one above) and a list of months in a table below.  Click on the month you want to view.  Webalizer statistics are very detailed and will provide a great deal of information about site traffic, most requested URLs, exit points, location of visitors, and much more.

Leave a Comment :, , , , , more...

DirectAdmin – Subdomains

by admin on Jul.25, 2009, under Tutorial

This document provides information about subdomains.  Topics include creating subdomains, removing subdomains, subdomain statistics, usage logs, error logs, and creating FTP users for individual subdomains.

Creating Subdomains 

To create a subdomain, click on the "Subdomains" icon in the main control panel menu.

In the above example we are creating newsub.sitehelper.com.  To create the subdomain, click the "Create" button.

You may also create sub.sub.sub.sub.domain.com.  In the above example we have created i.love.site-helper.com.

Note:  It may take up to five minutes for a new subdomain to become active.

Uploading to a Subdomain

Each subdomain appears in public_html/subdomain-name.  This means that your subdomain can also be accessed at http://www.yoursite.com/subdomain-name.  You can upload to a subdomain folder in the same way you upload to any other folder: use FTP, MS FrontPage, File Manager, etc.

Removing Subdomains

To remove a subdomain, place a check next to the subdomain(s) you want deleted, then click the "Delete Selected" button.  Next to the "Delete Selected" button is a checkbox called "Remove Directory Contents."  Check this box if you want the subdomain directory and its files to be deleted.  If you don’t check the box, the subdomain will stop working but the files and directory will remain intact.

Subdomain Statistics

Beside each subdomain name is a "Stats" link (see above picture).  This link will load Webalizer statistics.  Please note that for the link to work (1) your subdomain must have some traffic (at least one hit) and (2) your subdomain must be more than one day old.  Until these requirements are met, the "Stats" link will return a file not found error.

Usage Log / Error Log

The "Usage Log" and "Error Log" links (see above picture) will take you to text version of each log file.  The usage log provides the IP address of the requester, time and date of the request, and the description of the request.  The "Stats" link (see Subdomain Statistics section) is a graphical version of the usage log.  The error log provides information about unsuccessful requests and is useful for troubleshooting when the cause of the error is unknown.

The usage and error logs are accessible immediately after subdomain creation.  You will see a blank box if there has been no subdomain activity.

Creating FTP Users for Individual Subdomains

To restrict an FTP account to a single subdomain, follow these steps:

1.  Create the subdomain if you haven’t done so already.

2.  From the main control panel menu, click the "FTP Menu" icon and then the "Create FTP account link."

3.  In the "FTP Username" field, enter the subdomain name (without .yourdomain.com).

4.  Enter a password in the password fields.

5.  Select the "User" radio button.

6.  Click the "Create" button.

Leave a Comment :, , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Kontak

Budhi Indah A 31
Cimindi Cimahi 40514
West Java
Indonesia

Phone/SMS :
Info/Bantuan : 62-8158-6270622
Billing/konfirmasi : 62-8888-763551

Self Advertise


My site is worth $7548.2.
How much is yours worth?