Can You Upgrade Php Through Cpanel in Level 3

cPanel Tutorial

cPanel is the nigh pop web hosting control panel. Information technology's the place to manage the backend of your website. Still, you may come up across a question or 2 while using it. That's why in this all-in-i cPanel tutorial serial, nosotros'll embrace all of the mutual questions related to cPanel.

Video Tutorial

How to Use cPanel's File Manager

The File Manager is the tool that you lot need to do basic file management for your cPanel. Besides uploading and extracting files, yous can also utilise information technology for creating files and folders, assigning permission, etc.

Basically, information technology shares the aforementioned functionality as an FTP client, although non as powerful.

Step i. How to Find the File Manager

  1. In one case you've logged into your cPanel business relationship, you should find the File Manager. It'due south located under the Files department. Or, you can also search for it by proper noun equally nosotros did in the previous tutorial.file manager tool in cpanel
  2. When you open the tool, yous'll exist directed to a new window that shows y'all navigation and direction options forth with a directory of folders and files that your website has.file manager dashboard

Note: From here on nosotros'll only piece of work with the public_html folder. All of the remaining folders are mostly required by the system to ensure the cPanel service is working properly.

Step 2. How to Navigate the File Director

Beginning of all, there'southward a window section that shows you a folder tree on the left, and a folder's contents on the right. You can navigate to a folder by clicking on the appropriate one. For case, clicking the public_html folder will evidence you its content – .well-known, cgi-bin, robots.txt, etc.

public html main window

Alternatively, you tin can also navigate to a specific folder past writing its total name path and clicking Go from the folder tree search feature.

insert the folder path in the search bar

There are several navigation functions bachelor:

  • Habitation — when yous click it, it will show you the Abode folder and its content
  • Upwardly One Level — goes up one level from your electric current place. For example, when you lot're on cgi-bin folder and click this, it'll bring you dorsum to the public_html folder, which is a higher level than the cgi-bin folder
  • Back/Forward — works pretty much the aforementioned every bit back/forwards navigation in your web browser
  • Reload — refresh the folio to show changes fabricated
  • Select/Unselect All — to select or unselect files or folders
  • View Trash — shows the Trash folder where all deleted files reside
  • Empty Trash — to clear the Trash folder. You can just apply this feature while in the Trash binder

Step 3. Using the File Management Features

After learning about navigation, the next important thing is to get to know the file management features. In that location is a toolbar available to assistance y'all only yous tin also access virtually of the features by right-clicking on a specific particular.

file management toolbar in file manager
  • File – you tin create a new file inside a selected folder by using this feature. Here we'll create an index.php file in the public_html binder.
  • Folder – this characteristic lets you create a new folder. Hither, we'll create one named examination-folder.
  • Re-create– you can copy the selected file to a specific destination. We're going to copy the index.php that we've created to the test-folder.
  • Move – This characteristic works exactly similar Copy. The just deviation is that the file volition be removed from its original location.
  • Upload – here y'all can upload a file to your hosting account. However, you can't upload folders. To upload folder or larger file, you can use an FTP client. You have ii options to upload the file, either directly drag and drib it or select the file from your computer manually. Once y'all finished, click the Go Back to link.
  • Download – this feature will download the selected files to your computer.
  • Delete – this option moves the selected file to the Trash folder. If you want to remove the file permanently, check the Skip the trash and permanently delete the files box.
  • Restore – This feature is only available when y'all're in the Trash folder. You tin can restore a removed file to its folder origin.
  • Rename/Edit/HTML Editor – Y'all'll need these features to edit your files. They piece of work pretty similarly like whatsoever text editor software and can be quite a help for editing on the go. Though it uses a WYSIWYG interface, it'south not quite powerful as other HTML editor software.
  • Permissions – You lot need this feature to assign permission to a specific file or folder. We recommend you don't change anything unless you completely understand what you're doing, every bit changing the wrong permission tin cause your website problems.
  • View – Employ this to view a file, for instance, to open a motion picture or view the content of the index.php file.
  • Extract/Compress – With compress, y'all can archive chosen content to a Zip, Gzip, or Bzip2 format. Extract volition practise the opposite – extract an archive.
  • Settings – With this feature you tin fix up your preferences. For example, you can set the default folder to open whenever you utilize the File Manager. You lot tin also choose to Show Hidden Files (dotfiles). For case, if you want to edit .htaccess to blocking sure aspects of your website.

That's basically all you need to know virtually the navigation and direction features on the File Manager. Next, we'll hash out bandwidth usage, which is some other important attribute for your hosting programme.

How to Check Bandwidth

Bandwidth is all of the incoming and outgoing traffic or data being transferred on your hosting account. The usage depends on many factors, including visitors, email communication, and may include the FTP connection.

Y'all need to take a closer look at bandwidth usage, as it usually relates to the hosting plan that y'all subscribed to. cPanel volition ship an automatic electronic mail notification when you're close to the limit.

Step ane. Access a Short Summary of Bandwidth Usage

When you log in, you tin can immediately see the bandwidth utilize summary in the right-hand panel nether the statistics section.

bandwidth summary in the cpanel

Step 2. Admission the Bandwidth Statistics in cPanel

You can find the full statistics presented in detail by clicking the Bandwidth link from the previous footstep. Alternatively, you tin also search bandwidth by name with the search feature.

bandwidth tool in cpanel

When you click either of the two options, it will direct y'all to a new window that shows the consumption based on a daily, weekly, and monthly basis as well as the total sum of your usage.

Have a look at our development site's daily bandwidth utilise as an example.

the daily usage of our development site

And as you tin can see, cPanel currently monitors traffic coming from these sources:

  • HTTP Traffic – represents the data sent and received over the protocol
  • FTP Traffic – tracks the transfer protocol that you employ to access and share files between your reckoner and the server
  • IMAP/POP3/SMTP Traffic – represent the email communication that happens between your server and a calculator/mail client

There you have it, all you demand to know about bandwidth usage. It's very helpful to empathise what's causing yous reaching the quota limit and act accordingly.

How to Check Deejay Space Usage

Your disk space usage is the total sum of all data in your business relationship including websites files, MySQL databases and e-mail messages.

cPanel will automatically send disk space warnings to your electronic mail address once you accept reached 80%, ninety%, 98% and 100% disk usage. You lot can update your contact email address in cPanel under Preferences section.

Checking the brusque summary of Disk Infinite Usage

Login to your cPanel and on the right hand side, you will see a short summary of your Deejay Space Usage.

Disk Usage Statistics

Stride 2 — Checking Disk Space Usage statistics

Full details of your Deejay Infinite Usage tin be found by clicking on Disk Usage button under Files section of your cPanel.

Disk Usage Statistics Full

Whorl down the folio, then expand the folders with the > sign to the left of each binder. This will show exactly where your disk space is existence used.

Disk Usage cPanel

In gild to remove unwanted files, click on the desired folder and File Manager will be opened in your browser.

Congratulations, you take learned how to check your Disk Space Usage in cPanel. Information technology can be useful when yous demand to know what is causing you to reach the disk space quota limit.

Now let'southward make your cPanel account more secure, past using 2-factor authentication.

How to Set up Two-Factor Authentication

Since data on your cPanel account is very of import, adding ii-factor hallmark (2FA) to information technology can exist benign.

In brief, it's ane way to boost your business relationship's security. You tin use software to generate a time-based onetime password (TOTP), which will give yous an individual code that yous have to input earlier accessing your account.

Pace i. Enabling 2-Cistron Authentication in cPanel

  1. One time you have logged in to your cPanel business relationship, open up the Two-Gene Authentication tool. And so, click the Set Up Two-Gene Authentication push.Two-Factor Authentication tool in cpanel
  2. Now open up your Authy app. From there you can either scan the QR code or enter the Key manually.scan the qr code or insert the key manually
  3. Once scanned, you need to enter the half-dozen-digit token that appears on your Authy app. Then click Configure Two-Factor Authentication.
enter the security token

Step ii. Logging Back to cPanel

Once you lot click Go Dorsum, information technology will straight yous back to the login window. You lot'll need to enter the six-digit token found on your Authy app. You'll need to do this every fourth dimension y'all endeavour to log in.

enter the security code from Authy app

Now, you've successfully created an additional security layer, making you a lot safer fifty-fifty when an unauthorized person has your account's countersign.

In adjacent part of our cPanel tutorial, we'll show yous how to create Add-on Domain in cPanel.

How to Create an Add-On Domain

Add-on domains are additional domains stored as a subdomain of your main site. cPanel allows you to create and control multiple domains with a single account, and you can easily do so using the Addon Domains tool. Let's get started.

Things needed:

  • Admission to your cPanel account

Step i. Access Addon Domains Tool

From your main dashboard, search and open Addon Domains.

addon domains tool in cpanel

Stride 2. Create an Addon Domain

In one case you open up the tool, yous demand to fill up out the grade. Here'due south the explanation for each field:

  • New Domain Name — you simply need to enter the name of the domain you wish to add. In this case, we're using hostinger-dev-cp-2.tech
  • Subdomain — cPanel will automatically add the subdomain proper noun. If you only plan to add one domain name, leave that be. Otherwise, if you're planning to add together two domains with the same name but different TLDs, eastward.m., samedomainname.com and samedomainname.net, y'all need to modify it
  • Document Root — it will too automatically fill up itself. This is the path for your addon domain'due south content
  • Create an FTP Account (Optional) — this choice allows you to create a different FTP account for the new addon domain. If you lot're going to manage that domain yourself, yous don't demand to create one. Nevertheless, if you lot wish to fix the addon domain for someone else, yous can check the Create an FTP account associated with this Addon Domain. With a separate account, they will only take access to the files of that particular addon domain

One time you've filled that, click the Add Domain push.

set up the domain name and ftp account for the addon domain

At present the addon domain is successfully created, you commencement uploading the website's file to the newly created subfolder from the File Manager in your cPanel business relationship.

Stride 3. Manage the Addon Domains

One time the domain added, you should meet it in the Alter Addon Domain list. Here'south the description for that section:

modify addon domain in the list
  • Addon Domains — you can see all the domains you add here
  • Document Root — binder path for that specific domain. When you click the link, it will direct yous to the File Managing director
  • Subdomain — an automated name created in the form
  • Redirects to — yous can redirect the domain to somewhere else, information technology shares the same feature as Aliases. Since we're non doing that, it says non redirected. Nonetheless, if you want to do that, but click the Manage Redirection push button, and it will open a new window where yous tin can assign the path for redirection
    manage redirection for the addon domain
  • Actions — an option to remove the addon domain from the list

Now yous've learned how to create and manage addon domains from your cPanel account. You can upload files and exercise backend management for a different domain by just using the aforementioned account.

How to Create a Subdomain

Subdomains are extensions of a domain. They function separately from the chief domain, thus they can be used to host additional websites. The format of a subdomain is: subdomain.domain.com.

Allow's say we have a domain mywebsite.com and we want to create a forum and a blog for the main site. We could locate them on forum.mywebsite.com and blog.mywebsite.com. These subdomains tin can also be accessed via mywebsite.com/forum and mywebsite.com/weblog.

To create a subdomain, access subdomains section in cPanel.

Fill in all the fields and press
  1. Subdomain field represents the name of a subdomain. In this department, only the subdomain extension has to be entered.
  2. Domain field lets y'all choose the domain nether which the subdomain will be created.
  3. Document Root is the root directory of a subdomain. This binder is created in public_html by default.
  4. Subsequently clicking Create, this message volition appears on your screen.
You should see this screen after that.

If any errors or issues are encountered during this step, the hosting provider should be contacted for help.

Uploading files to subdomain Document Root

All files/scripts should exist uploaded to the Document Root directory specified in Step two. The directory is automatically created in public_html and tin be easily accessed using File Manager section of cPanel. If a subdomain is created using an Addon Domain, the subdomain's Certificate Root will be created inside the root directory of the addon domain, for instance: public_html/addon_domain_root/subdomain_root.

Subdomain directory in File Manager.

Deleting a subdomain

If a subdomain is no longer required, or the name was enterred incorrectly, it is e'er possible to remove information technology. A subdomain can be deleted by pressing the Remove button in cPanel->Subdomains section.

Remove button.

IMPORTANT! The root directory and files of the subdomain volition non be removed. A manual deletion will accept to exist performed by using the File Managing director or any FTP client.

If the goal is to create a subdomain with a dissimilar proper noun while displaying the same content, the all-time fashion would exist to delete the old subdomain and create a new 1 with the same root directory as the deleted subdomain.

To sum upwards, subdomains are a fast, inexpensive and effective manner to create additional websites, equally in that location is no need to purchase boosted domain names. They can also be used to fix specific areas for your main website, such as a forum, blog, shop etc.

  • Subdomains are separately performance domain extensions.
  • Subdomain DNS configuration tin can be inverse without affecting the main domain.

How to Park a Domain

Having a different type of domain is a keen way of "protecting" your brand. So, when you want your brand to be online, yous probably would purchase several domain names.

For example, when you launch the brand under yourdomain.com, you tin too purchase other popular TLDs for it, such every bit .org, .net, and specific country code options (.us for webmasters in the Us, or .jp for Japan).

And so whenever visitors go to yourdomain.org, they'll be pointed to your master domain instead, yourdomain.com. Y'all tin can set this upward by using the domain parking method. cPanel provides you a tool called Aliases to practise only that.

Things needed:

  • Admission to your cPanel business relationship
  • Multiple domain names

Stride 1. Access Aliases

From your cPanel's main dashboard, open up the Aliases tool under the Domains section.

aliases tool in cpanel

Step ii. Create a New Parked Domain

Enter the domain proper noun y'all desire to add under the Create a New Alias section and click Add Domain.

add the parked domain

In this example, we're adding hostinger-dev-cp-1.tech every bit an alias. So, when you visit that URL, you'll get the same result as visiting hostinger-dev-cp-ane.xyz.

You need to add a domain from a valid domain registrar. Otherwise, yous'll go an error message. You'll likewise find necessary nameserver information and instructions to signal out the DNS from your registrar.

Pro Tip: If y'all want to check and annals domain names, you can do so using our domain checker.

Step iii. Manage Redirection

Once you add the domain, it will appear in the aliases list. Now, click Manage Redirection.

manage redirection for the parked domain

Stride iv. Alias Redirection

In the class, enter the main domain you want the alias to point to and click Save.

alias redirection for the parked domain

When you've successfully added the redirection, it takes upwards to 24 hours for the modify to have effect, due to DNS propagation worldwide.

How to Edit DNS Zone Using cPanel'south DNS Zone Editor

Yous've learned how to create an SRV record in the previous tutorial, then you must be quite familiar with the DNS Zone Editor interface. Hither, we'll discuss other things that you can exercise in it.

cPanel actually offers 2 unlike types of Zone EditorUnproblematic DNS Zone Editor and Advanced DNS Zone Editor. Allow's talk about the first option.

Option ane. Elementary DNS Zone Editor

Once you open up the tool, you'll get the option to perform iv different actions using the uncomplicated interface.

simple zone editor in cpanel

A Record

The first activeness allows y'all to add together an A Tape on your domain name. You can utilize this to map a domain'south IP address from a hosting service. Additionally, you can also apply it to provide domain redundancy, past adding multiple A Records for the aforementioned domain.

To add one, simply click the button and fill up all the required fields. In Proper name, you tin can enter the hostname for the tape. In Address, y'all can enter the IPv4 address that you would like to bespeak to. When finished, click Add an A Record.

add a record window in cpanel

CNAME Record

A Approved Proper noun, or simply CNAME, tin exist used to map an alias name to a true domain name. Yous can use this to map a subdomain, such as www or mail, to its content from the principal domain proper noun. If you use Google Suite, you lot would too have a closer await of your CNAME Records.

Click CNAME Record. In the Name, enter the hostname for the record. And in CNAME, enter the subdomain name that you lot want to map.

add cname record in cpanel

MX Record

Post servers will use the Mail Commutation (MX) Record to determine the location of email delivery. You lot should provide the same value for MX Tape and A Record, as they commonly work mitt in hand.

To add one, click the MX Record push. For Priority, the college the value means preferable. Every bit for Destination, you tin use the aforementioned value for the advisable A Record.

add mx record in cpanel

Manage

If you want to access the Advanced DNS Zone Editor, select it in the panel. It likewise contains a list of all different DNS records in your domain.

Option 2. Advanced DNS Zone Editor

With the avant-garde editor, you can edit and fix custom a TTL value for each of your records. This is pretty handy, especially if you want to edit a record from an inactive domain. Besides editing iii previous settings, you tin can also create other types of records including:

  • AAAA Record — maps a domain name to IPv6 Address
  • Certification Authority Potency (CAA) Record — allows a sure authority to issue certificates for the domain
  • Domain-based Bulletin Authentication, Reporting, and Conformance (DMARC) Record — enhances security against fraudulent attempts or suspicious emails. Google Suite users might find this tutorial helpful
  • SRV Record — maps ane domain to another, every bit we did in the previous tutorial
  • TXT Record — uses to concord any blazon of text information. For example, it commonly uses to concur DMARC content

At present y'all've learned how to use the Zone Editor, and you lot tin now hands add, edit, or remove any records in your domain.

In the adjacent cPanel tutorial, nosotros'll bear witness you how to fix an SRV record in cPanel.

How to Add SRV Record

SRV records let you to define the location of specific services to a unlike location. It'due south commonly used for connecting websites and services that are hosted separately. Several services that usually use this are IMAP/POP3/SMTP, Minecraft servers, Teamspeak 3, etc.

SRV Tape Details

At that place are several details in the SRV tape that you demand to input co-ordinate to the service, protocol, and host that you utilize:

  • Name — the domain name used past the service. It should stop with a dot, east.g., _minecraft._tcp.yourdomain.com. (Note: Only employ underscores before service and protocol)
  • TTL (Time to Live) — limits the lifetime of a specific record. The default value is 14400
  • Priority — defines which records should exist prioritized. Lower value  is better
  • Weight — determines which records have the same preference should exist prioritized starting time. A higher value means preferable
  • Port — the port number used by the service
  • Target — the destination hostname where the SRV record will exist pointed to, e.g., minecraft.server.com

In this tutorial for cPanel, we'll use Minecraft as an example. Yous can get the value details direct from the service provider — they volition generate the SRV record details for you. Now, let's add them.

Step i.  Notice the DNS Zone Editor

When you log in, discover the DNS Zone tool. It is bachelor under the Domains department.

zone editor tool in cpanel

Step 2. Add an SRV Record

  1. Choose the domain you want to add the SRV record to, and click Manage. Right beside the filter search bar, click the dropdown at the Add Record push button, and choose Add SRV Record.click add srv record from the option
  2. A new form will appear underneath, fill up in all the required details. One time finished, click Add together Record.fill the srv record details

Once yous're washed, the newly created record should appear in the Zone Record listing. It usually takes less than 15 minutes for the SRV Record to have issue, but sometimes it might take up to 24 hours.

Should your SRV Record non first within 24 hours, y'all demand to contact your hosting provider, to make sure that the details are in the correct format and the port number isn't blocked.

For the next cPanel guide, we'll talk almost MySQL database.

How to Create MySQL Database

Every website needs a place to store its data. Here, we'll create a database for your website, along with creating and permitting a user to admission it.

Step 1. Access the MySQL Databases

Once logged in, navigate to the MySQL Databases tool.

mysql databases tool in cpanel

Stride 2. Create a New MySQL Database

You'll exist directed to the MySQL Databases window. To create a database, input the name (without spaces) in the advisable field and click Create Database. Once done, click Go Back.

create a new database

Step 3. Create and Add New MySQL User

When you scroll down, yous'll find the Add together New User form available. When filling it out, enter the username without spaces. Enter your password and repeat it.

You can likewise use the Password Generator to create a stronger countersign combination. If yous did, click I have copied this password in a safe place and click Use Password.

Once done, click Create User.

create a new user for the database

Once you lot click Go Dorsum, you can fill the form Add User To Database. Select the user from the drop-down list, and cull the database to which the user would be assigned.

adding new user to the database

One time you click Add, you'll be directed to the Manage User Privileges window.

Pace 4. Provide Privileges to the New User

In this stride, all yous have to practice is to grant privileges to the user. If you're creating an admin, y'all tin check ALL PRIVILEGES and click the Brand Changes button.

grant privileges to the new user

There you have it, you lot have successfully created a database, user and granted privileges that are required to access the website's database. Keep in mind, we only created an empty database with this tutorial, so you need to manually create or import all the tables and entries to it.

For the side by side tutorial, we'll be roofing the Site Publisher, which has gained a lot of popularity for offering a uncomplicated way to publish a temporary website.

How to Apply Remote MySQL Feature

Enabling remote MySQL access can be benign for several reasons. This feature allows remote hosts (unlike servers) to access your mySQL database. For example, if you want to allow a third party, such as a shopping cart awarding, to utilise the database.

Things needed:

  • Access to your cPanel account
  • The IP accost or domain proper name you lot want to grant access to

Step 1. Find and Access the Remote MySQL Characteristic

Find and open Remote MySQL® tool under the Databases section.

remote mysql tool in cpanel

Step 2. Allow Remote Server Access to Your Databases

Enter the hostname or IP accost in the Host field. If you want to access the database from the localhost, y'all can use your public IP address which can exist found here. Or, just enter a fully qualified domain name, similar www.3dcart.com, so click Add together Host.

add the host to access database

Notation: You can employ the (%) grapheme equally a wildcard. For example, if y'all wish to grant access for all IPs that begin with 192.168.0, simply enter 192.168.0.%.

Step 3. Delete Remote Server Admission to Your Databases

To remove previously granted access, you can practice the following:

  1. Detect the hostname y'all wish to remove in the Manage Admission Hosts listing, and click Delete.remove a hostname from the list
  2. A confirmation window volition show up, and merely click Remove Access Host.
a confirmation window to remove the hostname

And that'southward it. You tin can easily allow and remove remote admission to your MySQL databases. For security reasons, please don't give permission to an unauthorized person.

How to Setup an Electronic mail Account

Creating an e-mail account using the cPanel is a pretty straightforward process.

Step 1. Locate and Enter the E-mail Accounts Department

In your cPanel's main dashboard, navigate to the Electronic mail section, or simply search for the E-mail Accounts tool.

email accounts tool in cpanel

Pace 2. Creating an Email Business relationship Using cPanel

  1. Once it's opened, click the Create push button and a new window will open.click create email button
  2. Y'all need to provide the details for each field:
  • Username — specifies the username you want to use for the electronic mail. For example, if you wish to utilize info@yourdomain.com, then simply enter info in the field
  • Security — requires you to input a countersign for the email business relationship. Having a strong countersign, with a combination of upper-case letter messages and numbers, is highly recommended. You can use the cPanel password generator to create ane
  • (Optional) Provide an alternate email — if you wish to reset the electronic mail countersign with another email account, y'all can write the culling email here
  • Storage Space — provides yous with two options, express or unlimited. With express storage, one time the email reaches the gear up amount, y'all won't be able to receive any messages. On the other mitt, you shouldn't be worried if you choose unlimited storage

In one case everything is fix upwardly, click the Create button.

filling the details in the email creation form

If you checked the Transport a welcome email with instructions to gear up a mail customer, y'all'll receive a configuration detail to set an email client. Y'all tin then use it to set your webmail through a client such as Postal service, Microsoft Outlook, Mozilla Thunderbird, etc.

And that's it, now you tin can use that email address to correspond with your audience.

How to Create a Website via cPanel's Site Publisher

The Site Publisher is a useful tool, enabling you to speedily create a simple website, even if yous have never created one before. This interface provides templates to choose from, and you then simply add the appropriate information to it.

Step 1. Admission the Site Publisher

The Site Publisher tool is available under the Domains section.

site publisher tool in cpanel

Step 2. Choosing Website Location and the Template

  1. Once you click the tool, yous accept to choose which domain or subdomain the publisher should use.
  2. Once selected, information technology will show you several templates that you can cull. Hither, we'll employ Under Construction.choose the template to use
  3. All that's left is filling out some details. When finished, striking the Publish button.filling out site's details

Important: If you're website somehow doesn't evidence upward, you demand to delete the index.php file in the public_html folder that nosotros created in the earlier tutorial.

At present, yous've successfully created a new temporary website to inform your visitors about what you wish. Hither's how ours look.

the end result of our development site

While you lot're developing the website, allow'due south get-go create an official email account. And then your eager audience can still go far touch.

Next, nosotros'll bear witness you how to backup your website.

How to Backup Your Website

You lot've probably heard this over and over over again – backups are one of the nearly important things to do. Equally you lot need to have your website information in a safe place, merely in example something went awry or you simply desire to transfer the information somewhere else.

Even if your hosting provider helps you create a backup, nosotros all the same highly recommend to perform this yourself. With cPanel, you can practise that pretty easily.

Agreement Type of Fill-in in cPanel

  • Full Account Backup — here you lot can download a backup of your cPanel account'due south details, including Files, DNS Zones, Databases, etc
  • Full Website Fill-in — this will help download a backup of your website'south data only, including the domicile directory, MySQL databases, email forwarders, and filter configurations. You need this when you wish to transfer your cPanel business relationship to another hosting provider
  • Partial Website Backup — hither, y'all can manually select the information you want to backup. For case, if y'all simply need to back up MySQL databases

Full Account Backup Using cPanel

  1. From your cPanel main dashboard, search and open the Full Account Backups tool.full account backup in cpanel
  2. A JetBackup window will pop upwards, and here you'll see a list of your account's backups.jetbackup window in cpanel
  3. Click the Generate Download push button by the file you wish to download, and you lot'll get a download confirmation. So, simply hit the Add to Download Queue push and click Go Dorsum.jetbackup confirmation
  4. Once it'south done, there will exist a Download button next to the file you wish to download.download button to get the backup file

Full Website Backup Using cPanel

  1. Search for and open up the Fill-in Sorcerer tool from your dashboard.backup wizard tool in cpanel
  2. On the new window, click Fill-in.backup wizard window
  3. At present yous have the pick to do a full or fractional backup. Choose Full Fill-in.conducting full backup
  4. You lot tin can generate the backup, and choose how to relieve the archive file. Y'all'll have iv options here:
  • Home Directory — saving the file on your current server
  • Remote FTP Server — using FTP to save the backup file on a remote server
  • Remote FTP Server (Passive Manner Transfer) — using passive FTP manner to save the backup file
  • SCP (Secure Copy Protocol) — using SCP to transfer the file to another server

In this tutorial, we're saving the backup file on our Dwelling Directory.

Click Generate Backup. Depending on your business relationship size, it may take a while to generate the backup file.

generate full account backup
  1. Once information technology's generated, there will be a link nether the Backups Available for Download department. You can then download and keep the file somewhere safe.
backup download link generated

Fractional Website Backup Using cPanel

  1. From the Fill-in Wizard window, select partial backup. In this tutorial, nosotros're going to download MySQL Databases.partial backup in cpanel
  2. Once clicked, you lot'll become directed to final step window and easily locate the database file there. Click the link to save it.final step to download the partial backup

There you accept it, all you lot need to know virtually backups with cPanel. There are 3 options available, tailored to your needs.

In this part of cPanel tutorial, we will evidence you how to utilize the cPanel's implemented Optimize Website feature. It allows you to compress sure types of files in order to enhance your website's functioning.

Step i — Accessing the Optimize Website tool

First of all, you need to enter your cPanel. After doing that, you can either utilize the cPanel'due south search feature or manually find the Optimize Website tool:

Find the

Later on entering the tool's folio, yous should run across this window:

Manage the

Step 2 — Working with the Optimize Website tool

Refer to the previous image and follow the instructions below:

  1. Here you tin can choose the compression option:
    • Disabled will just disable this feature and will not perform whatsoever compression activeness.
    • Compress All Content will compress all the content of your website.
    • Compress the specified MIME types will allow you lot choose what kind of content volition be compressed.
  2. The MIME types field allows yous to specify what kind of files/content will exist compressed. Enter the space separated list of the content that you wish to compress.
  3. Later making your choice, click on Update Settings to apply the settings you accept made. You should see this confirmation message after doing that:
    Confirmation message

Important! Do not add image types in the field, for example, .jpg or .png. These types are already compressed by default.

Congratulations, y'all have enabled cPanel's Optimize Website characteristic for your website.

cPanel'south Optimize Website feature is useful if you lot wish for your site visitors to have a slightly better and faster experience when browsing your website. The website'southward content is compressed before sending it to the company's browser, therefore, it volition have less time to load.

How to Create Custom Error Pages

Error pages assist inform visitors that in that location's an issue with the webpage they're trying to achieve. A lawmaking number usually represents every error. For example, when a visitor is inbound a nonexistent URL, they will go a 404 fault. While unauthorized visitors accessing your website's restricted area volition see a 401 error.

Your spider web server software usually takes intendance of basic error pages. In this tutorial, you'll learn how to create a custom ane using the cPanel, to show HTTP status codes from 400 to 510.

Step i. Locate and Enter the Error Pages

The Mistake Pages tool is located nether the Advanced department. Find and open it.

error pages tool in cpanelPace 2. Select an Error Page for Editing

Once it is opened, you can exercise the following:

  • Managing — here you lot can select the domain that will use the mistake page
  • Error Code List — you need to select the proper error folio to make. Past default, cPanel merely shows the five most common error pages. If you desire to see the remaining listing, click the Testify All HTTP Error Status Codes tab
the most common error code list

Step 3. Edit the Mistake Page

One time you cull which code to piece of work with, you'll be directed to the editing screen. Here you tin use HTML code and insert some tags.

  • Referring URL — shows the URL that visitors come from
  • Visitor's IP Address — shows the visitors' IP
  • Requested URL — shows the URL that visitors are trying to access
  • Server Name — shows the server name
  • Visitor's Browser — shows the browser type the visitor uses
  • Redirect Status Code — shows the fault code
editing the page for the chosen status code

You tin can experiment with the variables to create a meliorate custom error page. In the example, nosotros're trying to retain visitors by giving them a link to our homepage. Once you're satisfied with the upshot, click Save.

You can simulate how the error folio looks by simply entering a non-existing URL, such as https://www.yourdomain.com/non-existing-url.html to your browser.

It'southward a good thing to accept custom mistake pages, as not all visitors empathise status codes. It's also an effective fashion to retain visitors on your website, by offering them a gamble to navigate to a URL that actually exists.

How to Use cPanel Proxy

Sometimes, when you're trying to access cPanel an mistake message stating "IP address has changed" appears. In near cases, this bulletin is displayed when you found a connection while using a network that has strict firewall rules. Or, you lot employ a virtual individual network (VPN) that occasionally changes your IP address.

As a security measure, cPanel doesn't tolerate dynamic IP addresses. To prepare this outcome, you can utilise a custom tool called a cPanel proxy.

Things needed for this tutorial:

  • Access to your cPanel account
  • cPanel Proxy tool

Step i. Delete Existing Default cPanel DNS Entries

  1. Login to your cPanel hosting account.
  2. Detect the Zone Editor tool and open it.zone editor tool in cpanel
  3. You'll get a window that has a listing of your domains. Click Manage next to the one you desire to fix.manage the domain in the tool
  4. It will straight yous to a new window that has a drove of DNS records. Because nosotros desire to fix the cPanel login issue, the cpanel.yourdomain.com DNS tape is the one to look at. Discover and delete it.delete the record from the tool

Note: If you lot have the aforementioned trouble when accessing Webmail or WHM, yous tin can too delete the appropriate DNS records here.

Step 2. Create a New Subdomain for the cPanel Proxy

  1. Now go back to cPanel's master dashboard, find the Subdomains tool and open up it.subdomains tool in cpanel
  2. The subdomain list should exist empty at the moment. Now, in the Create a Subdomain form, write cpanel equally the subdomain. The other fields will automatically be filled. Click Create. And when finished, click Go Back.create subdomain in the tool

Note: If y'all previously deleted the Webmail and WHM entries, you lot might also create the subdomains named webmail and whm respectively.

  1. Y'all should see the newly created subdomains on the list. Recall your cPanel link name in the Document Root section, equally it's where y'all're going to navigate to for the next step.document root section in the subdomains list

Step 3. Download, Upload and Extract the cPanel Proxy

  1. Go to the cPanel proxy homepage and download the tool.download cpanel proxy tool
  2. Go back to the cPanel main dashboard, detect the File Manager and open information technology.file manager tool in cpanel
  3. From the binder tree section, navigate to your cpanel.yourdomain.com. Once you're inside the directory, click the Upload button from the navigation bar.upload the tool in the document root folder
  4. Information technology volition open a new window. You can either drag and drib the cPanelProxy.zip file directly or select the file to upload it. Once the upload is completed, you can click the Go Back to link.upload cpanel proxy tool the the cpanel
  5. Now the cPanel proxy tool should exist placed in the directory, and the only affair left is to extract the file. You can either right click the file and choose Excerpt, or click the Extract push button on the toolbar.extract cpanel proxy tool to the directory
  6. A confirmation window will pop up as soon as you click the Extract. Here you tin review the execution path. Once confirmed, click the Excerpt File(s) button.the confirmation for extracting the file

Protip: Repeat Step 3 if you lot have the aforementioned issue with Webmail and WHM, and excerpt the tool in the appropriate directory.

You lot have successfully installed the cPanel proxy tool, helping admission your cPanel business relationship with ease. You tin can too login to the cPanel window directly, by entering cpanel.yourdomain.com in your browser.

How to Create a Cron Job

In this section, you will learn how to use Cron Jobs characteristic. Cron jobs allow you to automate certain commands or scripts on your site. You can set a control or script to run at a specific time every 24-hour interval, week, etc. For example, you could ready a Cron chore to delete temporary files every week to gratuitous up disk infinite.

Access your cPanel using your login credentials. Later, you lot volition need to observe the Cron Jobs feature, which is located under Advanced section.

Crons

Step i. Adding Cron Electronic mail

  • Cron Email feature sends an e-mail with the output of your command, if any, every time the Cron job runs.
    You tin have Cron ship an electronic mail every time it runs a command which produces output. If you lot practice non desire an electronic mail to be sent for an individual cron task you can redirect the command's output to /dev/nothing like this: mycommand >/dev/null 2>&one.
  • If You lot want to apply this feature, simply input your email address in the Email field and click Update Email button below.
Cron email

Step 2. Calculation a new Cron job

To add together a new Cron job, it is required to make full out the following fields:

  • Common Settings. This dropdown menu allows you to select a predefined setting for your command, you lot tin can either apply this feature to set upwardly the fourth dimension for you or y'all can use custom time values in the fields below.
  • Minute. This field is used to specify the minute value when your command will run.
  • 60 minutes. This field is used to specify the hr value when your command volition run.
  • Day. This field is used to specify the mean solar day value when your control will run.
  • Month. This field is used to specify the month value when your command will run.
  • Weekday. This field is used to specify the weekday value when your command will run.
  • Command. In this field, you must enter the Linux command that will run at the times specified by the fields higher up.
    For example, you can use this control to run a PHP script located in your public_html directory at the specified times:
    php -f /home/YOUR_CPANEL_USERNAME/public_html/file.php
    Important! You must insert your actual cPanel username instead of YOUR_CPANEL_USERNAME.
Cron add

Click Add New Cron Job button. Afterwards clicking the button Yous will see cPanel successfully added the cron job. message, this means that the Cron task was added successfully.

Cron add confirm

Step three. Removing and editing existing Cron jobs

To remove your electric current Cron job, perform the post-obit steps:

Cron delete
  • Click the Delete icon next to the Cron job that you lot want to remove.
Cron delete conf
  • Click Delete button.

To edit your current Cron job, perform the following steps:

Cron edit
  • Click the Edit icon next to the Cron job that you want to edit.
Cron edit conf
  • Update Your settings with new settings and click the Edit Line push button.

After post-obit this cPanel guide you will be able to add, remove and edit Cron jobs to automate commands or scripts on your website. In the next tutorial, yous'll larn how to set up cPanel/WHM on your virtual private server (VPS).

How to Prepare cPanel/WHM on VPS

If you're using Hostinger, once you've subscribed to VPS hosting, you lot'll get the option to have a server run on CentOS vii with cPanel/WHM pre-installed. If that'southward the case, you need to prepare cPanel/WHM first.

Notation: Hostinger offers a wide range of OS to install on your server, this includes CentOS, Debian, Fedora, Suse, and Ubuntu. Y'all can easily install them with just a few clicks from your hPanel.

WHM allows you to perform global VPS configurations, install TLS, create accounts, and more than. cPanel, grants y'all admission to manage the backend of your website.

cPanel and Web Host Manager (WHM) are 2 unlike yet uniform services, that are essential when running a fully-functioning website or selling hosting packages.

Things needed:

  • VPS hosting with pre-installed cPanel/WHM
  • Root login details

Step 1. Admission the WHM Setup Wizard

You tin access WHM using the IP address of your server on the port 2086 (HTTP) or 2087 (HTTPS/TLS). For example, say your VPS IP is 31.220.57.32. To reach WHM you lot can either enter http://31.220.57.32:2086/ or https://31.220.57.32:2087/ in your browser.

If you're getting your connectedness is not private alert, don't worry. WHM uses a self-signed certificate, which is non recognized by your browser. If you utilize Chrome, simply click the Avant-garde push and select Proceed to IP Address (unsafe).

bad connection alert when login to whm

Once clicked, you'll be directed to the WHM login window. You lot need to fill in the root login details here.

Pace 2. Confirm cPanel & WHM User Agreement

Once logged in, you'll get to the user agreement windows, which is the outset section for the initial setup. Review the notes and click Agree to All.

user agreement for whm/cpanel initial set up

Step 3. Configure Nameservers

In this section, you need to configure the nameservers. Nameservers map the server's DNS data, allowing visitors to access the website hosted on your server. One time filled, click Finish.

configure the nameserver for whm/cpanel

At present you've successfully installed WHM/cPanel on your server. Note that the trial license activates immediately, you can utilise it for free upwardly to 15-days. Afterwards that, you need to purchase a full license. Side by side, we'll show you how to create a new characteristic list in WHM.

whm dashboard

How to Create a New Feature List in WHM

If yous're a hosting reseller and desire to sell different packages and features for each of your client's cPanel accounts, you tin can do so by using the Feature Managing director from your Spider web Host Manager (WHM) account.

Things needed:

  • Access to your WHM account

Step one. Admission the Feature Director

  1. In one case logged in to WHM open the Feature Managing director tool. You lot tin can search it by name, or observe information technology available under the Packages section.feature manager tool in whm
  2. Enter the feature list's name and click the Add Feature List push button

Footstep 2. Configure the Characteristic List

Once yous clicked add, a window with a list of features volition announced. Choose the advisable features you desire to enable for a specific hosting parcel that you offered to a client. When you're finished, click Save.

list of feature you can enable or disable from whm

You'll receive a confirmation message when it's successfully created. The feature listing management box volition too announced.

feature creation success message

At present yous can offer a hosting package with custom features tailored to different kinds of clients. If you need more information on how to create a new account and assign the package, cheque out this tutorial.

How to Transfer Total cPanel Fill-in to VPS

If you're migrating from shared hosting to VPS, you can transfer the full cPanel backup to the new server. For a safe and efficient migration, we'll bear witness you how to move the backup using Secure Copy Protocol (SCP) from the cPanel.

Things needed:

  • Admission to your shared cPanel account
  • Admission to your VPS

Step 1. Obtain VPS Access Details

Login to your VPS member surface area and copy the defended IP, SSH username and password, and port values to a text editor, we'll demand it for the next footstep. If you're on Hostinger, the details are available under the Server Management department.

ssh details on hostinger user dashboard

Step 2. Create and Transfer the Backup

You've already learned how to create a fill-in in previous tutorial. For this step, instead of saving the file to the Home Directory, select SCP as the Fill-in Destination. You lot need to enter the following information into the fields:

  • Remote Server — enter your VPS IP address
  • Remote User — enter your VPS SSH username
  • Remote Password — enter the password for the SSH username
  • Port — the default port number is 22. Otherwise, apply whatsoever port number listed on your VPS details
  • Remote Dir — specify the fill-in directory. You lot should placed it in /home, /home2, /home3, /root, /usr, /usr/home, or /web directories to ensure a successful fill-in restoration subsequently

Once you make full all the information, click Generate Backup button.

generate and transfer full backup using SCP in cpanel

Once you clicked that, a notification window stating the fill-in is in progress appears. cPanel will also inform you nearly the backup's condition in your specified email address.

Delight exist aware that the backup generation and transfer can take some time, equally information technology depends on your business relationship's size. When your data is fully transferred, nosotros're going to restore the backup on your new VPS.

How to Restore Backup on VPS running cPanel/WHM

At present, once the previous backup transfer is completed, you'll receive an electronic mail notification message. All you lot have to do is restore it on the VPS and then that yous can manage the account in its new home.

There are two methods that you can practice to restore the file, restoring from the existing backup or a local backup file. Either way, you lot need to have the proper file in hand.

Things needed:

  • Access to the WHM
  • Full cPanel backup. A transferred file uploaded to the VPS or the one that y'all salve locally

Step 1. Restore From the Existing Backup

  1. Once you're logged into your WHM account, search and open Restore a Full Fill-in/cpmove File tool that is available nether the Backup section.Restore a Full Backup/cpmove File tool in whm
  2. You'll become directed to a new window, ringlet down to the Settings section. Here are explanations for each of the options:
  • Restore with Username — this is the default option, you need to use this to restore the fill-in you've transferred on the server
  • Restore with File — culling restoration choice, you need to locate the backup file and upload it from your computer
  • Username for the account that you wish to restore — list of available backups will be available here. You can cull which account should be restored. In our case, it'south hosti647
  • Update the A records — you lot have two options hither, to update all the DNS records or replace bones A Records provided by cPanel. If yous don't want to apply any services from the previous provider, you lot tin choose the first selection
  • Overwrite the existing user — you can utilize this pick to update data of an existing user on your VPS
  • Assign a Dedicated IP Accost — you can assign a specific IP to a user, and then they can access the directory using the IP address
backup restoration settings

When yous're satisfied with the settings, click the Restore push button. You'll come across a progress window while the process takes place.

backup restoration progress

Once it's complete, you'll also see a summary reporting the upload upshot. If y'all see any issues associated with the services you utilize, please contact your former provider.

Your new account should now exist available on the List Accounts section.

local summary for the backup restoration

Step 2. Restore From a Local Backup File

Restoring an account with a local file is as well a straightforward procedure. Open the tool from the previous step, here cull the Restore with File option instead. Locate the backup (it should be an annal file) on your computer.

restore using the file that has been downloaded previously

Once you're finished with the settings, click Restore. You'll run across the same progress window and summary like in the previous section.

Now you've learned how to restore your account using an existing transferred backup, or by uploading a local file directly to your VPS. You're prepare for the last tutorial, to fully migrate from a shared hosting service to VPS.

Conclusion

Congratulations! You've completed all of the tutorials in this cPanel series, addressing the virtually common questions you lot and other webmasters have when starting to use cPanel/WHM.

Of course, there are other features and tasks that nosotros haven't covered even so. That's why, if you stumble upon new bug or find whatsoever cool tricks in cPanel/WHM, don't be shy and share them in the comment department below!

Author

Luqman is a self-proclaimed social scientist. He is passionate about education, engineering, and everything in between. He wants to aid create a loftier-quality teaching system. Having spent the past iv years as a social researcher and blog guru, he lends his skills to Hostinger's digital content team. As for complimentary time, he enjoys reading scientific (and not-and then-scientific) literature with a loving cup of black arabica coffee as a companion.

smiththerecomed1949.blogspot.com

Source: https://www.hostinger.in/tutorials/cpanel/

0 Response to "Can You Upgrade Php Through Cpanel in Level 3"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel