BLOG HOME -  UK WEB HOSTING -  PHP MYSQL HOSTING -  RESELLER HOSTING -  eUKhost FORUMS -  VPS HOSTING

Archive for Linux vs Windows

cPanel Database Features

Since cPanel is made to run on the Linux operating system, it’s main database features are based around the hugely popular open source MySQL database system; MySQL is best known for being used with the open source programming language (PHP). cPanel provides you with many tools to aid you in the creation of MySQL databases, as well as the management and editing of them which allows you to ensure that the data that they contain will not be stale which means that the database won’t be using up any unneeded disk space that you have assigned to your web hosting package. Most people uses databases in web hosting to allow them to build dynamic websites so that people are able to do activities on their site that require dynamic database interaction; these kind of activities include signing up as a member, as well as writing on a forum and commenting on a blog post. Others might also use a dynamic in the form of a CMS (content management system) to allow them to edit and change the contents of their website quickly and easily from any internet connection computer in any part of the world. Databases allow you to store information and allow you to access it at any time; most of the actions mentioned previously will make use of the MySQL database system within the context of a shared cPanel hosting environment where the Linux operating system is used, and will make use of a scripting language such as PHP or Perl to ensure that the data can be retrieved from the database and manipulated as needed into the context that will allow it to be displayed on an ordinary website. In some cases other programming languages such as Ruby on Rails (RoR) can be used in conjunction with MySQL to provide a better coded website solution; other database systems might also be deployed in conjunction with other programming languages, for example PostgreSQL has been deployed in some cPanel shared website hosting environments.

With this article you will be given the ability to create and manage MySQL databases within the environment that has been provided for you by your shared cPanel website hosting account. You will be able to deploy MySQL databases which you can then use in conjunction with the applications that you might choose to host within your web hosting account; these applications might be based on open source programming solutions such as PHP and Perl that can both be easily integrated and used with MySQL databases. The ability to manage your MySQL databases via the web based PhpMyAdmin solution that is incorporated with cPanel will also be taught; this includes the ability to execute MySQL queries on the database itself to ensure that tables can be easily setup with scripts that might be provided by programs that have been bought from third party developers, and which you want to use on your website to either help your visitors communicate with each other or to allow you to manage the content that you publish on your website with ease. If you have your own MySQL server or if you want to use the services of a third party MySQL hosting provider, then you will also be able to setup and configure the connection to a remote MySQL server from within the surroundings of your cPanel shared website hosting account; this means that any MySQL databases you setup within your hosting account will actually be setup on a remote server, if you want them to be, and will not be hosted locally on the server that your shared cPanel website hosting account is on - you can also use this feature to configure a backup MySQL server to be used in the event that the local MySQL server fails for some reason or another.

MySQL Databases

The MySQL database section of cPanel allows you to setup and configure MySQL databases as well as the users to go with them to ensure that they can be accessed successfully within your cPanel shared website hosting environment. MySQL databases allow you to store data in a centralized location that can then be accessed by applications that you might have installed on your website; applications that utilize MySQL databases might include bulletin boards, CMSs (content management systems) as well as blogs - basically any type of application that is written in a dynamic server side scripting language such as PHP that needs information to be stored in one centralized location so that it can be called on multiple web pages within the same application. Like most database programs, MySQL allows for the information that is stored in it to be encrypted (normally using the MD5 aglorathim) to ensure that if the database is accessed by a malicious attacker such as a hacker for whatever reason, the important data is encrypted meaning that it will be of no use to the attacker unless they have a method which they can utilize to decrypt the information. As mentioned previously, server side scripting languages such as PHP or Perl can be used to access and display the data that is stored within a MySQL database, as long as the correct MySQL login details are used. One thing to note when using MySQL databases is that you should always ensure that the important data that they store such as credit card details or the names and addresses of customers or members of your websites, then encryption should be used to ensure that this data is unreadable and useless to a malicious attacker such as a hacker if they some how manage to gain access to the database.

MySQL Wizard

The MySQL wizard allows you to easily create and manage both MySQL databases and the users that are required to access them by third party scripts; the wizard is for people who might find the actual MySQL database creation to confusing and in a sense ‘intimidating’. Unlike the main MySQL management panel, it takes you through the creation of a MySQL database and it’s users in steps, and instructions are included with each step to ensure that you are not confused by the process of the creation of a MySQL database. MySQL is utilized by many web based applications that are based on open source programming languages such as Perl and PHP to ensure that they have a centralized location where they can store all their necessary data and configuration settings. Like the programming languages that are used to access it, MySQL is an open source application; open source means ‘free’ and most open source products are ones that are maintained by a community of developers at no cost in most cases. Unfortunately for those of you who might find the actual MySQL panel a little daunting, then the bad news is that you can only use the MySQL wizard for the creation of MySQL databases and the users needed to go with them - you cannot utilize it to manage, edit and delete databases that you have already created using it. One thing to note about the MySQL wizard is that you can only use it for the creation of MySQL databases and the users that access it; you cannot utilize the wizard to manage databases and users that you have already created - that includes the editing and deletion of them.

PHPMyAdmin

PHPMyAdmin is a program that is based on the PHP server side scripting language and is included within cPanel to allow you to manage and administrate the databases that you have created within your cPanel shared website hosting account through your browser. PHPMyAdmin can be run if several different languages which is dependent on yourself, and gives you much needed information about MySQL server on the web hosting server in which you account resides; this information includes facts such as the MySQL version number that your web host has running on the server as well as the PHP extensions that it is utilizing. When a MySQL database is selected for editing or management, PHPMyAdmin allows you to carry out many different actions on the database so that you can manage it effectively; these include the running of SQL queries to create new tables within the database or to clean the database up if you believe that the information it contains may be stale to an extent. If you want to move your database or table to another server, or wish to take a backup of it, then you can easily use the backup tab that is displayed when you look at an individual database within PHPMyAdmin; this option creates a ‘dump’ of the database or table which is infact a t simple text fie that contains the MySQL query that can be used to recreate the database or table on another MySQL server. PHPMyAdmin also gives you many different actions that you can carry out on individual tables that you have hosted within the database; information about the individual tables is also displayed such as the coolation that has been used on it as well as the type of table it is, how many records it contains and its actual size. One thing to note is that when using PHPMyAdmin, you should always be careful as to which options you choose; this is because it is almost a ‘warren’ of many different pages that you could easily muck a database up because you have chosen an incorrect option.

Remote MySQL Server

The remote MySQL server option within cPanel allows you to setup a second custom MySQL server within cPanel that you can use to either create your MySQL databases on, or to backup the MySQL databases that you currently have hosted within your shared cPanel website hosting account to. You can also use the feature to allow other MySQL database servers or regular web servers that you might have you gain access to your databases by adding their IP address or subnet with the use of wildcards. You should only use this feature of cPanel if you have the required technical knowledge to enable you to configure the two servers to ensure that any type of data transfer is done successfully and securely; another reason for this is because you could easily mess up the other MySQL server if you do it incorrectly, and might even end up reinstalling the other MySQL server if you do not set the access rights and permissions in the correct way. The advantages of using this feature are high though; if you backup your MySQL databases to another server then you can set your scripts up to use the other server to retrieve and store the data if for some reason the local MySQL server that is on the hosting node on which you shared website hosting account resides on fails. One thing to note is that you should always be careful when transferring databases over since the data could be easily intercepted by a malicious attacker such as a hacker, who then might be able to use it for harmful purposes such as identity fraud.

Conclusion

In conclusion, cPanel provides you with a number of features which you can use to allow you to create and manage any MySQL databases that you want to have hosted under your shared cPanel website hosting account. You can also use other features to ensure that you can back your databases up to an external database server to ensure that they are safe; you can then use this other server as a database server if needs be - this might be because that the main MySQL database server that is hosted on the hosting server in which your cPanel shared website hosting account resides has failed for whatever reason. With the use of a third party application such as PHPMyAdmin which is incorporated into cPanel, you are able to view and manage all the MySQL databases that you have hosted under your hosting account on the fly; this can be helpful for you if you need to see if any new information has been added to your database via the means of your website, or to check if records that you have stored in your database are beginning to become stale. The use of open source scripting languages to interact with MySQL databases from a website has also been discussed; you can use server side scripting languages such as PHP, Ruby on Rails and Perl to interact with your databases from your website to ensure that your website is dynamic in a sense and to also make sure that the information that is displayed is up to date.

Comments

cPanel Email Features

cPanel contains many features that you can use to setup and configure email accounts for any domains that you might have attached to your shared cPanel website hosting account. Email is a growing form of electronic communication that has already replaced hand written letters as well as electronic faxes; this is because emails give you the ability to send any type of file you want as well as the ability to communicate standard text messages over the internet with ease, although the speed at which the message is sent depends on the speed of your internet connection as well as the size of the email that you are trying to send. cPanel provides you with options that you can use to setup your own spam filtering rules to ensure that you can keep out any spam you receive; normally custom spam filter rules are only available within dedicated server hosting environments, but cPanel allows you to set them up within a shared website hosting environment. Other options given also allow you to access the webmail interface for any email account that you have setup; this can be a helpful feature since it allows you to view the emails of an account without having to set the account up in a desktop email client such as Microsoft Outlook or Mozilla Thunderbird. You are also able to setup auto-responders and email forwarders within cPanel. All these different options within cPanel allow you to set up the email for your domain just how you want it; some of the options given to you are fairly exclusive and make cPanel stand out as an industry leader since such options are normally only achievable if you are hosted in a dedicated hosting environment such as a VPS server or dedicated server. One thing to note is that you should always been careful when changing email options within any type of control panel since you can easily delete an email account, and any emails that it contains; if you incorrectly configure some options you could even end up stopping any email being received by any email accounts that you have hosted under your cPanel web hosting account.

With the use of this article you will be able to configure the email for your domain that is based on cPanel shared hosting with ease and with effect. By the end of this article you should be able to setup custom spam rules to help keep the worst of the spam out of the email inboxes that you have configured within cPanel; you will also be able to create email aliases which you can then use to forward email on to existent email addresses from non-existent email addresses. You will also be able to configure the MX entry for your domain that is contained within the DNS of your domain; this is only used in the situation where your email is going to be hosted either by yourself or by another web hosting or email hosting provider. Another thing that you’ll be able to do is setup custom mailing lists that you can then use to communicate with a large customer base. You will also be able to setup automatic response messages for email accounts that are configured within your cPanel shared hosting account; these messages will then be to the sender of any email that has been received by the specified address or addresses that you have configured automatic response messages for. You will be able to setup DomainKeys and SPF records for your domains through cPanel; these are needed to ensure that your email messages can be receive by people who are using free email services such as Hotmail and Yahoo! Mail.

Email Accounts

The email accounts part of cPanel is the section that you can use to manage the email accounts for all your domains that you have hosted under your shared cPanel web hosting account; this panel gives you the ability to add, modify and delete email accounts for any of your domains. You are given the option to create and manage email accounts under any domain which you have attached to your hosting account. When setting up an email account in cPanel, you are given the ability to choose the domain you want it to be created under as well as the amount of disk space that you want the account to have to store email in; another configurable option given to you allows you to set the password for the account - if you are unable to think of a password at the time then you are able to use a cPanel function that will generate a random password for you that you can then use. In most cases, you are able to set up as many email accounts as you want within cPanel; however, you are theoretically limited in the number that you can set up by the amount of disk space that has been assigned to your web hosting account - the less space you have the less the number of email accounts that you can set up, you might also be limited by the specifications of your web hosting plan if you have chosen a low end one. You can also choose to manage the email accounts for individual domains and sub-domains that you have attached to your account via the use of the drop down option box that can be found in the top right hand corner of the email accounts panel. One thing to note is that when configuring email accounts, you should always be careful as to which options you decide to change or view; if you change information without realizing it then you could prevent users from being able to access their email inboxes, since you have modified the information that they use to login.

Webmail

A webmail interface is one that allows you to view your emails through a web browser without the need for a desktop email client such as Microsoft Outlook or Mozailla Thunderbird. Webmail clients are perfect for you if you are a worker who needs to check their email regularly, but spends a lot of time traveling between different locations; this is because you are able to access your email account from any internet connected computer - although the same is partially applicable to a desktop email client, you can only use one computer since the emails are downloaded and saved to the computer’s hard disk. cPanel gives you the choice to either use the Horde or SquirelMail webmail clients; you can’t choose to use one or the other - once logged into the the /webmail directory of your website, you are prompted to either use Horde or SquirrelMail and this process must be completed every time that you use cPanel webmail. You should not use webmail as a permenant solution for checking and writing emails since the features supplied in a standard webmail application are very limited when compared to those provided by a desktop email application. If you don’t like the webmail client that is provided with your shared cPanel website hosting then you can easily use a third party solution such as NeoMail; these solutions are normally pretty easy to install on any website but do require a certain level of technical knowledge since they normally involve the configuration of a database as well as the setting of file permissions to allow the webmail client to work properly. If you feel the need, you can also use a third party email solution - both free and premium products in this field are available; an example of a free product under this category would be Google Apps - with this you are able to set up your email accounts and then utilize the very well known GMail interface to read your emails, a premium product within this field would be shared Microsoft Exchange Server hosting that you would have to purchase from another web host in most circumstances. One thing to note when using webmail clients is that you should always be careful of what details you enter and what information you are sending since the computer that you are using may have a virus of sorts, or the connection that you are using may not be entirely secure.

BoxTrapper

BoxTrapper is a function within cPanel that makes senders (who are not on your ‘white list’) of emails to addresses that you have specified within your cPanel shared hosting account reply to a verification message; this type of practice is being put in place to help aid the fight against spam. The idea is that an auto-responder verification email is sent to anyone that sends an email to an email address that you have created within your cPanel account; the sender is then required to respond to the verification message with the email that they sent the first time - the email will then be properly delivered to the recipient user’s email inbox where they can read it. Since most spam email is sent from email addresses that don’t actually exist; in this case when the verification email is sent, it won’t be received by any email inbox meaning that there won’t be anyone to reply to it with the original spam message - this means that the spam that they sent first time will not be delivered to the inbox of the intended recipient. BoxTrapper can become quite an annoyance if you are permenantly communicating with people via email; this is because if you don’t choose for people who send email’s to you to be white listed after they have responded to the verification message and have been verified successfully, they have to respond to the verification message with the same email that they have just written every time they want to contact you via email. One thing to note is that when using BoxTrapper, you should always check your BoxTrapper queue regularly since it might contain emails which you were meant to receive, but didn’t since the sender didn’t respond to the verification email that was sent to them; this is a common occurence in spam email as well as emails that you might have received from online shops confirming an order that you have place with them.

SpamAssassin

SpamAssassin is a program that does what it says on the tin; it is used by many web hosts and by many companies within their email servers to help filter out any spam emails that are sent to email accounts that happen to be hosted on their email servers. SpamAssassin works in the way that it scans the headers and the body of incoming emails, then gives them a certain score that is known as a ‘Spam Score’ - the higher the score, the more likely the email is a spam one; all SpamAssassin servers have a ‘threshold’ rating which means that any emails that obtain a spam score above the threshold are automatically deleted or even rejected by the email server. Within cPanel you are given the ability to set your own threshold for all the domains that you may have hosted within your shared cPanel web hosting account; you are also able to choose whether or not emails that receive a spam score above the threshold are automatically deleted or not. You are also given advanced configuration options that allow you define email addresses for both your SpamAssassin black list and white list; these options should only be used if you know what you are doing since you could end up blocking emails from particular senders if you enter the details incorrectly. You should also make sure that the threshold score that you use is neither too low nor too high; if you use a score that is too low then you could end up restricting any email from being received into your email inbox, if you choose a high threshold then you could end up having your inbox filled with spam. One thing to note is that when you are configuring any type of spam protection service, you should always be careful and picky as to which options to configure; this is because that you could end up making the email server that receives email for all the domains that the server hosts reject any incoming mail, which could cause disruption for many people.

Email Forwarders

Email forwarders (sometimes known as mail aliases) are ‘virtual’ email addresses who forward any email that they receive to another email address, which can either be a virtual one or a real one. Forwarders are normally used in situations where mail piping is being used; this is when the email that is received by the alias is parsered by a script, and then added into a database in most cases - an example of this in action would be a ticket system since the emails are parsered by either a PHP or Perl scripts and then added to a database and assigned a ticket id. One thing to note is that email piping normally requires that the email server receiving the emails is hosted on the same server as the web server in order for the script to run. Email forwarders are also used in the situation where you want the emails of several different addresses to be forwarded to one real email address so that all the emails end up being in the same imbox; this is normally done in the situation where you are running several different companies but want the queries for say the support, billing and sales departments to be delivered to the three categorized email inboxes to ensure that there is no confusion, and so that many different email inboxes don’t have to be continually checked. One thing to note when using email forwarders is that you should always make sure that the email address that the emails are being forwarded to is correct, since you could end up forwarding all your private and confidential emails to someone else who just happens to hold the email address that your emails are being forwarded to; you should also make sure that if you are using a script to parser the emails, you enter the correct location and command to make sure that the emails are forwarded and parsered and not just dumped or rejected.

Auto-Responders

Auto-responders are messages that you define which are then sent to any person who sends you an email; the message is sent out each and every time to the sender of any email that you receive. Auto-responders should be used for example when you are not in your office, and won’t be able to check your email; auto-responders should also be deployed in other situations where you will not be near a computer for a certain amount of time meaning that you won’t be able to check your emails. Auto-responders should also be deployed in an environment where it would be a good idea if the sender of an email received some sort of receipt acknowledging the receipt of the mail; an example of this type of environment would include a help support desk for use by a company’s customers. The message that is contained within an auto-responder should only be a small one since the sender will not want to read a large auto-responder, but the information contained must be detailed as to avoid confusion; a message footer should also be attached to any auto-responder, although in most cases a legal denoting footer is attached to any outgoing emails - although this scenario is normally only appliable to a corporate email environment where the information being exchanged is confidential. You should try to avoid the use of auto-responders unless you absolutely have to use them; this is because if you end up having an email account which receives lots of emails, then it means that an auto responder is being sent out for every email you receive - this can easily put a strain on server resources, which is not something that your web host will take a liking to, especially within a shared web hosting environment. One thing to note when using auto-responders is that you should only use them to inform the sender of an email that you have received the email; you should not make the message too long since confusion can be easily caused if this is done.

Default E-Mail Address

The default email address (sometimes referred to as ‘catch all’) will receive any email that has been sent to your domain but the email address that the emails are intended for doesn’t exist, hence the term ‘catch all’ meaning that it catches all rampant email for your domain. Many experts and website hosts do not advise you to use catch all email accounts; this is because if an email attack is directed at your domain then the catch all account will receive all the emails although most will be intended for recipients that don’t even exist - this will put pressure on server resources and might even take the server down if the attack being aimed at your domain is big enough. Some web hosts don’t even allow the use of catch all email accounts since they recognize the risk that they can being to the uptime of the server; at the end of the day, web hosts want to keep their servers up and don’t want silly things such as catch all accounts affecting the performance of their servers since other customers will end up getting annoyed with the down time, and some might even decide to leave in search of another web host. A default email address is good for you if you run a small website which doesn’t receive many visitors, and you are the sole administrator of it; this is because you will not need to create any separate email account, and also means that you can give out any email address you want to people since the email for any email address under your domain will then be hauled into the catch all email account for your viewing. One thing to note when using default email addresses is that you should never use them with a website which receives a large amount of visitors; this is because since your website is very busy, spammers and hackers are more likely to want to take it down meaning that the risk of an email attack is greater, and if you use a catch all or default email account then the attack could really put a strain on server resources and end up taking the server down.

Mailing Lists

The mailing lists function that is built into cPanel allows you to create mailing lists within your shared cPanel website hosting environment. Mailing lists are mainly used to send newsletter out to a large number of people, or to communicate with a large customer base. By using a mailing list, you won’t have to enter all the email addresses of those that you need to communicate with through the list; in most cases this can help people save a lot of time. Using a mailing list can also make the process of sending a message to a large group of people easy; this is because all the details of the list are stored within your cPanel account, so all you have to do when you want to send the group an email is define the email’s subject, as well as the message that you want to send them. When creating a mailing list within cPanel, you are able define the list name as well as the domain name which you want emails from the list to be sent from; you will also be asked to provide a password that you can use to protect the subscription list to stop others that you don’t want signing up from signing up. cPanel as well as external mailing list applications such as PHPList allow you to add and manage multiple mailing lists; this can be helpful for you in the future if you intend to expand your mailing list offerings. One thing to note when using mailing lists within cPanel is that you have to manually add any recipients that you want yourself; if you want members of the general public who are visiting your website to sign up then you must use a PHP/MySQL based mailing list application such as PHPList to manage your mailing lists, however, external applications might not work within your shared web hosting environment since your web host might have applied policies such as mod_security which don’t allow some PHP based website applications to function properly, but this can be sorted easily through the use of the .htaccess file.

User Level Filtering

User level filtering is the name given to the option in cPanel which allows you to setup specific email filters for specific email accounts that you have setup under your cPanel shared website hosting. User level filtering is a helpful tool for you if you are finding that specific email accounts that you have setup are being targeted in individual ways; the user level filtering allows you to setup custom email filters which are specific to only the email account for which you have set them up. cPanel also gives you a test area within the control panel that allows you to test email messages to see how the filters that you have setup for individual email accounts will cope with them; this can be helpful for example if you think that the filters might end up blocking out important emails from other companies. User level filtering is a feature that should only be deployed on the basis that you think the spam emails that are reaching individual email accounts are being specially targeted at that account; this is because if you set the filters up incorrectly, you could end up stopping any email from received by the account that you have applied the filters to. Also, some filters that you set up might end up conflicting with the server side ones which have been set by your web host; this in itself could stop emails from being received and could cause you or the person that the email account belongs to a lot of stress and annoyance. One thing to note when setting user level filters is that you must be careful as to which filters you deploy, and how they are used; you should always use the test message feature after you have setup new filters since this feature will give you an insight into how the email message will be handled by the filter, and will point out any problems for you if there are any.

Account Level Filtering

Account level filtering is the name that is given to the process of setting up individual email filters for any accounts/domains that you have hosted within your shared cPanel website hosting account. The filters that you create within the account level filtering panel are unique to your shared cPanel website hosting account only, and none others that may be hosted on the same server as you. Like user level filtering, a test message panel is is provided; you can use this to ensure that the filters you setup handle email messages in the correct way. The filters that you setup within the account level filtering panel will be applied to any email account that you have hosted within your account; this means that when setting the filters up, you should make sure that they work with all the emails that the email accounts you have setup within your account receive. However, you should make sure that you setup the filters in a way that will still allow normal emails to come through, but still stop any spam in its way; spam is unharmful, but can be a great annoyance, especially if you receive large amounts of it - also, if spam is kept for too long it can start taking up disk space that you have assigned to your shared cPanel website hosting account. One thing to note when setting up account level filtering is that you should always make sure that you setup your filters correctly, if you don’t set them up correctly then they could stop some email accounts that you have setup under your account from receiving emails; you should always use the test email feature to see how the filters that you have setup will react to different email messages - this can ensure that there are no problems with receiving emails, and if there are any problems then they can be easily sorted and the necessary action can be taken to sort them out.

Email Delivery Route

This cPanel feature allows you to see how the server will handle the sending or receiving of a particular email message when a certain email address; this can be helpful when trying to locate a particular problem when emails aren’t being received by their intended recipients. The cPanel pane that displays this feature includes a legend so that you can make out at what points errors are being caused, as well as where email aliases are being hit; this legend can also help you find out whether an email box that you are trying to deliver to is a local one or not. Specific details including the IP addresses of the mail hosts that are being used to reach the intended email address are also displayed; this as well can aid in the process of finding out where a specific problem is taking place since you can then contact the owner of the host/server and ask them to sort the problem out. You can also use this feature just to see where your emails go when you send them, if you’re interested in that; this can help boost your knowledge if you are new to the concept of website hosting, and also if your web host asks to know the servers that your emails go through if you believe that there might be a problem at whatever level. One thing to note is that when using this feature, you should always read the legend first, and refer back to it if you are confused about something; this is because you think there might be some sort of error when in fact it might just be that the routing feature has hit an alias/forwarder file or that the email has actually reached its intended destination. If you are totally new to cPanel website hosting, then it is suggested that you don’t touch a feature as complicated as this because it could cause some confusion or mis-understanding; this is because you might not understand some of the terms that are displayed in the completed route.

MX Entry

The MX entry feature of cPanel allows you to setup another MX record for your domain as well as the one that is already setup and point to the web hosting on which you are hosted. MX stands for ‘mail exchanger’ and refers to the server or servers that you use under your domain name to allow email to be sent and received under it. This feature is helpful to you if you want to utilize a backup mail server that you might have, or if you want to move your email hosting away from your cPanel shared website hosting account to a third party email provider. The main purpose of this function is to allow you to choose where you want your domains email to be delivered to; this is something that many web hosts who use their own branded control panels do not allow you to do, since they want you to keep any form of hosting that you may have purchased from them, with them and restrict you from using any service with any other web host who you might have gone and purchased an email hosting service from for whatever reason. You should only change your MX entry if you have to, since if you change it to a server that doesn’t host the email for your domain then you could end up without the ability to receive email for any email accounts that you have setup under your domain in cPanel; also, you should only do it if you know what you are doing and have the technical ability to sort a problem out if one arises because you changed your MX entry. One thing to note when using the MX entry feature is that you should make sure that you point your domain to a mail server or mail servers that actually exist; failure to do so may result in you being unable to send and receive email under that domain until you have sorted the problems out.

Email Authentication

Email authentication is the name given to the process of user’s logging into their email account to check their email either through a webmail client or through a desktop email client; authentication is the process that is carried out to check that the user actually exists with the password that they have provided - if they have been authenticated then they are able to login. Email authentication is also the name given to how mail servers handle both incoming and outgoing emails; domain keys and SPF records are creatable through cPanel to make sure that emails from your domain are accepted by other email servers which you might be trying to send emails to. Domain keys are added to outgoing email messages under your domain name, and are used by the recipient email server to verify the source of the email; this can be useful since some email servers might not accept emails from your domain if they do not include domain keys within their headers. SPF records are TXT DNS records and contain the hosts that emails for your domain can be sent from; you should always use SPF records these days for any domain since free email services such as Hotmail and Yahoo! Mail will not accept email from domains where there is no SPF record - if they don’t reject any emails then they might either filter them through to the junk email folder. One thing to note when using email authentication settings is that you should always make sure you enter the correct details; if you enter incorrect details for domain keys then your emails could be rejected by other email servers since the source can’t be verified or the actual domain key included is incorrect, the same also applies to SPF records since if the record is incorrect then emails from your domain might end up being blocked by other email servers and services.

Conclusion

In conclusion, cPanel provides you with a number of different resources that you can use to check your email, protect it from spam and viruses as well as be given the ability to make sure that emails that are sent from your domain are accepted by other email servers that might otherwise reject your emails because of various reasons. With the use of user level and account level filtering you are able to make you that any email accounts that you have configured under your hosting account stay clear of spam; you can also use custom SpamAssassin rules to ensure that any spam that does get past your user and account level filters will be killed off and deleted by SpamAssassin. With the use of the MX entry feature you are also given the ability to move your email hosting away to a third party provider, but still retain your cPanel website hosting account so that you can keep your website running from cPanel; you can also use the MX entry feature to configure a backup email server for your domain, this means that if the primary server that your website is hosted on was to fail, there would still be another server where email for your domain could be delivered to meaning that you wouldn’t loose any emails even if there was a small amount of downtime. If your emails are being rejected by other email servers or by the servers of free email services such as Hotmail and Yahoo! Mail, then you can use the email authentication feature that gives you access to domain keys and SPF record generators to ensure that your emails are accepted by all the email servers that you try to send emails to.

Comments

cPanel File Features

cPanel provides you with many different features that you are able to utilize to manage the files that you have hosted within your cPanel shared website hosting account; the file features that cPanel provides you with also give you the ability to generate your own backups as well as the ability to manage the FTP accounts that will give you and others who you have set FTP accounts up for access to your FTP/web space. cPanel file features give you the ability to make sure that your data is safe, this is something which is becoming increasingly important in today’s society where data security is becoming one of the most important points of web hosting; you will also learn how to make use of cPanel’s file manager to ensure that you can take a look at as well as have the ability to edit or delete files when you are on the road or at an internet connected computer but are not able to access your web space using FTP for the sole reason that port 21 might be blocked on the router that you are behind. You will also have the ability to check the disk space usage of your account as well as be able to upload your website to your web space so that you can let visitors through to it, and build up your customer or visitor base. Having the ability to manage and backup yours files is very useful; this is because a web host could easily go bust any time, and the server you are on could easily crash - the backups that are taken by some web hosts are always reliable or even full backups, which is the reason why most people advise you to have your own backups, just in case. Being able to manage your files since you could end up having unneeded files taking up space within your shared web hosting account.

With the use of this article you will be able to create your own backups from cPanel, and be able to download them which means that you can restore the backup if you go and do something wrong which causes an error within your shared hosting account for whatever reason. You will also be given the ability to manage your files effectively to ensure that you don’t have any unwanted files taking up the disk space that you have assigned to your web hosting account - one thing to remember is that the space being taken up could be needed for something else that could be much more important. The ability to setup and configure FTP accounts within cPanel will also be discussed, which will then allow you to setup and configure your own FTP accounts that you can then use to gain FTP access to the web space of your website which will then allow you to upload any files that you may have for it. You will also be taught how to use the FTP session control feature of cPanel that allows you to see and control who is logged into your web space via FTP, and to terminate their connection if you don’t want them to be logged in or if you suspect that it is some sort of hacker. Another feature that allows you to see how and where the space that has been assigned to your shared web hosting account is being used; this can be helpful for you if you have a large website with many different folders and that also takes advantage of private folders that can’t be accessed by the general public. One thing to note though is that when using any type of file feature within cPanel, you should always be careful; this is because if you press one wrong button then you could easily end up erasing all of the data and files that are stored within your shared web hosting account.

Backups

The backups feature built into cPanel allows you to download a zipped up copy of your complete site/home directory which includes things such as site files, databases, emails and email filters that you have put into place. The backup that is downloaded is a fresh one and not an automatically scheduled one meaning that all the information contained within the file is up to date; in some cases automatic scheduled backups might not even be available since they are a feature that needs to be configured by the server owner/administrator. It is a good idea that you take your own backup every few days since the backups that are being taken by your web host might not be all that reliable; this could be down to a number of reasons including the fact that the cron job create to automate the backup schedule might not have run for whatever reason. Another reason for taking your own backup is that you might accidentally corrupt a part of you website which means that you’ll have to restore it; you can use the backup that you have taken yourself to restore your site since some mosts might actually charge to restore your website is you have corrupted a part of it yourself. When restoring and taking backups, cPanel gives you the option to take or restore backups of specific features; for example you are given the ability to take or restore a backup of a MySQL database that you might have, or a backup of a email forwarders or custom email filters. One thing to note when taking backups is to make sure that you take a backup of your whole site, you should not take a backup of individual features unless you absolutely have to otherwise when it comes to restoring your site from your own backups, you won’t have the correct backups; you should also be careful when restoring backups since you could easily restore the wrong backup which would mean that you end up with having stale website and database data.

Backup Wizard

The backup wizard built into cPanel allows you to either take a backup or restore a backup of your shared cPanel web hosting account with ease; this is because it generates one zip file that you only have to download. Unlike the standard backup screen, the wizard presents you with easily configurable options that allow you to choose what parts of your hosting account you want to backup and download; you can either backup your entire ‘home’ directory (the directory on the server in which all files related to your website reside), MySQL databases, or the email filters and forwarders configuration. The backup wizard is good for you if you find the main backup screen too confusing, as well as if you are unsure on how to restore a backup that you have taken previously through the backup wizard; this is because unlike the standard backup screen, it takes you through several different steps and explains each step individually to ensure that you are able to understand it all and that either a backup is produced of what you want, or a backup is restored of data that you want to be restored to your hosting account. Once you have chosen what parts of your hosting account you want to backup, you are taken to the download page where your full backup is ready and waiting for you to download it. One thing to note though when using the backup wizard is that you should only use it for taking backups, as the restoration process that it uses can be quite confusing; if you just want to restore a backup, then it is suggested that you use the regular backup panel as all you are required to do there is select the location on your hard drive where the backup is stored and then click ‘Restore’.

File Manager

The file manager that comes with cPanel allows you to view, edit and delete files effectively that are contained within your web space. The file manager gives you the ability to manage all the files that are located within your ‘home’ directory; this is where all the files for your website, including configuration files reside on the Linux server that is hosting your website. Unless you are able to gain access to your web space via the use of FTP on port 21, you should use the file manager to keep tabs on all the files that are currently contained within the web space that has been assigned to your shared cPanel website hosting account; another good use of the file manager is to edit files on the fly - this is because the file manager is accessible from any internet connected computer that allows access via the cPanel port, and also because the file manager has a built in code editor to allow you edit your coded website scripts with ease, a regular text editor is also provided if you want to use a more basic option to view and edit the contents of your website’s scripts and files. You can also carry out mass file actions within the cPanel file manager since you are able to select as many files as you want within the same folder and carry out one action that will effect all of them; you might want to use this feature for example if you need to set the permissions of certain files within the same folder to the same permission setting to allow them to function correctly. One thing to note is that you should be careful when using the cPanel file manager since it is fairly easy to select the wrong file when maintaining your web space; this in turn could lead to you accidentally deleting the file and not being able to retrieve it.

Legacy File Manager

The cPanel legacy file manager is the name given to the file manager that was used in previous versions of cPanel, until the new one took over its main role. The legacy file manager can be found in the new cPanel 11, but it is advised that you use the new file manager that has been included with the new release of the industry leading control panel. The legacy/previous file manager has been included even in the new release because people were use to using the it, and might find it hard to adapt to the new file manager that has been included because it contains more features and the layout of it has been changed as well; also, unlike its successor, the legacy file manager utilizes page refreshes to ensure that the data is posted to the correct pages and that the correct actions ar applied - the new file manager however uses a technology known as ‘ajax’ which doesn’t utilize page refreshes but instead posts the required data back to the server via the use of javascript to ensure that the requested actions are completed successfully. Although the legacy file manager might still be used by many, it is highly likely that cPanel will drop it in future versions of the popular control panel to ensure that the main focus is on the new file manager, and not the aging legacy one, who’s days are most likely numbered - some might argue that point though saying that it is much more established than the new file manager that has been included within cPanel 11. One thing to note is that when using the legacy file manager, you should always be careful as to which files you edit or view; this is because it is very easy to delete files within the legacy file manager, but unlike its successor it is always easy to retrieve any file that you may have accidentally deleted.

Web Disk

The web disk feature within cPanel allows you to configure certain settings on your computer that will then allow you to simply drag and drop files from your desktop/computer into your cPanel shared website hosting space. It creates a folder for you on your computer that acts like a regular folder that is stored on your computer; however, the folder is actually a link to your home directory that is where all the files for your website reside on the main hosting server that is provided by your web hosting company. The web disk feature also gives you the ability to navigate through all the files and folders that are contained within your shared cPanel website hosting space as if they were locally stored on your computer. This feature can be handy for you if you are unsure as to how FTP access on your web hosting account works; this is because cPanel provides you with the necessary file downloads as well as access instructions on how to use the web disk feature - that is something that is doesn’t do with regular FTP access. Within cPanel, you are able to setup separate web disk accounts which means that you can give web disk access to as many people as you want; you can also specify a certain folder that each web disk account has access to - which means for example that you could have one master account for web disk access that can view all the files and folders that are contained within your hosting space, and have separate accounts for individual people who have their own folders within the web space where they can store their own files so that they can then reach them at a later date.

Disk Space Usage

The disk space usage feature of cPanel allows you to see how much space individual folders within your web space are using; this is a helpful for people who might be using the web disk feature as it can help them keep tabs on the amount of disk space that is being used by folders that might have individual web disk users assigned to them. The main directories that cPanel sets up within your web space are signified on the disk space usage page by using colours - a key is assigned to the page as well so that you are able to differentiate between the different folders; is it helpful that cPanel colour codes the main directories since this might help you when trying to work out which main directory has started to use up all the disk space that is assigned to your shared website hosting account. cPanel also gives you the option to select the directories that are using up the most disk space, and then allows you to delete them if you want; this option can be good since it means that you don’t have to click all the way to the file manager whilst remembering the directories in question - the amount of disk space being used up is also totalled up and displayed at the bottom for your reference. You are also given the option to increase or decrease the depth of the directories that are taking up the most disk space; this can be helpful since it can help you pinpoint the exact file or inner folder of the directory concerned that is taking up the most disk space. Other options given to you allow you to hide small files as well as go up to the parent directories of the directories that are taking up the most space. One thing to note is that you should always be careful when using the disk space usage feature; this is because you could easily delete the entire contents of an important folder with a few wrong clicks.

FTP Accounts

FTP accounts are the account or accounts that you use to gain access to your website hosting space via the use of the FTP protocol, which generally runs on port 21 TCP on most web hosting servers, although it can vary from server to server. The use of FTP can be seen as an alternative to the use of the web disk feature that cPanel provides you with; this is because in a similar way with web disk you can drag and drop files into your hosting space with ease - in most cases you can also set file/folder permissions as well as delete files off the hosting server that you feel you don’t want anymore. When setting FTP accounts up within cPanel, you are given the option to choose the username and password of the FTP account; this means that you are able to customize the login names and the password of people who you want to have access to your web space via the use of FTP. In most cases you are also able to specify the root directory fro the FTP account; this means that you could set up an individual directory within your hosting space for each FTP account to give people who have FTP access the ability to upload and store their files within an internet connected environment that they should be able to access from any internet connection computer, just as long as port 21 hasn’t been blocked on the router. One thing to note is that when creating FTP accounts, you should always make a note of the user name and password that you assign to the account so that they are not forgotten; you should also consider having one master account which will have access to all the files, but create a separate account to use for the purpose of uploading your files to your main web space.

FTP Session Control

With the use of the FTP session control feature that is built into cPanel, you are given the ability to control all the FTP sessions that are currently connected to your hosting account space. This feature can be useful to you if you wish to disconnect someone from your FTP space who you don’t think is supposed to be logged in. Several details of the different session that are currently connected to your space are given; these include the IP address of the ‘visitor’, the FTP user name that they are using as well as the length of time that they have been logged in for. This feature can also be helpful if you think that the FTP account details of someone who you have allowed to have access to your FTP space have been stolen; this is because you can easily log the IP address down of the so called ‘hacker’, and then use the IP deny manager to ensure that their IP address can’t access your web space again. The status of the session is also displayed, and this can be anther helpful feature of the FTP session control section of cPanel; this is because an FTP session might appear to be connected but it might not be active since the person who is actually connection might not actually be connected anymore - they might have just disconnected but the session might still be coming up as active. One thing to note is that when using the FTP session control manager is that you should ensure that you are careful about which FTP sessions you terminate; this is because you could easily end up terminating an FTP session that you mean to be connected, but you accidentally disconnect is because you believe it to be a fraudulent one.

Conclusion

In conclusion, cPanel provides you with a number of tools that you can use to ensure that you are able to manage the files that are stored within your shared cPanel web hosting from any location; other tools provided even allow you to connect with your files and communicate with them just like any files or folders that you have stored on your local PC. The file features of cPanel also include some security features to ensure that you can disconnect any FTP session that you suspect to be fraudulent, as well as clear up any web directories that are large in size when you don’t want them or when they’re not meant to be; all these tools put together ensure that you can conveniently manage all the files that are stored within your cPanel hosting space but at the same time keep them secure from malicious attackers such as spammers and hackers. You can also keep your files safe yourself by taking a full backup every so often from the backup section of the cPanel file features; if you feel that you don’t have the necessary knowledge to use this panel then a backup wizard is provided to ensure that you are able to take and restore your own backups with ease - instructions are even included to ensure that no confusion is caused. The new file manager that is provided within cPanel allows you to manage your files effectively, and via the use of ajax ensures that any requests you make to it are posted back to the server and processed in the correct way; if you are use to using the old version of the file manager, then that is included in cPanel 11 under the name of ‘Legacy File Manager’ to ensure that you can still manage your files on the fly effectively, even if you are use to the older version of the file management program. The disk space usage feature also ensures that you are able to keep tabs on how and where the web space that has been assigned to your shared cPanel website hosting is package is being used; this is helpful for you if you suspect that a hacker has some how gained access to your web space and is currently using it to store their files in - it is also helpful to you if you use the web disk feature with individual folders for each account - this is because you are able to see how much space each individual folder is taking up, and if you suspect one of the folders is taking up too much space then you can easily do it without having to go back and do it from the file manager. Finally, if you do wish to use FTP to access your web space then an FTP account manager is provided so that you can create, edit and delete and FTP accounts that you have setup under your shared cPanel web hosting account.

Comments

cPanel Security Features

The information that is transferred between client computers these days is ever growing more confidential; it is for this reason that cPanel provides you with many different tools to help keep your website secure, and any information that is passed between it and your visitors. cPanel is able to provide you with password protected directories, an IP deny manager, SSL/TLS certificate manager, SSH/shell access management, hot link protections, leech protection and GnuPG keys; all these tools put together give you the ability to protect directories or areas of your website which might contain sensitive information that you don’t want people without passwords to see, and the ability to keep those people with intentions of harming your website or server away from it. Most of these security tools should only be deployed in the situation when you need them; for example an IP should only be added to the IP deny manager when it is pretty obvious that the visitor at that IP address has harmful intentions for your website. Most of the listed tools are only their to give advantage to your website and the server on which you are hosted; however, there is one tool that gives benefits to both you and your visitors - these are SSL certificates. SSL certificates are basically there to ensure the information passed between your website and the client machine is secure. If you run a small static website which doesn’t receive many visitors, then the need for you to use any of these security features is fairly low; however, the opposite is appliable to larger sites which receive many visitors, this is because that if you have a larger website with more visitors, hackers, spammers and other types of malicious threat will want to take your deface your website or even take it down to cause the most inconvenience possible.

Although Linux web hosting servers are well known to be much more secure than their Windows counterparts, they still require many different levels of security to ensure that the website they run are not compromised in any way. Different technologies are implemented to ensure that the data passed between the website and client is secure, and that the data that is stored is secure as well. The following are different technologies are available for use through your cPanel control panel and ensure that your website is secure as it can possibly be; they ensure that you are able protect different areas of your website to ensure that the data stored within those areas is secure, to ensuring that other people and websites aren’t able to take all your bandwidth up easily. Other areas covered include how to ban people from your website, which can be of the utmost importance if you feel that any part of your website has been compromised in any shape or form. You might also find that one part of your website is not working for some reason, you might be finding that when you enter certain information in a text box, you are ending up back at the root of your domain; the cause of this is explained and can help relieve any frustrations that you might have over the subject.

Password Protected Directories

The password protected directory security feature that is built into cPanel allows you to password protect multiple directories within your website with multiple usernames and password; it is done via the use of the .htaccess file, and no technical work is needed on your end since all the file generating is done by cPanel - all you have to do is enter the usernames and password of the people that you want to have access to the protected directories, the good thing is that you can add, delete and edit users at any time you want through cPanel, you can even have multiple password protected directories. By password protecting certain directories of your website, you are able to store sensitive information in them which you may not want to risk storing in a regular unprotected directory which can be accessed by anyone, including spammers and hackers; you are also able to create a secure part of your website that only you have control over. You might also want to take advantage of this feature to create an area of your website that only people such staff can enter; this area could be similar to your internal intranet in the fact that you could use it to share information without having to meet a colleague face to face, which can be very time consuming. The .htaccess method of user authentication is the preferred type by some who have little technical knowledge; this is because more complicated systems that are based on programming languages such as PHP are more complicated to install since they require a database and for file permissions to be set, however, the .htaccess method of user authentication isn’t as secure as a PHP/MySQL based system since the user credentials are being stored in plain text and not in an encrypted password protected database.

IP Deny Manager

The IP deny manager built into cPanel allows you to ban the IP addresses of any visitor to your website. This security tool is useful to you if you have a suspicion that a user from a certain IP address is trying to hack, spam or harm your website in any way. This feature gives you access to control who can access your website; some web hosts do not allow access to this however, since IP banning is generally carried out either by the hosting node automatically or by firewalls that are in front of the server. Some web hosting servers will automatically block IP addresses for one reason or another; if any IP trying to access your website has been banned automatically by the main hosting server, then it should appear in your list of blocked IP addresses. You are able to block visitors either by their IP address or hostname; cPanel also gives you the option to block an entire subnet of IP addresses - this can be useful if you think that you are under attack from one subnet, or country for that matter. You are also able to delete any IP address that you have added to the block this - this is something that can be useful if you have mistakenly blocked a hostname or IP address. If you have blocked a range of IP addresses, then they will be displayed in a list being classed as ‘Beginning IP’ and ‘Ending IP’ to avoid confusion when checking which IP addresses have been blocked. You should always be careful when using the IP deny manager; this is because you could easily enter an IP address incorrectly and blocking the wrong person - you may even enter your own IP address by accident and end up blocking yourself.

SSL/TLS Manager

The purpose of the SSL/TLS manager is to allow you to control digital certificates which may be assigned to your website. It also gives you the ability to generate private keys and CSRs without any intervention from your web host to allow you to buy SSL or TLS certificates from suppliers who sell them, and if you have the appropriate knowledge you can then install them yourself. SSL and TLS certificates are used to encrypt the data that is sent between your website and the people who visit it; they are normally deployed in environments where the information exchanges between the two is highly sensitive and could cause great damage if it were to fall into the wrong hands - examples of this kind of data would be credit/debit card details as well as usernames and password for webites where personal information is stored. SSL/TLS certificate encryption can come in different levels; the main levels used by most mainstream websites are either 128bit or 256bit - the higher the number the more encrypted the exchanged information is. If you have a website where users are logging in and out all the time, and you accept online orders where customers enter their credit or debit card details, then you should consider implementing an SSL/TLS certificate if you haven’t already; the trust that your customers have in your website will also increase if you display a seal on your website from the vendor that you bought your certificate from saying that your website is secure to trade through and that any details transferred between them and your website is highly encrypted. Websites that use secure certificates can be easily identified since an ’s’ will appear after the ‘http’ in the address bar at the top of your web browser; SSL websites also generally run on port 443 through a web server. One thing to note is that SSL certificates will only run on dedicated IP addresses, which you must purchase separately from your web host; they will not run on shared IP addresses which is what you get in a normal shared website hosting environment.

Mod Security

Although not a feature built into cPanel itself, mod_security (sometimes referred to as mod_sec for short) is still a security which most web hosts deploy within a shared cPanel website hosting environment. Its main aim is to stop any malicious attacks being carried out on scripts which may be vulnerable; for example, it throws a user back to the homepage of the website if they try to enter any HTML into a regular text field. Mod_security is in place to stop attacks on programs which have known holes such as Joomla!, which is an open source CMS system used by many websites, although it is widely known that it is insecure in many areas. If you have a website or use an application which is being effected by mod_security in the form that when you try to edit any pages or post any information using regular text fields, you end up back at the root of the domain, there is a fix that you can place in your .htaccess file to ensure that the applications are still usable. Other types of PHP website application that may be affected by this include forum softwares, blog softwares and other types of application in which the data posted back to the page contains any code of sorts. Spammers and hackers are beginning to target websites even more these days, which is the reason why so many web hosts have deployed mod_security; it is able to ensure that websites can’t be compromised, and that if they are, other websites hosted on the same server as the compromised website are not affected by the hack/hijack. You should only disable mod_security in the situation that you are running an application that is being affected by it; if your website or application that you run is not being affected by it then you should leave it be since it leaves your website open for attack if you disable it without any good reason because at the end of the day, you should prefer to have a secure site rather than one which is open for easy attack. One thing to note is that your web host might not allow you to disable it because they don’t want the other websites on the same server as you to be compromised; in this case you should pack up and move to another cPanel based web host that does not use it or does use it, but at the same time allows you to disable it.

SSH/Shell Access

SSH is rarely given in a shared web hosting environment due to the attached security risks, but some web hosts including eUKhost do provide some servers which do allow customers who need SSH access the ability to use it. SSH is generally used for the transfer of files between Linux web hosting servers, although at root level it can be used to administer a server; unlike telnet, the data which is exchanged between the client machine and the server which is running SSH is normally encrypted. Those web hosts that do allow you SSH/shell access will normally provide you with an interface in cPanel which you can use to administer your SSH/shell access; you are able to modify and change private keys which are an alternative to use instead of a password when communicating through SSH since they allow automatic login; when a person is normally communicating with a Linux web hosting server via SSH, they are normally required to enter a username and password - this type of information is not needed when using a private key since that key is normally unique in some way or another - private keys are a perferred method of authentication when running scripts that require SSH access to another server. Through cPanel, you are also given the ability to import existing private keys; this function can be useful to you if you are migrating your website hosting account from another server or provider. One thing to note is that you do require a certain amount of Linux knowledge to be able to use SSH access in a shared web hostig environment effectively; you might not also be able to be granted SSH access in a shared environment because of the associated security risks, but those hosts that do provide it will normally require some sort of proof that you need it before assigning it to you.

Hot Link Protection

Hot linking is when a another person or website links directly to an image that is hosted within your web space without your knowledge or permission; hot linking can quickly use up any bandwidth assigned to your website hosting account if the image that is being hot linked is rather large in file size and if the website that is hot linking the image or file gets a lot of visitors. Images are the main type of file that are hot linked, but other file types such as video can be easily hot linked; in fact any type of file can be hot linked. By enabling hot link protection, you can ensure that any file with the extension that you have listed when enabling hot link protection will not be displayed on any website under any domain except the main domain that you have assigned to your web hosting account; if someone does hot link to the file then it just won’t be displayed on any other website - its as simple as that. You are also able to direct any request to any listed file extension on your website to another image or page; this can be helpful in the combat of hot linking since the page that you redirect people to could be one explaining why they shouldn’t hot link. If you don’t disable hot linking then you could end up having your bandwidth stolen, which is not something you want since the price of bandwidth is quite high, and if you have an option set to automatically bill you for any bandwidth overages then you could end up with a very very big bandwidth bill. The hot linking panel that is built into cPanel also gives you the option to not allow people to call any of the designated file types in a browser, meaning that they can only be called from your web pages. One thing to note is that you should be careful when choosing which file types that you don’t want to be hot linked; if you enter an extension which you didn’t mean to enter then you could end up affecting not only your website but others which might be hot linking to something within your website.

Leech Protect

Leech protect is a function that is built into cPanel to restrict a user from publicly posting their password to a restricted area of your website; it can also be put in place to stop malicious attackers such as spammers and hackers from trying to guess a the password of a username multiple times. To enable leech protection for a directory in your website, just select the ‘Leech Protect’ option from the security panel on the homepage of your cPanel control panel; you are then prompted to enter things such as how many times a user is allowed to login to a certain folder as well as the time length in which the number of times that they can login is applicable. You can also specify the page that leech users should be sent to - this page could contain a warning message telling them not to attempt such an attack again; you can also choose for an email message to be sent to you informing you of the attempted security breach on your website. You can also choose for accounts to be suspended if they breach the leech policy for whatever reason; this is a good option to protect the information for which the user account has been assigned to, since the account’s owner might have posted the password openly meaning that the information is open for many to see - but if too many people try to login to the account then it will be in breach of the leech policy, meaning the account will be suspended, safeguarding the data which it has access to. You should always set your options for leech users quite loosely since you could end up blocking out a member of your staff or someone genuine who is trying to access a protected part of your website. One thing to note though is that the leech policy that you put in place for the user accounts that have access to password protected areas of your website might affect how you are able to use the protected areas since you might be limited on how many times you can log in within a specified time period.
GnuPG Keys

GnuPG is a publicly available scheme that uses the so called ‘public key’ approach; this works in the way that a message is encrypted using the public key but can only be decrypted by using the ‘private key’ which is held by the intended recipient of the message. GnuPG keys can be helpful for you if you want to send messages or store information quickly, but still want the ability to decrypt it at a later date. You can also choose the password or private key that you want to give to the recipient of the message to allow them to decrypt the message or data when they receive it. Unlike other forms of encryption where the encryption and decryption keys used are the same, both keys that are used with GnuPG keys are different - although the encryption key will always be the same for whatever message is sent using it, the decryption key will always be whatever the maker of the message wants it to be. With the cPanel interface for GnuPG keys, you are able to specify how long the decryption key is valid for; this means that after a certain date the message will not be decryptable and therefore unreadable. You are also given the option to choose the key size that you want; the higher the key size the more encrypted the message will be, meaning that it will be more secure the bigger the key size is. cPanel also gives you the option to import existing private and public keys which can be of help to you if you are transferring your website hosting over from another provider.

Conclusion

In conclusion, cPanel provides you with a number of tools that you can use to ensure that your website is as secure as it can be. Via the use of password protected directories you can ensure that information stored in certain directories of your website is only accessible via the use of a username and password which any sensible web master would retain for themselves; however, you are given to the ability to create multiple accounts meaning that you can easily allow access for others if you want or if needs be. If your website is very informative and contains a lot of images which others may find of use, then you should ensure that you put hot link protection in place; this is because that other website owners may want to include your images within their content but don’t have the sufficient knowledge to download the image and place it in their web space - in this case, if hot link protection is not enabled and the other person’s website is a very busy one then you might find yourself with either a large bandwidth overage bill or running out of bandwidth. If you feel that visitors from a certain host name or IP address may be trying to breach the security of your website in one way or another, then you can easily ban them through the IP deny manager; you should always do this since one day they might just get lucky and manage to get through all the security that you have laid in their way. If you run an online shop or a website where the information that is exchanged between client computers and your website is of the highest confidentiality, then you should deploy an SSL certificate on a dedicated IP address; you can also display a ’sticker’ on your website that most SSl vendors supply since that could boost the confidence that customers have in your website. If you require it, then you can also use SSH access within your shared hosting environment in order to transfer files between one server and another server; you can also implement private keys in this case in scripts to enable automatic file transfer via SSH without the need for any username or password, although the information that is being exchanged is still secure. If you have implemented password protected directories within your website, then you can also put in a leech policy to ensure that if any user accounts that are used to access confidential information in your website are suspended if they are compromised in any way; if you don’t want others to see the information contained within your password protected directories then you should deploy a leech policy to protect both the user accounts that are used to access the directories as well as the information contained within the directories. Finally, you can use GnuPG keys to encrypt and decrypt messages sent between you and a friend; the messages are all encrypted using the same public key, although you have the power to specify the private key/password that may be used to decrypt the message.

Comments

cPanel vs. Plesk

cPanel and Plesk are two examples of web hosting control panels utilized by many hosting providers. Currently cPanel is only available for use on Linux operating systems, but this is set to change from 2008 when cPanel releases it’s cPanel/WHM 2008 Suite for Windows 2008; Plesk has been available for both Windows and Linux for a while now.

cPanel

cPanel is seen by many as the preferred control panel for Linux operating systems because of its quick loading times which is main due to the fact that the system is based mainly on Perl scripts meaning that it requires little to no database access at most times. cPanel also has greater capabilities than those which Plesk contains, these being that cPanel gives more server side information to the end user which they may need to use at times which can be mission critical in some cases; cPanel is also able to sort add-ons, examples of these include ‘Fantastico’ and ‘RVSkins’ - this add-on functionality also allows developers to build their own custom functions and programs for use within cPanel.

cPanel provides better reseller hosting than Plesk does. This is because cPanel has a specially created control panel included with it called WebHost Manager (WHM for short) which has been designed specifically for the purpose of reselling web hosting services. Plesk is only one control panel and makes setting up reseller account remarkably hard.

cPanel has also made migrating your hosting account to another cPanel hosting provider easy by intergrating a site migration module. This allows people to transfer all their sites and settings without loosing any data. This is something which makes cPanel stand out from the rest as it is something most control panels lack.

Plesk

Plesk is a cross platform control panel which is available in versions for both Windows and Linux. It is seen as the preferred control panel in the Windows hosting industry because its closest rival, HostingController, is remarkably unreliable and has helped give Plesk a big boost in the control panel industry. Plesk is a relatively closed operating system meaning that isn’t open for developers to create their own add-ons, however, it does have intergration for many other programs in different fields such as the ability to allow customers to use SmarterMail in the Windows version of Plesk.

Being a cross platform control panel, Plesk has the advantage over cPanel meaning that companies can run the same control panel on both panels meaning that minimum training is required for technicians as they only have to work out the operations of one control panel - this can save a business both time and money. However, on the security side of things Plesk for Windows doesn’t fair as well as it’s Linux counterpart or competitor do; there have been several holes found within the Plesk software allowing hackers to take control of a Windows server through the Plesk control panel, and the hacker can still gain access a second time after the administrator password on the server has been changed.

Conclusion

If you are after one control panel that suites all then go with Plesk - it can save you both time and money as a business and what you learn can be applied to both systems. However, if you prefer to go with the market leader and are willing to spend some time studying both options (cPanel for Linux, Plesk for Windows) then fo with cPanel as you will be able to customize it more to suite the environment in which you want your customers to control their websites.

Comments (2)

Windows v. Linux

The debate over deciding which is better, Windows or Linux, has been one which has been ongoing since the early days of the internet. However, the debate is more or less based on their factors in relation to the web hosting business and what customers want, but factors such as security and usability do come into consideration. Linux is rarely used as a desktop operating system, as its main use is as a server OS; however, Microsoft has released many different versions of Windows meaning that it can be used in almost any scenario.

Linux

Linux is a free, open source operating system which comes in many different versions - these are known as ‘distributions’, ‘distros’ for short. Each distribution has been made for a different use in most cases, but all can be used for similar things; an example of this would be Ubuntu Linux - it was produced mainly for the home user but can be used as a server operating system as well. Linux also has the advantage over Windows that it is less resource intensive meaning that it can be used on older machines or lower specification machines. Security wise, Linux also comes out better than Windows; although viruses do exist for Linux, the number is far less than the number of viruses which can have an affect on the Windows operating system. In most cases viruses can sit in a Linux environment and not have any negative effect, in other words they can sit there in harmony doing nothing.

From a web developer’s point of view, Linux is much easier to work with than Windows is; this is because there is a greater range of free resources and scripting languages that will work within a Linux environment. Also, Linux web hosting is much cheaper than Windows web hosting because the cost of the server software is little or nothing when compared to Windows software.

Windows

Windows is a premium operating system which comes in many different versions, that you can only buy. It is the world’s most commonly used computer operating system and is what has made Bill Gates the richest man in the world. At this moment in time, the current main versions of Microsoft’s operating system are: Vista and Server 2003; Windows Vista is Microsoft’s latest desktop operating system and Windows Server is run on servers. As Windows is widely popular, it is a virus magnet meaning that there is thousands of viruses at the current time capable of causing damage to someone’s computer; this means that people have to fork out more money for anti-virus and internet security software to ensure that their computer is safe.

Windows was the first main-stream computer operating system which gave it a head start within the market; however, Unix based systems like Linux and Mac OSX are starting to eat their way into Microsoft’s market share. If you are a web developer Windows isn’t a very versatile system to work with; you are limited to the languages which will run on Windows, the main ones being Microsoft’s classic ASP and ASP.NET - however, you can get RoR and PHP to run on Windows.

Conclusion

If you are looking for a robust system then you can go with either Windows or Linux, but if you don’t have any experience with Linux then you shouldn’t go with it as the only support that you will receive is community support which may not always give you the answer you need. With Windows you are paying a price, but you are guaranteed support from Microsoft - there is also enough websites on the internet to help you along with both. If you want better security then go with Linux, but if you have the ability to fork the extra money out for Windows’ security software then go with Windows.

Comments (1)

« Previous entries · Next entries »