cPanel For Beginners
Getting Started With cPanel Control Panel
cPanel is the control panel of choice for many web hosts to allow them to provide their customers with Linux based website hosting solutions, and with the launch of the Windows version, Windows based website hosting solutions. cPanel is well known for its loading speeds, since it is very fast when compared to other control panels that are in the same market as it is; the key to its loading speeds is down to it system architecture - for example unlike other control panels, cPanel doesn’t rely on any databases meaning that it has no database application to slow down it down. cPanel provides many features that can be confusing for people who are new to the concept of web hosting, and who have never used a control panel before to manage any aspect of a website or website hosting package; the main aim which most people have is to get their website online and to get the email services for their website configured to that they can start using their new domain and website hosting package - this might be confusing for some at first since there are several different purposes involved with setting up both features, although on further inspection it can be easy for someone with little technical knowledge to achieve their main aim.
If you are an advanced user with a respectable amount of technical knowledge, then you might want to consider customizing your shared hosting environment as to ensure that your custom applications can run without the need for a more expensive hosting solution such as a VPS Server or a Dedicated Server, both of which carry price tags that can be substantially different than those for basic shared website hosting packages. cPanel provides tools and features that you can utilize to manage your hosting account effectively, since it gives you the ability to manage the contents of your web space online which means that you can easily upload and download files that you host from any internet connected location that allows you to connect to cPanel via the cPanel port.
You are also given the ability to view the amount of visitors that your website has received in any period of time; this can be done via the use of a third party program known as ‘AWStats’ which most web hosts provide as standard with their shared cpanel website hosting accounts, this means that if you want to see if an advertising campaign that you have put into practice is working or not since if it was you should be able to notice an increase the amount of visitors to your website.
Other management tools include ‘PHPMyAdmin’ which you can use to manage the MySQL databases that you have created in your cPanel hosting account; PHPMyAdmin is a web interface that is accessible through cPanel which means that you are able to administer your MySQL databases from any internet connected location without the need for any type of desktop database management program. As standard with most control panels, webmail applications are included to allow you to view and manage your emails from any internet connected location; however, unlike other control panels, cPanel give you a choice since both the Horde and SquirrelMail webmail applications are included to allow you to remotely check your email. Other advanced features of cPanel allow you to create and manage custom email filter rules, meaning that you can easily keep out spam that is being specifically targeted at you and your website; this type of configuration is not normally achievable with other control panels, and cPanel also allows you to create custom SpamAssassin rules to ensure that you receive as little spam as possible.
If you are new to using cPanel, then with the use of this article you will be able to upload your new website and configure it so that visitors can start coming, and will also be able to create and configure email accounts for yourself and your colleagues so that you can start communicating electronically; if you have a dynamic website that is based on PHP, then you will also be able to create a MySQL database from scratch - screenshots have been provided to make the learning process even easier.
The Main cPanel Homepage
When you first login to cPanel, you will reach the main homepage for the control panel that will provide you with all the information that you might need to know about the server for your dynamic applications, as well as with all the different options and categories that you might need to make the most of your new website, domain and hosting package. In most cases, you will be using the new cPanel 11, where the main homepage looks like this:

The main cPanel categories that all the different options have been grouped into to ensure maximum ease are:
- preferences - options in this category are mainly to do with the administration of your actual hosting account, such as the password for it and the main contact email address that you want to use with it
- mail - options in this category are related to the email services for your domain name and website
- files - options grouped under this category are related to the management of files that you have hosted within your web space, as well as the management of FTP accounts
- logs - this group of options is related to visitor statistics for your website
- security - options under this category are related to the security of your website, and allow you to password protect any directories that you have as well as the management of any SSL certificates that you might have
- domains - options under this category are related to the management of domain features for your domain
- databases - these options are related to the creation and management of databases under your hosting account
- software/services - items under this category are related to the advanced customization of your hosting environment
- advanced - these features are related to advanced aspects of your hosting environment, and should only be touched if you know what you are doing.
The cPanel homepage allows you to access all the different features that you have been provided with to manage your new hosting account, meaning that you are able to carry out the actions that you need to without any intervention from your hosting company, although you are normally able to turn to them if you require some sort of support for any cPanel feature. Like most control panels, the homepage is able to provide you with detailed technical information regarding your account such as the amount of disk space you are using out of the total amount that has been assigned to you, as well as the amount of bandwidth that has been used up by your visitors in relation to the amount that has been assigned to your hosting package; you are also able to see how many email accounts you have created out of the number you are allowed to create for your new domain.
Creating a Subdomain
You might want to create new domains under your existing domains to split your website up into more manageable areas; these subs are known as ’subdomains’. They can be easily created through cPanel, and allow you to easily upload content to their folders so that you can start serving content from them as soon as the necessary content has been uploading into your web space. In order to create and manage subdomains through cPanel, you will need to choose the subdomains icon from under the domains category:

You will then be taken to the following screen:

To create a subdomain, you will need to enter the following information into the required text boxes:
- subdomain (circled red) - this is where you enter the actual identity of the subdomain that you want to create
- domain (drop down box - circled green) - you will be required to select the domain that you want the sub to be created under, in the case that you are hosting multiple domains under your cPanel hosting account
- document root (circled blue) - this is where any files that you want to be accessible under the new subdomain will be held, it can be anything you want just as long as it is under your account’s ‘home’ directory - cPanel will automatically make this ‘/public_html/chosensubdomain’ when you place your cursor in the text field.

Once you have clicked ‘Create Subdomain’, you will be redirected to a screen which should hopefully confirm that you have successfully created a new subdomain:

Once you have created your new subdomain, you can then move on to uploading your content into the folder that you have pointed the new subdomain towards so that visitors can start accessing it. In most cases subdomains are used to give products their own unique identity in terms of domains, and search engines will normally favour a website that has used subdomains over one which has uses ordinary directories to order their content; this is because it is easier for a search engine to crawl a subdomain website rather than once which uses directories since in most cases the content is much easier for them to find and use, meaning that it would probably be easy for a human to find and use a website which is utilizing subdomains when compared to one which is using directories.
Creating an Email Account
If you want to start communicating with others electronically using emails, then you will need to create email accounts under your hosting account that you and your colleagues can use to communicate with each other as well as with clients and others. cPanel provides you with many different features in order to help you manage your email accounts and to stop any spam from reaching your account, however the management of these features is very complicated and is for advanced users only really; on the other hand, creating an email account is a very simple task which can be achieved by almost anyone. In order to create an email account, you will need to select the ‘email accounts’ option from the mail category:

You will then be taken to the management panel where you will be able to create and manage any email accounts that you want under your hosting account. In order to create an email account, you will need to provide the following information:
- email (circled red) - this is the identity that you want to give the email address - for example the identity in ‘email@domain.com’ would be ‘email
- domain (circled green) - you will need to choose the domain for which you want the email account to be created for in the case that you are hosting more than one domain in your cPanel web hosting account
- password (circled blue) - you will need to choose a password that you will have to use to gain access to the email account, if you are unable to think of one then cPanel will automatically generate one for you
- quota (circled purple) - if you want to limit the amount of space that is used by an email account, then you should enter the amount which you want to limit the account to - just ensure that you have enough space left in your hosting account.

Once you click ‘create’, you will then be taken to a screen that should hopefully confirm that the email account which you want has been successfully created. You will also notice that on the email management panel that there is a table that contains the email accounts which you have already created; this means that you can easily manage the email account which you have just created, as well as others which you might have already created.
Emails are being increasingly used in todays internet connected society to allow people to communicate with each other almost instantly, this means that you can allow you and your colleagues to communicate with each other and clients electronically almost instantly. cPanel also provides webmail applications to allow you to access your email accounts from any internet connected location, enabling you to check your email from almost anywhere in the world; an automatic Outlook configuration file generator is also provided to allow you to configure your Outlook installation to work with your email account if you don’t have the necessary knowledge or information to do it yourself.
Creating a MySQL Database and MySQL User
If you run a PHP based dynamic website which needs to utilize a database, then you will most likely consider using a MySQL database to store the data which your PHP based application will need to access and use to ensure that it is able to run effectively and efficiently. MySQL is an open source database platform, which means it is free and is one reason why you will find it as part of almost any Linux based website hosting package; it is installed as part of cPanel which means that you will find it included with almost any cPanel based website hosting package.
If you create a MySQL database, then you will need to create a MySQL user so that your PHP applications are able to access your MySQL database so that they are able to delete and add new data to the database. In order to create a MySQL database, you will need to choose the ‘MySQL Databases’ option from the databases category. You will then be taken to the following page:

The only piece of information that you will be required to enter is the name of the database that you want to create. Once you click ‘create’, you will be taken to a page which should confirm that the database has been successfully created. However, once you have created a database, you will want to create a MySQL user to allow your PHP and dynamic web applications to access the database.
In order to create a MySQL database user, you will need to return to the MySQL databases homepage. You will then need to scroll down to the MySQL users section:

You will then be required to enter the following information in order to create the user account:
- username (circled red) - this is the login that will be used in order for your scripts to access the database
- password (circled green) - you should apply a password to the user account, otherwise hackers might be able to find a way into your database.

Once you click ‘create’, you should then be redirected to a page which should hopefully confirm that the user account has been successfully created. In order for the user account to be functional with the MySQL database that you have just created, you will need to scroll down to the section labeled ‘Add User to Database’:

You will need to select the user account that you want to assign, then the database to which you want to assign the user account. Once you have done that, you should then be redirected to a page confirming that the user has been successfully assigned to the database.
With the use of MySQL databases, you should be able to make your website more dynamic in the way that it functions since you will be able to store the content and data that it requires in one central location; this means that users will be able to have a more interactive experience with your website - this means that you are able to provide your website’s visitors with a range of new services based around a database. cPanel allows you to manage any MySQL databases that you create with ease; you can use the web based third party PHPMyAdmin application in order for you to manage your databases via an online interface from any internet connected location, meaning that you are able to manage your cPanel MySQL databases from almost anywhere in the world.
Uploading Your Website
One of the main things that you will be wanting to achieve with your new cpanel website hosting package is the ability to host your website under the domain that you have purchased for your new hosting account. With a website you will be able to show off your business to prospective clients, or provide existing clients with a place where they can manage the account that they have with you; this means that you could easily gain your business an extra source of income with the use of a website to sell your products online.
When uploading your website to your web space, you have the choice to make of how to upload it - you can use the classic method of FTP which means that you connect to your web space via FTP using an FTP account that you have created through cPanel, or you can use the cPanel file manager to upload all your files into your web space although it could take considerably longer.
If you want to upload your website via FTP, you will first need to go to the FTP account manager by select the ‘FTP accounts’ option located under the files category on the cPanel homepage:

To create an FTP account, you should look at the first section of the page which is titled ‘add FTP account’; in this section, you will need to enter the following information:
- login (circled red) - this is the name of the actual FTP account and is what you will use to login into your web space via FTP
- password (circled green) - it is highly recommended that you password your new FTP account for maximum security
- home directory (circled blue) - this is the highest level directory to which you want the account to have access.

You should then be directed to a page which should hopefully confirm that the FTP account has been successfully created. You can then proceed to use your favourite FTP client to upload your website’s files to your web space using the FTP account that you have just created.
If you want to upload your website’s files using the cPanel file manager, then you will need to select the option labeled ‘file manager’ from the file category of the cPanel homepage:

The following box will pop up, and you will need to select ‘web root’ (circled red):

You will then need to navigate to the folder where you want to upload your website’s files to if necessary. You will then need to select the ‘upload’ option from the toolbar of the file manager:

You will then be taken to the following page:

As you can see, you are given three boxes in which you are able to upload files. You are given the option to add additional boxes if needed.
In theory, it is much easier for you as a beginner to upload your files to your cPanel web space via the means of FTP, since you can get more files placed into your web space in one go than is possible with the web based file manager. However, in terms of ease it can be sometimes easier to use the web based file manager since you are able to upload files using it from any internet connected location so long as you have a reasonable connection speed and are able to access your cPanel account. So in practice, if you want to upload your files conveniently and efficiently then you should use FTP to upload your files, but if you don’t have much time on your hands and are in a public place such as an internet cafe that might block the FTP port then you should use the web based file manager.




















paul said,
April 21, 2008 @ 12:01 pm
Thank you for this great tutorial. Truly cPanel provides great flexibility to the users.