iso-wavenet-green

COMPLETE GUIDE CPANEL

In this complete cPanel guide for hosting users, you will find all the basic and necessary information for your first steps on the cPanel platform, so you know how to navigate and manage it correctly and clearly.

ACCESS TO CPANEL

The first thing we need to do before moving on to the next steps is to access our cPanel. To do this, we simply need to open a browser (Google Chrome, Firefox, Explorer, etc.) and enter the URL in the address bar. IP address and port for access to our Cpanel.

Next, the Cpanel login will appear in which we must enter user and password.

ACCESS TO CPANEL

Once the correct username and password have been entered, we will have access to our cPanel and we can proceed with the following steps in the guide.

HOW TO ADD A NEW DOMAIN IN CPANEL

To add a new domain we must go to the section of "Domains" from our cPanel and select the option "Additional domains".

HOW TO ADD A NEW DOMAIN IN CPANEL

Once inside, the following window will open:

Additional domains

We must fill in the first field called «New Domain Name» by entering the name of our new domain, for example «Trydomain.com» which is the one we have used for this guide as you can see in the following slide.

Once we have entered our domain name in the first field, the remaining fields will be filled in automatically, and we will only have to click the button. "Add domain".

Add domain

Next, we should see a message confirming the success of the process and that our domain has been added correctly.

successfully added

Finally we can check that our domain has been created correctly

Finally, we will be able to check

HOW TO ADD A SUBDOMAIN IN CPANEL

To add a new domain we must go to the section of "Domains" from our cPanel and select the option "Subdomains".

HOW TO ADD A SUBDOMAIN IN CPANEL

A window will open with blank fields to fill in, where we must enter the details of our new subdomain.

Subdomains

We will need to fill them in so that in the first field we put the name of our subdomain and right below we will select the domain to which we want it to be associated, the last field will be filled in automatically when we choose a name for our subdomain.

Once we have completed all these steps, we must click the create button to start the process of creating our subdomain.

HOW TO ADD A SUBDOMAIN IN CPANEL

If the entire process has been executed correctly and without any problems, the following confirmation message will appear, after which we can return to the previous window.

previous window

Finally we can see our new subdomain already added.

Finally we will be able to

HOW TO CREATE A REDIRECTION FROM CPANEL

To add a new domain we must go to the section of "Domains" from our cPanel and select the option "Redirect".

Domains

The following window will appear, in which we must fill in the blank fields to create the redirection.

redirect
  • In the first field we can select the type of redirection, whether we want it to be 301 (Permanent) or 302 (Temporary)
  • Then we must select the domain from which we want to make the address
  • We must choose the folder of the domain before selected that we want to redirect
  • The domain to which you want to redirect
  • Finally, we can decide whether we want to do a redirect with www or without it, and whether we want it to be a wildcard redirect.
wildcard redirection

Once these previous steps are completed, we must press the button "Add" to add this new redirect.

to add this

We can verify that the redirect has been added in the list of redirects created.

redirects created

HOW TO CREATE AN ALIAS IN CPANEL

To create an alias that allows us to access a website using other names, we must go to the section of "Domains" from our cPanel and select the option "Alias".

Alias

Inside, the following window will appear where we must fill in the domain field, in which we will put the name of the new Alias:

of the new Alias

We click the add domain button and a message should appear confirming that the process has been successful.

redirect

After this, we will be able to see the new alias in the list of created aliases and we can modify it if we want to add a redirect.

add a redirect a redirect

HOW TO INSTALL A FREE SSL FROM CPANEL

To install an SSL certificate and thus be able to redirect from http to https, we must perform the following steps.

First we must access the section of "Security" from our cPanel and select the option "SSL / TLS".

Security

Once inside, it will send us to the next window and we must select the Certificates (CRT) option.

 Certificates (CRT)

A new window will open, and we will need to scroll down the page until we reach the section on "Generate a new certificate"

In this section we must fill in the following fields in order to generate the new certificate:

  • CodeWe will leave it on the default option (Generate a new 2048-bit key)
  • Domains: Write the domain (s) in which to generate the key
  • City: City you decide, preferably where the company is located
  • Status: The same case applies as with the City
  • Country: It would be the same as in the case of the City and the State
  • Company: The name of our company
  • Division: Division of said company
  • Email: An email at our disposal
  • Description: A brief description of the certificate
A short description

After generating the certificate, the following message will appear, and we simply need to click on the install option as shown in the following screenshot.

next screenshot

Another window will open where we must select our domain, click the auto-fill button to automatically fill in the certificate, and finally click install.

Finally, click install. last give

And finally a message will appear confirming the success of the installation.

installation success

HOW TO CREATE A MYSQL DATABASE IN CPANEL

To create a MySQL database that will be very useful for our website, regardless of the CMS we use to create it, the first thing we must do is access the section of "Database" and here we will select the option "MySQL databases".

MySQL databases

It will open a window where we can create a database, a user, and associate the user with the database.

The first thing we need to do is create a database. To do this, in the first field called "new database", we will write the name of the database we want.

data that we want

Later we must create a user.

an user

Once we have created a user and a MySQL database, we proceed to link that user to the database and give it the privileges we want.

that we wish  said user

HOW TO USE PHPMYADMIN IN CPANEL

The first thing we must do is access the PHPMyAdmin section for this we will enter the section of "Database" and within this he "PHPMyAdmin".

PHPMyAdmin

When we access PHPMyAdmin, a main window will open in which we can see the databases created previously.

above

At this point we can access each database and we can edit or modify it depending on what we need.

we need

HOW TO CREATE OR EDIT A DNS RECORD IN CPANEL

The first thing we need to do is access the DNS zone creator and editor section; to do this we will go to the section of "Domains" and within this he "Zone Editor".

Zone Editor

A window will open where we can see each domain that has been created, and we can create a DNS zone for each of these domains. "A Record", "CNAME Record" o «MX Record».

CNAME Record

Depending on which one we select, we will be shown several fields to fill in to create said DNS Zone.

 said Zone DNS

HOW TO CONFIGURE CRON TASKS IN CPANEL

A CRON task is a scheduled task in our cPanel which will execute a command at regular intervals that we have previously set.

The first thing we need to do is access the CRON task settings; to do this, we need to go to the section of «Advanced» and here we will select the option "CRON jobs"

CRON works

When we enter we can see a section called "Common configuration"Here we can insert the command execution time and the command in question.

command in question

In the first fields we can fill in the data for minutes, hours, days, month and day of the week. cPanel also brings us certain default options to facilitate the process; in our case, for this guide as an example, we have used the 5-minute option.

we used

Next, we must enter the command that we will execute during this time period for this scheduled CRON task.

For this guide we will use the following command as an example:

wget -q -O /dev/null -t 1 "http://unexample.es/wp-cron.php?doing_wp_cron" >/dev/null 2>&1

And finally we will give you the option to add a new cron job to add the new task.

the new task

In this way we can see the new cron job already created.

 chronological work

FILE MANAGER IN CPANEL

The file manager is simply, as its name suggests, a file explorer or browser very similar to what a graphical operating system like Windows or Ubuntu might have, but with the difference that it is a bit more limited since it is a web-based file manager from cPanel.

The first thing we need to do is access the file manager; to do this we must go to the section of "Files" and we enter the option of "File manager".

File Manager

Once we access this option, we can work with the file manager. In the first window, we'll see an organization where, on the left, there's a list of all the folders, allowing us to see how many folders we have and access them quickly. On the right, we see the contents of each folder in much more detail.

each folder

From the right panel we can move, copy, download, etc. the files we have.

that we have

HOW TO CHECK THE STORAGE USED IN CPANEL

The first thing we need to do to check the storage that has been used in our cPanel is to go to the section of "Files" and here we select the option of "Disk Usage".

and here we select the option of

We will be able to see the space occupied in two ways, the first would be in a somewhat more graphic way for each folder.

Disk Usage

Or a more tree form, where we can see directories and content.

the content

HOW TO CREATE A DIRECTORY WITH PASSWORD IN CPANEL

First we must scroll to the section of "Files" from cPanel and select the option to "Directory Privacy"

Directory Privacy

The first thing we will see is a list of folders which we can select in order to set permissions.

we can select

Once we select one, the following window will open in which we can write a name for the protected directory and also create a username and password for our protected folder.

Furthermore we will be able to

HOW TO CREATE AN FTP ACCOUNT IN CPANEL

To create an FTP account we must first scroll to the section of "Files" from cPanel and select the option to "FTP accounts".

FTP accounts

A page will open divided into three sections: one for creating an FTP account, the second for creating FTP accounts, and finally, accounts that are created by default called special accounts.

In the section where we are allowed to add an FTP account, we must enter the login name that we will use for this account, along with the domain it will belong to, the password it will have, the directory where it will be located, and its quota, which in our case will be unlimited.

will be unlimited

We click the "Create FTP Account" button, a message will appear indicating that our account has been created successfully, and we can now see our account in the list of created FTP accounts.

FTP created

And finally, if we reach the end of this window, we can see the accounts that are created by default called "Special FTP accounts"

default

SECURITY COPIES IN CPANEL WITH JETBACKUP

The first thing we need to do is go to the JetBackup section (for this we must have the JetBackup module installed) and we will be able to see all the Backup options that cPanel offers.

cPanel offers

Depending on the type of backup we want, we must select one of the options offered by JetBackup, and in all cases the process is similar.

In our case we select the option Full Account Backups And the following window opens, in which we will see a list of the latest backups ordered by date from most to least recent.

less recent

For all Backups we can either restore them or generate a download.

If we select the restoration option, an alert window will open where we must accept the terms and conditions and enter an email address to which a notification will be sent when the restoration is complete.

restoration

With the option of "Generate download" We can request that the option to download this backup be generated, which after a waiting time (this time varies depending on the size of the backup) will allow us to download it without problems.

will allow us Download

In the case of the option "File backups" The process would be slightly different since this option allows us to view each folder and each file in the backups and thus make a more precise selection of what we want to recover or download.

retrieve or download

Once we select this option, a window will open in which we must select a Backup from the list ordered by creation date from most recent to least recent.

we must select

We select the link of "File Manager" from the backup we want and we will be able to view and select the folders of that backup.

we will be able to see

Once these folders are selected, we can choose what to do with them: recover them, download them, or remove the selection.

if you recover it

HOW TO CREATE AN EMAIL ACCOUNT IN CPANEL

First we must scroll to the section of "Email" and we must select the option "E-mail accounts"

 email

Upon entering, a window will open and we must select the option "Add email account".

Add email account

We fill in the fields, select the domain or subdomain to which we want it to belong and give it to "Create Account".

HOW TO CONFIGURE AUTORESPONDERS IN CPANEL

The autoresponder in cPanel is a very basic system that allows you to configure a specific email address to automatically reply to all incoming emails. The first thing you need to do is navigate to the section... "Email" and we must select the option «Answering machine».

Answering machine

We will be able to see the list of autoresponders already created, if any have been created, but we will click the button. «Add auto responder».

add autoresponder

Then we must fill in the following fields necessary to create the auto-responder:

  • Set of charactersIn our case, we will leave it as it appears by default.
  • Interval: The time (hours) between response and response to the same email address.
  • Email: The name of the email address that will be responsible for automatically responding to all incoming emails with this auto-responder.
  • Domain: The name of the domain this email belongs to.
  • From : The email address that will appear in our responses.
  • Subject:: The subject that will carry the answer.
  • Her first book of poems, Cuerpo,: Content of the reply mail.
Content of the reply email Create/Modify

It would only be left to mark the option «Create / Modify»

HOW TO CONFIGURE FORWARDERS IN CPANEL

The first thing we have to do is scroll to the section of "Email" and we must select the option "Forwarders".

Forwarders

By opening this option we can see the list of created forwarders and the two forwarder durations we can create "Add forwarder" o "Add domain forwarder"Furthermore, it allows us to choose which domain to add the forwarder to, or whether to add it to all domains.

all domains

En add forwarder We can have everything forwarded from one email to another that we specify.

Let's specify

En add domain forwarder The goal is similar to the previous option, except that in this case we can forward all emails from one domain to another.

emails

DATA TO CONFIGURE AN EMAIL CLIENT IN CPANEL

To find the necessary information to configure an email client in cPanel, the first thing we need to do is navigate to the section of "Email" and we must select the option "E-mail accounts".

E-mail accounts

When we enter we will see the list of emails created and we will have to select the option "access webmail" to be able to see the data.

to be able to see the data select option

MONITORING OF POST DELIVERY IN CPANEL

With the email delivery tracking option in cPanel, we can see if an email sent from a cPanel server email account has reached its destination.

To do this, the first thing we should do is scroll to the section on "Email" and we must select the option "Monitor shipment".

Monitor the shipment

Once inside we can see the list of emails sent and the result

result

HOW TO CHECK THE BAND WIDTH USED IN CPANEL

We need to closely monitor the bandwidth we're using from our cPanel. Therefore, a very useful tool for this task is... "Broadband" located in the section of "Metrics"

Metrics

And here we can see the statistics of the bandwidth consumed in the last days.

last days

HOW TO REVIEW AWSTATS STATISTICS IN CPANEL

To access the AWStats log analyzer, the first thing we need to do is navigate to the section of "Metrics" and enter the option "AWStats"

AWStats

When we log in, we'll see a list of the domains we have, and we choose the domain for which we want to view the AWStats.

Domains what we want

HOW TO CHECK THE CONSUMPTION OF RESOURCES IN CPANEL

To check resource consumption in cPanel (RAM, CPU, etc.) the first thing we need is to have Cloudnix installed, which will allow us to see resource statistics.

We must move to the section of "Metrics" and we enter the option of "Usage of the CPU and simultaneous connection"

simultaneous connection

The following window will open and we will have to select the option «Details» and then we'll be able to see the statistics on the resources consumed.

resources consumed Details

HOW TO ACTIVATE AND DEACTIVATE MOD_SECURITY IN CPANEL

To activate and deactivate ModSecurity, the first thing we need to do is navigate to the section of "Security" and we enter the option "ModSecurity"

ModSecurity

Once inside, we will be able to see a list of our domains and we can activate or deactivate modsecurity for the desired domain.

what do we want

PROTECTION AGAINST HOTLINKING IN CPANEL

The first thing we have to do is scroll to the section of "Security" and we enter the option "Direct Link Protection"

Direct link protection

A window will open where, in addition to activating this option, we can add URLs to allow access to, add extensions to block direct access to, or even enter a URL to redirect the request to.

add extensions

BLOCK IPS ATTACKERS FROM CPANEL

Knowing how to defend against attacks targeting specific IPs is very important, which is why cPanel has a very useful tool for this type of attack.

The first thing we have to do is scroll to the section of "Security" and we enter the option "IP Blocker"

IP Blocker

When we enter, the first thing we will see is the field in which to enter the IP range that you wish to block.

What we will see will be the

Once we have entered the IP we wish to block, it should appear in the list of blocked IPs located just below.

IP address that we wish to block

ACTIVATE DEFLATE OR GZIP IN CPANEL

To activate Deflate we must take a simple step, to begin the first thing is to move to the section of "Software" and we give the option of "Optimize website"

Optimize website

Then we must check the second box called "Compress all content"

all content

We give the button "Update configuration" and no confirmation message will appear.

confirmation

SELECT THE PHP VERSION USED FROM CPANEL

To select the PHP version you want for cPanel, the first thing we need to do is scroll down to the section of "Software" and select «Select PHP version»

Select PHP version

When it opens we can select the desired PHP version

Desired PHP

HOW TO CONFIGURE PHP EXTENSIONS OR MODULES IN CPANEL

To select PHP extensions or modules, the first thing we need to do is navigate to the section of "Software" and select «Select PHP version»

Select PHP version

In the next window, the PHP modules and extensions for each PHP version will appear, and we only need to check or uncheck the ones we want.

those of us who want to

CONFIGURE PHP VARIABLES AND LIMITS FROM CPANEL

To configure PHP variables and limits, the first thing we need to do is navigate to the section of "Software" and select «Select PHP version»

Select PHP version

Within this window we select the option "Switch to PHP Options" which is located on the right side of the window

Switch to PHP Options

And a table will open in which we can edit the variables and PHP limits as we want

PHP limits

HOW TO INSTALL A CMS WITH CPANEL FROM SOFTACULOUS

To install a CMS from softaculous we must first go to the section of «Softaculous APPS Installer» and select "Softaculous Apps Installer"

Softaculous Apps Installer

In the Softaculous window that will open, we will see a list of CMS that we can install; in our case, for this guide, we have chosen "PrestaShop"

list of CMS that

We select it and then we just have to click the install button next to the description

finds next