What is cPanel, how to use it, and more

cPanel is one of the most popular control panels among web developers and hosting companies. It is typically paired with WHM (Web Host Manager) – both components work hand-in-hand, with each playing separate roles. Web Host Manager provides administrative control over the server. In addition to server configurations, WHM creates multiple accounts and manages more than one website.

Furthermore, the cPanel dashboard provides various web files, MySQL, statistics, data tracking, and SEO features. It is no wonder that cPanel is one of the most popular control panels among web developers and the best hosting companies.

To specify, when a hosting provider manages a server with WHM and creates cPanel accounts for their customers, this practice is known as cPanel hosting.

If you want to know more about cPanel hosting, keep reading. This article will go over the pros and cons of cPanel along with the steps of using it. In case cPanel is not suitable for you, we will name its alternatives that are just as useful.

cPanel is a Linux-based control panel used to conveniently manage your web hosting. The system operates similarly to a desktop application. With cPanel, you can perform actions from a user-friendly dashboard instead of running complex commands.

cPanel hosting with Hostinger

Wondering which Hostinger plans you need for cPanel? Can’t decide between cPanel web hosting and cPanel VPS? Check out our video on the subject.

Subscribe For more educational videos! Hostinger Academy

What is cPanel hosting?

cPanel hosting is essentially Linux-based web hosting that includes an installation of cPanel. The hosting plan provides a cPanel account to control your web hosting elements.

With that in mind, cPanel can be used in different types of hosting, including shared, dedicated, and managed WordPress hosting.

This control panel is a good choice for beginners looking for a straightforward control panel solution. However, just like other hosting control panels, cPanel has its benefits and drawbacks.

Pros:

  • User-friendly interface. The cPanel interface categorizes various features under manageable modules, allowing users to locate them easily. The cPanel dashboard also comes with intuitive menus and graphics for smooth navigation.
  • Highly compatible. As one of the most popular control panels, cPanel is compatible with several web browsers, including Google Chrome, Safari, and Mozilla Firefox. Additionally, cPanel supports many third-party applications, including site builders and SEO tools.
  • Wide range of features. Requiring no advanced technical knowledge, cPanel lets users perform complicated tasks such as creating subdomains and FTP accounts, managing MySQL databases, and generating site backups.
  • Automatic software installation. Not only does cPanel provide numerous features, but it is also well-integrated with the Softaculous Apps Installer. It grants access to more than 400 applications, including popular content management systems. Softaculous takes care of each application during its whole lifecycle, from installation to updates.
  • Reliable support. The cPanel forums and blogs contain plenty of resources. Dedicated technical manuals for both cPanel and WHM are also available. They explain how to use and solve issues with cPanel products.

Cons:

  • Security vulnerability. Research shows that cPanel’s two-factor authentication (2FA) method is vulnerable to brute force attacks. To prevent this, always make sure your cPanel version is up-to-date.
  • Costly license. cPanel has the highest license cost compared to its competitors. Thus, if you’re only managing a website, a cPanel hosting plan can be a cheaper solution as the web host will lend you their cPanel license.
  • Risk of data loss or corruption. There are times when the cPanel system accidentally overwrites server settings and removes all data during major updates. This happens due to a crashed or failed hard drive. In such cases, try to perform a full disaster recovery to restore your web server.
Hostinger web hosting banner

How to use cPanel

Now that you know the pros and cons of cPanel, it’s time to learn how to use it. Before jumping into the first cPanel tutorial, we will go over the different ways to access it.

Generally, most hosts will include a direct link to the cPanel dashboard in the welcome email. However, if there is no link attached, you can log into your cPanel account via the browser’s address bar.

If your site address begins with HTTP, simply add :2082 at the end of the URL. For a site address that starts with HTTPS, write :2083. For example:

  • http://your-site-address.com:2082
  • https://your-site-address.com:2083

Access the URL, and it should take you to the cPanel login page.

The cPanel login page

Type in your cPanel username and password and click on the Log in button. Once you’re inside the control dashboard, you should see various modules and features.

We will explain each section along with the main functions.

Files

The Files section on cPanel

The Files section contains features for direct file management. From this section, you can upload files without an FTP client, specify privacy levels, and set up a backup wizard.

Using File Manager

cPanel includes an easy-to-use file manager that works like desktop file explorer applications – users can easily edit, remove, or add files and folders.

Clicking on the File Manager button will take you to the page that lists all of your website files.

The File Manager on cPanel

From there, you can start performing various actions by clicking on the respective menu button. For example, if you want to move a file, select one and click on the Move button. This will trigger a prompt to appear – simply fill out the new path and click on the Move File(s) button.

The Move window in the File Manager on cPanel

Keep in mind that every file in cPanel can affect your server, so be careful when modifying them to prevent any site errors.

Preferences

The Preferences section on cPanel

This is where you can configure the various aspects of the cPanel dashboard, such as language, theme, and user information. The module also includes features to add a new cPanel account and manage the password.

Storing basic information

One of the most important features of this section is adding your contact information. Use the Contact Information application to store your contact information and preferences.

Start by including your email address in the provided field – the system will notify you of any activity in your account, like reaching your mailbox and bandwidth quota.

The Contact Information application on cPanel

Then navigate to the bottom of the page and check the boxes based on your contact preferences. For example, if you want to get notified when your email address is changed, click on the respective box.

The Contact Preferences options on cPanel

Simply check the boxes to receive notifications about specific circumstances. Be sure to click Save when you’re done.

Databases

The Databases section on cPanel

If your website uses a content management system (CMS) like WordPress, it will need a database to store all the important data and information, such as usernames, passwords, and posts.

This section is all about managing the databases – its tasks are mostly done via MySQL Databases and phpMyAdmin.

Create databases and manage MySQL users

Click on MySQL Databases. On the New Database section, enter your desired database username and click Create Database.

The Create New Database field on cPanel

A new database will be added to the Current Databases list.

The Current Databases screen on hPanel

To add a new MySQL user, scroll down to the MySQL Users section. There, enter the username and password and click Create User.

The Add New User fields on cPanel's MySQL Users screen

When you’re done, navigate to the Add User To Database section. Click on the dropdown menu and choose the new user and database – this will grant the user access to the selected database.

The Add User To Database fields on cPanel

Once you’re done, you can start importing your files into this new database via phpMyAdmin. To ensure reliable site performance, try optimizing your database.

Softaculous apps installer

The list of applications that can be installed using the Softaculous Apps Installer on cPanel

Softaculous is a script library that automates the installation processes of various applications. The most popular software includes WordPress, phpBB, Joomla, and Drupal.

Thanks to the seamless integration with cPanel, you can directly install any software right from the dashboard.

Install software with Softaculous

Start by selecting the script you want to install. If you can’t find the software under the Script section, try browsing through the categories.

In this example, we will show how to install WordPress – continue by clicking on its icon.

Important! Before you install WordPress, read the requirements to make sure you have the necessary resources.

The WordPress installer page on cPanel via Softaculous Apps Installer

Clicking on the Install Now button will prompt you to configure the software setup and site settings.

Simply choose the installation URL and specify the options for your WordPress website. Additionally, you can create an admin account, select a free WordPress theme, and pre-install multiple plugins.

The Software Setup and Site Settings screens when installing WordPress using the Softaculous Apps Installer on cPanel

Once you’re done, click Install to start the WordPress installation process.

Software

The Software section on cPanel

Generally, your web hosting will set up a dedicated section for the Softaculous Apps Installer. However, you can also find the auto-installer under the Software section, along with other scripts and applications.

Since this section mainly deals with programming languages, such as PHP, Ruby, and Perl, it is mostly used by advanced users.

That said, if you have a Cloudflare account, you can sign up and enable it here.

Setting up Cloudflare

To set up Cloudflare for your website, simply click on the Cloudflare icon and enter your credentials to sign in.

The Cloudflare login page

Once you’re logged in, click on the Domains option, and you will see a list of active websites with their DNS details.

The easiest way to set up Cloudflare is by adding the CNAME records. This will point a subdomain to your main domain. Go ahead and click the Provision Domain with CNAME Setup button.

The Domain Overview screen on Cloudflare

This will change the status to active, enabling Cloudflare on your website.

The active status for a domain on Cloudflare

Domains

The Domains section on cPanel

It’s common for webmasters to use one hosting account for multiple sites. Hence, the Domains section provides the features for all domain-related tasks, such as managing domain names, setting up addon domains for newly purchased domain names, and creating parked domains.

Using the DNS Zone Editor

cPanel contains Zone Editor to create, edit, and manage DNS (Domain Name System) records. This feature performs multiple actions, from adding an MX record to managing domain configurations.

The Domains screen on cPanel's DNS Zone Editor

To create an MX record, simply click on the respective button. This will open a new page – enter the priority value in the Priority box and a fully qualified domain name in the Destination field.

the Add an MX record window on cPanel's DNS Zone Editor

Finally, click Add An MX Record to save the changes.

Metrics

The Metrics section on cPanel

The features listed in this module work to track website statistics, from counting the number of visitors to monitoring resource usage. These metrics give you access to insights that can help you make decisions to improve your website.

Viewing traffic statistics

Every tool provides extensive reports of your site. For instance, the Awstats feature is integrated with the AWStats software. It reports traffic statistics hourly, daily, or monthly.

Moreover, the software records visitors’ data, including their browser and location information. This helps analyze their behavior and make changes to improve performance.

The Awstats interface via cPanel

To view specific information, simply find the options on the left sidebar. To view reports on a specific timeframe, change the Reported period.

The Reported period drop-down menu in Awstats on cPanel

Security

The Security section on cPanel

Security is a big concern for every site owner, especially if you store sensitive information such as credit card details. This module helps you keep an eye on key security settings on your hosting account.

There are multiple features to optimize your site security, including SSH Access to connect to your server via SSH and SSL/TLS to enable SSL certificates for extra security. Another essential feature is the Hotlink Protection which prevents other sites from stealing your site resources.

Configure hotlink protection

Hotlink protection prevents your files from being used on other sites – preserving your bandwidth amount. To do so, open the Hotlink Protection feature and configure the settings.

The Configure Hotlink Protection screen on cPanel

To allow specific sites to use your files, simply list them in the URLs to allow access section. Meanwhile, to specify which types of files to restrict, write down the file formats under Block direct access for the following extensions.

Additionally, if you want to redirect requests for specific content, fill out the URLs in the provided field. Once all the fields are filled out, click Submit to save the changes.

The Allowed Referrers and Protected Extensions fields on cPanel's Hotlink Protection

Advanced

The Advanced Section on cPanel

As the name suggests, the features in this section are dedicated to advanced users who want to have more control over their websites by managing the server, tracking network information, and clearing WordPress site cache with LiteSpeed.

One handy feature in this section is Cron Jobs. It automates commands or scripts on your site, like setting up a scheduled backup or deleting files after a certain period.

Create a cron job

Click on the icon and add a Cron Email in the provided field to receive notifications whenever a specific cron job is running.

The Cron Email screen on cPanel

Be sure to click on the Update Email button before moving on to the next section. Then, specify what type of cron job you want the system to perform. Enter the command you wish to automate in the Command box and click Add New Cron Job.

The Add New Cron Job screen on cPanel

Email

The Email section on cPanel

Not all web hosting plans feature email, but if your plan includes both email and cPanel, this is where you’ll administer all email-related tasks.

From setting auto-responders to creating custom email accounts, these features will help complete those tasks efficiently.

Create an email account

Use the Email Account feature to create, delete, and manage email accounts from the cPanel dashboard. Clicking on the icon will open a list of active email addresses on your website.

To add a new one, click Create.

The Email Accounts table on cPanel

A new window will open. Start by filling in the requested information. Once you’re done, click the Create button.

The Create an Email Account window on cPanel

Repeat the process to create another account.

Alternatives to cPanel

There are several alternatives to cPanel out there. As every hosting provider is different, you’ll need to check with each potential host to find out what hosting control panels they use.

Here at Hostinger, we have our own custom control panel, which is available with all web hosting plans. While it shares a few similarities with cPanel, it is more user-friendly.

Despite resembling cPanel, the hPanel dashboard has a more straightforward user interface. The various tools are organized in multiple sections.

For example, WordPress features are located in the designated WordPress section, while features for website optimization can be found in the Website section.

Additionally, hPanel offers intuitive navigation. When you select one of your plans, a sidebar will appear on the left. This makes it easy to navigate to other sections.

The main view of the Websites section in hPanel

It’s also easy to contact the Hostinger support team. Simply click on the purple chat icon at the bottom right of the screen, and it will connect you with a customer support agent.

Hostinger web hosting banner

Suggested reading


Do you want to learn more about the fundamentals of web hosting and website building? Check these tutorials out:

What is web hosting? A beginner-friendly guide
Overview of WordPress – the most popular CMS in the world
What is a domain name and how does it work?

Conclusion

cPanel is one of the most popular Linux-based web hosting control panels, featuring a range of modules including Files, Preferences, Databases, Web Applications, Domains, Metrics, Security, Software, Advanced, and Email.

The user-friendliness and a simple interface make cPanel a popular choice among webmasters. Additionally, cPanel makes it easier to run a website, manage web files, and perform various tasks.

Below are some actions you can do via cPanel:

  1. Manage and edit site files.
  2. Save important contact information.
  3. Create and manage MySQL databases for WordPress websites.
  4. Install software with only a few clicks.
  5. Enable Cloudflare for better performance.
  6. Add and update DNS records.
  7. Monitor key metrics of your site and server.
  8. Configure extra security layers.
  9. Activate various cron jobs.
  10. Create and manage email accounts.

We hope this article has helped you understand cPanel. If you want to try it out, there’s a demo version available. If you think cPanel doesn’t suit your needs, there are plenty of alternatives out there.

If you have any questions or remarks, share them in the comments section below.

Author
The author

Domantas G.

Domantas leads the content and SEO teams forward with fresh ideas and out of the box approaches. Armed with extensive SEO and marketing knowledge, he aims to spread the word of Hostinger to every corner of the world. During his free time, Domantas likes to hone his web development skills and travel to exotic places.

Author
The Co-author

Nabilla R.

Nabilla is a website hosting and development enthusiast. She loves to share her knowledge with others in order to help them grow their online presence. When she's not busy writing, Nabilla enjoys exploring nature and going on adventures. She is passionate about helping people achieve their online goals.