Wednesday, February 15, 2017

cPanel - Quick Guide

cPanel - Overview

cPanel is a Linux-based hosting management control panel. It is used to manage your website and server’s backend working system. It provides graphical user interface for most of the tasks we perform on the website’s server, for example, uploading files, creating emails, setting cron jobs, handling databases, etc.

cPanel Users

cPanel is installed on a Linux system by the server administrator. With the help of the cPanel Software Server, an Administrator can create Virtual Private Servers or it can dedicate the whole server for shared hosting environment. cPanel Shared hosting has three types of user levels.
Server Administrator − This user is the root user of a cPanel Linux Server and has all the permission over the server. Server Admin can create, modify or delete any account from the cPanel Server. The Server Admin has access to cPanel WHM (Web Host Manger), which can be understood as the backend of cPanel.
Reseller Accounts − This user is created by the server administrator and server administrator can choose which type of permissions should be given to reseller accounts. A Reseller account can further create user accounts and has access to all those accounts, which they have created. One reseller account does not have access to the user accounts that were created by another reseller accounts. They also have access to WHM with limited permissions.
User Account − These are normal user accounts, each user who subscribes for a web hosting from a company, is given this type of account. They do not have access to Web Host Manager. User account can host single or multiple websites according to their plans they have purchased from web hosting provider.

Why cPanel

cPanel is packed with many features that is not provided by other web hosting management panels. It is graphical, hence, non–technical users can also use it perfectly. cPanel is responsive to the screen size, hence can be used in mobile and tablets. It will automatically adapt the screen size of the device.
cPanel is very easy to use and configure. It automatically adjusts all the advanced setting for web hosting. A user hardly needs to go to the command line to configure any settings, as it already has all the features inbuilt.

Advantages

cPanel offers the following advantages −
  • It is very easy to host a website using cPanel.
  • It is multiannual and available in many languages.
  • It is responsive and adapts to any screen size, it can be used efficiently in mobile and Tablet too.
  • cPanel has in–built File Manager, which helps in managing your files without the hassles of an FTP.
  • cPanel has integrated webmail software, which helps in sending and receiving emails through online webmail client.
  • You can easily create a backup of your website in a few steps. This will help you to restore your backup, if your website encounters any error.
  • You can easily manage your website databases, as cPanel has integrated phpMyAdmin, which helps to directly manage databases.

Disadvantages

cPanel does not have any significant drawbacks, however here are a couple of its notable disadvantages −
  • cPanel is a commercial software and you need to pay to get this.
  • cPanel is meant for small and medium websites only. Creating a large website using cPanel is not recommended.

cPanel - Registering a Domain Name

If you have a website developed locally or you have planned to make a website, then there are two things that you will need — a Domain Name and Web Hosting. A Domain name is the address of your website, which will be used by your users to access it. For example, tutorialspoint.com or google.com these are domain names.
A domain name has two parts, TLD (Top Level Domain) and SLD (Second level domain), for example in tutorialspoint.com, tutorialspoint is second level domain of TLD .com, or you can say it’s a subdomain of .com TLD. There are many top level domains available, like .com, .net, etc. and also country specified TLD like .in, .uk, .ae, etc.

Importance of a domain

Getting a domain name of your choice can be very useful. You can use it for many reasons, for instance, you can create the identity of your brand online or you can create a personal blogging website. If you have a business, people will be able to learn about your business remotely.

Registering a Domain Name

Domain names are registered with a non–profit organization ICANN. It does not let you register your domain directly, but you will have to go with a domain registrar for this purpose. Domain name registrations involve a registration fee for a year, and you have to renew the domain every year by providing a renewal fee. Domain names cannot be purchased permanently at once, but you have to renew it every year, if you fail to renew the domain, it is automatically deleted from registry.
If you want to register your domain name, then you will have to follow these steps.
Step 1 − Choose a perfect domain name for your website. If it’s a business website, then you may want to go with a domain name, which is the name of your business.
Step 2 − Choose a good domain registrar company having good support infrastructure. For example, GoDaddy or BigRock.
Step 3 − In the registrar’s website, check if your domain name is available for registration. If the domain you selected has been already registered by someone, then you will have to think of some other domain name. If your domain name is available to register, then you can proceed further.
Step 4 − Provide your contact information and everything that the registrar asked for. It is mandatory that you provide correct information while registering a domain name, as it will be visible to everyone if the user looks for WHOIS information.
Step 5 − You can hide your contact details by choosing to be viewed by anyone by subscribing privacy protection service. This service hides all your contact information to everyone except the registrar, this service is provided by many domain registrars at some extra cost.
Step 6 − Complete the purchase by paying the registration fees. Domain name will be registered to you.

cPanel - Getting Web Hosting

If you have already registered your domain name, the next step is to get a web hosting for your website. Web hosting is a service, which provides space for your website on internet. If you want your website to publish online, then you will have to get web hosting service.
In a web hosting service, your website is stored in high powered computers called web servers, which are connected to a high speed network and they are powered-on 24/7. While purchasing a web hosting service, you rent a space for your website on these servers.
There are basically three types of web hosting −
Shared Hosting − In this type of web hosting, a single server hosts multiple websites, sometimes thousands of them. Each account on this server has certain limits on using disk space to store websites, databases and bandwidth. This is the amount of data transferred through your website. This type of hosting is cheap and suitable for small and medium websites.
Virtual Private Servers − In this type of hosting, a Linux Server is divided into several parts and each part acts as a different server, each server has some limited resources given. In this, the VPS administrator has root access to his VPS and can then host single or many websites according to his need. These type of hosting is recommended for medium and large websites. Cost of VPS is higher than Shared Hosting, but lower then Dedicated Hosting.
Dedicated Server − In this type of hosting, a whole server is rented to the user, who can host a large website on this server or can use it to host multiple websites in this server, the server admin can create multiple VPS. Cost of dedicated hosting is much higher and it requires a server admin to manage this type of hosting.
If your website is new and it is not expecting much resource usage, then you can go for shared hosting. You can purchase shared hosting for hosting one website or multiple websites according to your need. In this tutorial, we will learn about hosting a website using cPanel, hence it is recommended that you purchase the hosting that comes with cPanel.

cPanel - Setting Up Nameserver

When you have purchased your hosting, you will have to connect your domain with the hosting that you have purchased. If you have purchased the domain and hosting from the same provider, then it is liable that your Nameservers are already setup. If you have purchased your domain and hosting from different providers, then you will have to manually add new Nameservers to your domain, so that it can point your domain to the right server.
Nameservers are a part of Domain Name System. These DNS servers keep the records of which domain is connected to which IP address. Nameservers allow us to use a domain instead of IP address of the DNS server. When a visitor types the URL of your domain then the DNS server tells the browser that from which server it should load content from. In easy words, Nameservers define the current DNS provider of your domain.
When you get the email of the Login details of your web hosting server along with it, you also get the details of your Nameservers. Most hosting providers use their own DNS servers. For setting up your Nameservers, you will have to login to your domain control panel, and update your Nameservers by replacing the old one. Each domain provider has its own application to do so, you will have to refer to your domain registrar’s documentation for further details.
Domain Nameservers take time to propagate through different DNS servers around the globe, the change may reflect instantly or it may take up to 48 hours of time according to the DNS servers of hosting provider.

cPanel - Logging into cPanel Dashboard

In this chapter, we will learn to login into the cPanel Dashboard. For logging into the dashboard, you will need your login credentials. This information is sent to you, when you have signed up for cPanel hosting or you may have created during purchase of hosting.
cPanel Dashboard is accessible by two ports – 2082 for unsecured connections and 2083 for secured connection, many hosting providers support unsecured connections, but it is always recommended that you should use a secured connection only.
There are many ways to find the login screen of a cPanel. Recommended is that you may use the IP address of your cPanel, you may find the cPanel using IP address by typing the following in address bar −
https://<your_IP_address>:2083 
https://<your_IP_address>/cpanel
If you have already updated your Nameservers for your domain, then you may use your domain for directly accessing cPanel by your domain. You may find cPanel login screen using your domain by typing the following into the address bar −
https://<your_domain>:2083 
https://<your_domain>/cpanel
Once you are redirected to your login screen, you will find the login screen like shown below.
cPanel Login You can enter the Username and Password and press the Log in button to login into the cPanel Dashboard.

cPanel - Changing Password

When you are successfully logged into a cPanel Dashboard, first and foremost, change the password of your cPanel account. This is very important, so that the security of cPanel remains intact. Nobody would want their website to be hacked.
To change your cPanel Password, follow these steps −
Step 1 − In cPanel Home, click username written over the right corner of the dashboard.
Username Step 2 − Click Password & Security option. You will find Change Password Interface.
Password & Security Step 3 − Write your old password and in the following fields, write your new password twice.
Old Password Step 4 − Enable digest authentication option if you need to access your webdisk via an unencrypted connection in windows machine. This type of connection is unsecured and not recommended.
Step 5 − Click Change your password now! Button to change your current password. If successful, then cPanel will automatically log you out and you will have to login again with your new password.

cPanel - Styles

You can change cPanel’s look and feel using this interface. cPanel has two major interface styles in which you can manage your web hosting. Although these interface is very standard, but these can be modified by your server administrator or reseller account admin to change its logo and icons etc.
To modify your cPanel Style follow these steps −
Step 1 − In cPanel Home click username written over the right corner of your dashboard.
Click Username Step 2 − Click Change Style option. You will find Change Style Interface.
Change Style Change Style Option Step 3 − Choose any style option from the available styles, click Apply button which can be found over the top of the style to load the new style.
Apply Button Step 4 − cPanel will automatically reload to apply the new setting and you will find a new interface according to the one you selected.

cPanel - Contact Information

In this interface of cPanel, you are allowed to change the system email address. It is the email address on which the system can notify you for important updates. You cannot use your system email address or any email address, which is connected with your domain, so that you do not lose any important update, when the system is down.
To update your contact email, follow these steps −
Step 1 − In cPanel Home, click username on the right corner of your dashboard.
Username Dashboard Step 2 − Click on Contact Information option. You will find Contact Information Interface.
Contact Information Contact Information2 Step 3 − Enter the email address on which you want the system to contact you for important notifications.
Step 4 − You can enter a second email address on which you can receive the copy of that email sent on your primary email.
Step 5 − You can choose the options of an event on which the system should send you notification in contact preference. It is recommended that you leave every checkbox selected.
Contact Preferences Step 6 − Click the Save button to save your contact preference.

cPanel - Home

Once you are logged into cPanel dashboard, you will see that it has so many options. In this chapter, you will find a quick brief of every option shown in the cPanel dashboard.
cPanel Dashboard

Sidebar

You can switch to your accounts’ four main areas of cPanel through this interface, which are −
  • Home − This is where you can access all the features of cPanel.
  • Statistics − Displays information about your cPanel account and also the resources it used.
  • Dashboard − Displays quick links to change styles etc. and overview of your cPanel account.
  • User manager − Here you can manage the users of your cPanel account.

Navigation Bar

On this toolbar, you will find the cPanel’s logo and a search box in which you can type any function of cPanel to access it quickly. Like your User account name and some quick links, once you click on it. The Notification Icon will show you the recent notifications about your cPanel account. Logout button will end your session (log you out) from the cPanel.

Feature List

It displays all the features and functions you have in your cPanel. You can click on any function and it will take you over to the desired functions interface.

cPanel - Statistics & Dashboard

In this chapter, we will discuss about the cPanel statistics and the dashboard along with a few examples and screenshots for better understanding.

cPanel Statistics

The statistics interface of cPanel shows quick statistics of your cPanel account. It includes several types of information shown below. To view quick statistics of your cPanel account, click on second icon statistics from sidebar at left. You will find this information in cPanel quick statistics.
Quick Statistics General − It will show you the amount of bandwidth allotted to your account and also the amount of bandwidth, which is used by you. It will also show you the FTP accounts available in your cPanel account. It will also show the information of your Home directory and the IP address, from which you logged in last time. You can click on the Server Information to view the detailed information of your server.
Domain Info − In the next box, it will show you the information of main domain and the number of add-on domains, subdomains and aliases you have created.
Mail Info − This section will show the information about your emails. It will tell you how many email accounts, Autoresponder Forwarders and Filters you have created along with the total number of resource allotted.
Disk Space − In this section, the total disk space of your account is shown and also the amount of space used by MySQL database is shown along with total amount of space allotted to your account and MySQL database.
Database − This section shows the info of total number of databases you have created along with the total number of database you can create.
Cloud Linux System Information − In this section, the statistics cPanel shows you the information of your system with total CPU usage, virtual and physical memory that is being used. It also displays information of the process you are running, the Input and Output uses and also it displays number of inodes, which means the number of files.

cPanel Dashboard

Through this interface you can see some brief statistics of your cPanel account plus you can change the theme of your cPanel account. To access your dashboard, you can click on the third icon ‘Dashboard’ on the left sidebar.
Dashboard

cPanel - User Manager

This is a new feature introduced in the latest edition of cPanel. Through this user manager section, you can control all the users you have in your cPanel with a single interface. This interface will show you all the user accounts, who have email accounts or FTP accounts that are associated with your domain. You can delete edit those accounts, change passwords and also you can delete them from here. This interface gives you the ability to add new user and associate them to FTP and Email account too.

To Delete an Account

To use user manager and delete user accounts, you can follow these steps −
Step 1 − Open User manager by clicking the last icon in the sidebar on the left side. Once user manager is open, you will see an interface like this −
User Manager Step 2 − You can view all the accounts of your cPanel here, which includes your system accounts too. Account having the Inbox icon colored shows that the account has an email address. The accounts having the truck icon colored show that the account has an access to FTP account, whereas the accounts having the disk icon colored shows that the account has access to a webdisk.
Step 3 − Find the account you wish to delete and click on the delete link under the domain.
Delete Link Step 4 − You will be asked for confirmation, click on the delete button to delete the user account.

To Edit an Account

If you wish to edit an account or to change the password of any account. Follow these steps −
Step 1 − Choose the account you wish to edit or change password of, from the user manager. Click on Edit link or Change Password link under that account. Both of these will take you to the same interface, where you can edit the account.
Change Password Step 2 − You can specify the Full name of the user. Or else, you can provide alternate email id for that account.
Step 3 − Scroll down to see the Security Information, you can provide a new password in this interface or whether, you wish to change the password, if not leave it blank.
Security Information Step 4 − Choose the services you want to enable for that user account from the services interface.
services.jpg You can enable or disable email, also you can change the Quota for the email of that account. You can also enable FTP for that account, just move the switch to enable the FTP account.
Step 5 − Click Save for saving the settings for that existing user.

Add a New User

You can also add a new user and give him access to email and FTP. To create a new user, follow these steps −
Step 1 − Click ‘Add User’ Button found on the right side of the user manager interface. And you will see the same screen, which you saw on the Edit user interface.
Basic Information Step 2 − Provide all necessary information like username and password, you can also provide full name of the user, but it is optional.
Step 3 − Choose services you want to give to that particular user. Enable the services by moving the switch to enable or disable the services.
Services1 Step 4 − Click the Create button to create the user and return to the user manager interface or click Create and Add Another to create the user and return to Add user interface to add a new user again.

cPanel - File Manager

cPanel File Manager gives you useful options to quickly manage your files within the cPanel interface. It’s easy to use and it removes the hassles of using FTP. You can create, upload, modify or remove files from this interface. It also gives the feature of moving files to Trash before permanently deleting them, from which it can be recovered later.
To open the file manager, click on File Manager in the Files section.
Files Section It will open a new tab and once you are in File Manager, you will see a Dashboard like this.
File Manager cPanel File Manager gives you a lot of flexibility for Navigating within your files.
You can use file manager for following tasks.

2 comments:

  1. I think this is among the most important info for me. And i’m glad reading your article.
    webcare360

    ReplyDelete
  2. i am a fan of most us tv shows like Oprah and Ellen, i really enjoy watching tv shows
    offshoreservers.net

    ReplyDelete