Knowledgebase : cPanel

Changing PHP Versions with the MultiPHP tool for cPanel.

  1. Log Into your cPanel Account.
  2. In the Software section of cPanel search MultiPHP Manager.
  3. Once in MultiPHP Manager there will be a list of domains on your account. Select the domain you would like to change PHP Versions for one at a time with the check box on the left side of the list.
  4. Once you have your domain selected use the "PHP Version" drop down box on the top right of MultiPHP Manager and select your desired PHP Version and click Apply.

We are complete! If these steps are followed in the correct order, you can set your PHP version to any available version you'd like!

A subdomain is a second website, with its own unique content, but there is no new domain name. Instead, you use an existing domain name and change the www to another name. The subdomain name looks like,, (assuming you already host

An addon domain is a second website, with its own unique content. This type does require you to register the new domain name before you can host it. So, if you want to host, this is the solution. If you want this feature, please purchase a reseller account.

A parked domain is NOT a unique website. Instead, it is a masked forward to the primary domain name of your cPanel account, much like a website alias. Parked domains are commonly used when you need a place to park a domain you do not have a website for, when you have more than one domain that should lead to your primary domain, or when you have common misspellings of your domain name that you have registered.

To add an FTP account:


Click on the Ftp Manager button on the home page.

Click on the FTP Accounts link.

Click on the Add Account link.

Enter the name of the FTP account in the Login field and the password for the account in the Password field.

Enter the path to the directory to which this FTP account has access.

Warning: If you enter the top-level of the web site by entering a slash (/), all users with the correct password will be able to add, edit, and delete all files on your site. It is advisable to limit an FTP account to a smaller section of your web site.

Click on the Create button.

The first things you will see are;

Unique Visitors
Number of Visits

These can be a bit confusing so here is a brief explanation.

Unique Visitors - These are the total number of visits by a unique IP address. This can be a bit misleading because dial-up visitors get a new IP each time they log on so you can have the same person visit different times and give a unique hit.

Number of Visits – The number of visits are the total number of visits by all visitors over a given period of time. If I visit your site and then come back 4 more time you should see one Unique visit and 5 visits from me.

Pages – This is the total number of pages viewed by visitors. This does not include images, java script or CSS and the like. Just HTML and CGI type files.

Hits - This is every file requested by the visitor. This includes pages and images together. If you have a page with 2 images calling a java script file the page will generate a total of 4 hits. The most common referenced stat used and one that is virtually meaningless (and useless). The more appropriate numbers to consider are both 'number of visitors' and 'unique visitors' (see above).

Bandwidth – The total number of bytes downloaded. If you have a page that has 50 KB of text, 2 images at 24 and 32 KB then each visitor to that page will take 106 KB of your bandwidth.

AWStats then gives you this information for the year so far as well as a 30 and 7 day perspective. Finally it gives it to you by the hour.

Next is Visitors Domains/Countries (Top 25)*. This shows you what countries your visitors are coming from, starting with the most and working its way down.

* All categories with a Top 10 or 25 have a link to the right of the category that can give you an entire list if there are more than 10 or 25.

Following this is the Hosts Top 25. This gives you a breakdown of the top individual visitors to your site.

Next is a popular category, Robots/Spider Top 25 visits. Here is a great way to see when your favorite search engine has last visited your site as well as how many hits it has made (again, 'hit' can be misleading here).

Although not as popular of a category, the Visits Duration is an important one. Here you can tell how long visitors are staying on your site. Are a vast majority leaving in the first 30 seconds? Maybe it’s time to rethink your sites design or content.

Files/Type lets you see what files are generating the most hits.

Top 25 Pages – URL gives you the most visited pages on your site.

Top 10 Operating Systems shows what Operating Systems your visitors are using in order of popularity.

Next is Top 10 Browsers. Like the OS category above, this shows what browsers your visitors are using in order of popularity.

Connect to Site From is a multi-part category.

It starts with Direct Address/Bookmark. This is the number of visitors that either know the name of your site or have it bookmarked.

Links from a newsgroup is just that.

Links from an Internet Search Engine gives us a listing of the number of visitors coming from a search engine.

Links from Other Web Pages shows what pages your visitors are coming from. This does not mean there is a link to your site on the listed page; it just registers where the visitor was coming from.

Links from an Internal Page is self explanatory and Unknown is just that, not known.

Next we have our top 10 key phrases and top 25 key words used to find our site.

The last two are Miscellaneous and HTTP Error codes. These give miscellaneous information and what HTTP codes are given to your visitors.
The creation of account usernames is 100% automated.

The account username that you are issued with your welcome email will NOT be changed.
Cron jobs allow you to automate repetitive tasks on the server that hosts your web site. This is a powerful tool that allows you to take a hands-free approach to repetitive tasks. For example, you could add a cron job that automatically copies a MySQL database to a separate location on your site as a backup.

There are two different modes you can use to add a cron job:


Standard - Provides a range of pre-set options that you can choose. This is the simplest method and is recommended.

Advanced (Unix Style) - Provides the regular Unix style cron options. Recommended for users who are used to this method of entering cron entries.

Warning: You need to have a good knowledge of Linux commands before you can use cron jobs effectively. Check your script with your hosting administrator before adding a cron job.

To add or modify a cron job:


Click on the Cron jobs button on the home page.

If you want to use the Standard mode, click on the Standard button.


Enter the e-mail address to send the results of running the cron job in the top field.

Enter the command the you want to run in the Command to run field.

Click on one option from each of the available lists.

Click on the Save Crontab button. Your cron job has now been added or updated.

Note: You can always click on the Reset Changes button to change the cron job back to whatever it was before you started entering information.
Click to display imageAdding a cron job (Standard mode)

If you want to use the Advanced mode, click on the Advanced (Unix Style) button.


Enter the times for the cron job in the Minute, Hour, Day, Month, or Weekday fields. Refer to the following page to check exactly how to enter values in these fields -

Enter the cron job script in the Command field.

Click on the Commit Changes button. Your cron job has now been added or updated.

Note: You can always click on the Reset Changes button to change the cron job back to whatever it was before you started entering information.
Disable hotlink protection when you no longer think that another web site owner is directly linking to your files.

To disable hotlink protection:


Click on the HotLink Protection button on the home page.

Click on the Disable button.
To download a backup file:


Click on the Backup button on the home page.

Click on the Daily, Weekly, or Monthly backup file to download the entire system backup for the indicated time, or click on the link underneath the required area to download an SQL, Alias, or Filter backup file. Refer to Generating a backup if you need to generate a backup first before downloading it.

Note: To download any previous stored backups, click on the Generate/Download a Full Backup link, and click on any backup that is listed.
Click to display imageDownloading a backup file

Save the file to disk.

Note for Windows users: This file is in .tar.gz format (a GZIP archive file that contains a TAR archive file). This is a common archive format used on Unix machines, in the same way that .zip is a common Windows archive format. Most compression utilities should be able to uncompress a .tar.gz file.
To generate a backup:


Click on the Backup button on the home page.

Click on the Generate/Download a Full Backup link.

Click on the location for the backup from the Backup Destination drop-down list. The following locations are available:

Home Directory - Saves the backup in the public_html level of your site.

Remote Ftp Server - Saves the backup on a specified remote FTP server.

Remote Ftp Server (passive mode transfer) - Saves the backup on a specified remote FTP server that will only accept passive (PASV) mode FTP transfer. Please refer to your hosting administrator or the remote FTP server if you have questions about passive mode transfer.

Enter your e-mail address in the Email Address field. An e-mail will be sent to this address when the backup has completed.

Enter the FTP address, user name, and password in the Remote Server, Remote User, and Remote Password fields if you are saving the backup file at a remote location.

Click on the Generate Backup button. An e-mail will be sent to the specified address when the backup has finished and can be downloaded.
Hotlinking is when another web site owner links directly to one or more of your images or multimedia files and includes it on their web page. Not only is this theft of your intellectual property, you are paying for the bandwidth used by that site. Refer to this article for more information on hotlinking.

CPanel can prevent hotlinking by only allowing named sites (such as your own web site) to access files on your site.

To prevent hotlinking:


Click on the HotLink Protection button on the home page.

Enter any other addresses that you will allow to access your site other than the provided defaults in the central area.

Enter the protected extensions in the Extensions to allow field. Make sure you separate each extension with a comma.

Enter the address to redirect any hotlinking to in the Url to Redirect to field.

Click on the Allow direct requests tick box if you want to allow direct URL access to non-HTML files, such as images.

Click on the Activate button.
If there is an IP address you want to block from your website, you can do so inside Cpanel. Here are the steps:

1. Log into your Cpanel account.
2. Under "Site Management", go to Ip Deny Manager.
3. Under "Add an IP Deny:" enter in the IP address you wish to block.
4. Click "Add".

You're all set! Now to remove the IP banning, all you need to do is remove the string it created in your .htaccess file or select it from the drop down menu on the Ip Deny Manager page.
The IP Deny Manager enables you to block access to your web site from specific IP addresses. This is useful to remove nuisance surfers who use a large amount of bandwidth or to prevent hotlinking to your site (refer to HotLink Prevention for more information about hotlinking).

To add an IP address to the IP Deny Manager:


Click on the IP Deny Manager button on the home page.

Enter the IP address that you want to block in the IP Address field.

Click on the Add button.
You can reset your access to your cPanel via our billing system using the following steps:

Log in to the billing system at
Once logged in, click on Services then My Services.
Then go to the right hand side and click View Details.
Then select the Change Password tab, from here you can change your cPanel password

Alternatively, we can reset it for you, however, as a security check we ask that you provide us with:

1 - Your full address (including zip code),
2 - Your phone number ,
3 - The last four digits of the credit card being used to pay for the hosting account .

The above acts as proof of ID so that we may then reset your password.

To restore your web site from a backup file:


Click on the Backup button on the home page.

Click on the Browse... button next to the relevant area that you want to restore.

Search for and double-click on the relevant backup file (in .gz format).

Click on the Upload button.

Note: You may need to wait for a few minutes to upload and restore a large web site file.
The Redirects area allows you to redirect Internet traffics from one web page to another. This is usually used when a web page has been moved to another location.

To set up a redirect:


Click on the Redirects button on the home page.

Enter the address of the web page to move in the first field.

Enter the redirection address in the second field.

Choose one of the following options in the drop-down list:

Temporary - This tells Internet traffic agents (browsers, search engines, etc.) that this is only a temporary redirection, and that they should return to this initial location again in the future for the same page.

Permanent - This tells the Internet traffic agents to go to the redirection address in the future, as the old address will never be used again.

Click on the Add button.
What is cPanel?
cPanel is a server side management system the runs the back end of your site. From here you have access to many controls and scripts that will add everything from tracking abilities to new scripts to your site.

How to login to cPanel
There are several different ways you can gain access to your cPanel. The first and most obvious is by going to Another is by putting in the IP address and fallow it up with "/cPanel". Lastly, you can also attempt to gain access by putting in server?? Once you have done one of those three, a new login window will pop up. Just put in your user name and password, as assigned to you from your welcome e-mail and you're all set!

The insides of cPanel
All of the different options might be a little over whelming the first time you login to your account. For the most part, everything is sub-divided into it's own category and box. At the top you should see a message logging in your IP address and also telling you "Welcome to Server??" where the "??" will be replaced by your server number. (Make note of this, it makes our jobs easier when you need to put in a help desk ticket if you give us your server number.)

Starting at the top
At the top you should see four boxes reading: Home, File Manager, Update Contact Info, and Log Out.
Home - This will lead you back to the main cPanel screen.
File Manager - This will lead you to cPanel's File Manager.
Update Contact Info - This will allow you to change your contact e-mail.
Log Out - This will log you out of cPanel.

Account Information
On your left, you should see a box titled "Account Information". Listed through this box you should see a plethora of information on your account. Here's a list of some of the more important details and what it means for you and your account at TotalChoice Hosting.
Sub Domains - The number of sub domains you have set up on your account currently.
MySQL Databases - The number of active MySQL Databases you are using.
Disk Usage - Shows the amount of disk usage you are using.
SQL Disk Usage - Shows the amount of SQL desk usage you are using.
Bandwidth Usage This Month - Your bandwidth usage for the month.
Disk Space Available - The amount of space you have left currently.
Email Accounts - The number of e-mail accounts you have set up.
Email Forwarders - The number of e-mail forwarders you have set up.
Auto-Responders - The number of auto-responders you have set up.
Mailing Lists - The number of mailing lists you have set up.
Email Filters - The number of e-mail filters you have set up.
FTP Accounts - The number of FTP accounts you have set up.

Server Information
This is the box located under the "Account Information" box. In this box you will get more details about the TotalChoice Hosting server that you are currently on.
CPanel Version/Build - The version/build number of the cPanel.
Operating System - The operating system the server you're on.
Apache Version - Apache version for the server you're on.
Perl Version - The Perl version for the server you're on.
Perl Path - The path to Perl for the server you're on.
Installed Perl Modules - A list of installed Perl modules on you're on.
PHP Version - The version of PHP your server is using.
MySQL Version - The version of MySQL your server is using.
SendMail Path - The path to SendMail on your server.

Server Status
When you click on this link you'll get a full detailed list of what all is up and running on your site, or what might be down at the moment. If you need more details, then please feel free to check out!
TotalChoice Hosting, Inc.