How to install the Cpanel

Cpanel

How to Install cPanel

cPanel is a Linux-based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a website. cPanel utilizes a three-tier structure that provides capabilities for administrators, resellers, and end-user website owners to control the various aspects of website and server administration through a standard web browser. cPanel is used by more than 30 million websites and is the most popular web hosting control panel in the world.

https://ewebhostingstore.com/

The Cpanel port number is 2087

Below

  1. Purchase a cPanel license from a cPanel reseller.
  2. Download the cPanel installation script.
  3. Connect to your server using SSH.
  4. Run the installation script.
  5. Configure cPanel for your server.
  6. Set up the cPanel service.
  7. Log in to cPanel for the first time.
    • Below is the link for more information related to the hosting related services
    • https://ewebhostingstore.com
      /https://ewebhostingstore.com/shared-hosting.php

How to Install Joomla in a cPanel

Step 1: Log into cPanel

  • Go to yourdomain.com/cpanel
  • Log in with the username and password. Hosting companies usually send an email with this info when you first sign up with them.
Step 2: Set up the database.
Click on the “MySQL Databases” icon
Create a new database.
Assign the database user to the database:
And give it all privileges.
Go back to the cPanel home page.

Step 3: Set up the files

In cPanel, access File Manager
Access the public_html folder and click the Upload button.
Or if needed, access a sub folder of the public_html folder if you’re setting up a test site and/or if another site is in the public_html folder.
Upload the Joomla package that you downloaded previously.
Select the package, then Extract it.

Step 4: Install Joomla

  • Visit the domain of the website. If you upload the files to a subfolder, add the subfolder name to the end of the domain.
  • You’ll see the Joomla installation script open.
  • Fill in the fields, then click Next.
Fill in the database user and user password that you created in step 1 of this tutorial.
Fill in the database name as well.
For both of the above, be sure to copy the full name (including the account prefix – i.e. the part before the underscore).
The rest of the fields can be left at their defaults. If a connection can’t be made, ask your web host if any of these should be changed. In most cases, the default will work well though.
Click Next when ready.
It’s usually best to not install sample data.
Click Install when ready.
Congrats, you’ve just installed Joomla!
If you’re setting up a multi-lingual site, use the “Extra steps: install languages” feature.
Finally, use the “Remove installation folder” feature when done.
That’s all there is to it!
Now you can access your site at your domain. You can access the admin area
Enjoy!

How to install Drupal on a cPanel

Step 1: Download Drupal from the Drupal homepage and save the .zip file to your computer.

Step 2: Log in to cPanel as the user for which you want to install Drupal and click File Manager.
Step 3: You now see an overview of the folders and files. Click ‘public_html’. Install your Joomla on a sub domain or add-on domain, then navigate to the relevant folder.

Step 4: Click ‘Upload’ at the top of the page. You will see the overview below.

Step 5: Click ‘Select File’ and select the file you downloaded in Step 1. Then click ‘Open’ to upload the file.

Step 6: Click ‘Go Back to …‘ at the bottom of the confirmation that appears.
Step 7: You will now return to the public_html folder and see ‘drupal-8.4.5.zip’ (or just the version that is current at the time of reading). Select the file and click ‘Extract’ at the top right.
Step 8: You will see the screen below in which you can adjust the unpacking location. Click ‘Extract File(s)‘ to start the unpacking process.
Customizing the directory is an alternative method to install Drupal on your subdomain or add-on domain compared to step 3. You do this by referring to the directory of your subdomain or add-on domain here.

Step 9: Drupal will put its files in the ‘drupal-4.8.5’ folder in the .zip file you downloaded. As a result, a new folder is created in your public_html folder called “drupal-4.8.5“. Click ‘drupal-4.8.5’ to open the folder.

Step 10: Click ‘Select All’ > ‘Move’.

Step 11: You will see a ‘Move’ screen as below. Edit the location under ‘Enter the path that you want to move this file to:‘ to ‘/public_html/’ and click ‘Move File (s)‘.

All files are now in the right place. Remove the Drupal-4.8.5 folder and the .zip file by checking them and clicking ‘Delete’.

Step 12: Open yourdomain.com in a browser (replace yourdomain.com by your actual domain name). You will then see the Drupal setup menu. Select your preferred language and click ‘Save and continue’.

Step 13: You can then choose a ‘Standard’ or ‘Minimal’ installation. Choose ‘Standard’ and click ‘Save and continue’.  
Step 14: Drupal checks whether your VPS meets the requirements for the installation. You will see a warning about OPcache. Click ‘continue anyway’ at the bottom. You are free to enable OPcache after the installation, but the configuration of this is outside the scope of this article.
Step 15: Enter your database as shown in the example below and click ‘Save and continue.   

Step 16: Drupal automatically installs your website and automatically follows the ‘Set up translations’ step. 

Step 17: Drupal then asks you for the information below. Fill in the fields, write down your username and password in case you lose them, and click ‘Save and continue’.   
Step 18: Drupal updates the translation. After completing this process, you automatically go to your Drupal site and you can start setting up your site! 

How to Enable/Disable PHP Extensions From cPanel?

Following article will assist you to enable/disable php extensions from cPanel.

To access Cpanel, please use the url http://domain.com/cpanel where domain.com is your domain name. You can also use the url https://serverhostname:2083 to access CPanel.

2.Select PHP version and click on it.

3. Choose your desired PHP version and click on Set as Current.

4.To select the PHP extension which you want to enable/disable

In above steps you can enable/disable the PHP extension.

Why can’t send and receive emails.

The most common reason for not being able to send or receive emails is your antivirus/security software or firewall restricting Mailbird’s access

There could be several reasons why you are unable to send and receive emails.

  • Port 25 closed – This port must be open to send and receive emails. Contact your hosting provider.
  • Mail Client configured incorrectly – to check your mail client configuration.
  • SPF/DKIM configured incorrectly – To update your SPF/DKIM settings,
  • Exim queue full – To clear your queue or delete specific messages.
  • DNS-related issue – Use the Email deliverability in Cpanel interface to identify problems with your mail-related DNS records for one or more of your domains.

How to login cPanel

Please perform the below steps for how to login cPanel

To log in to the cPanel interface, perform the following steps

Enter the IP address or domain and the 2083 service port in your preferred browser (for example, https://198.51.100.1:2083 ).

Enter your cPanel username in the Username text box. Enter your password in the Password text box.

To access Cpanel, please use the url http://domain.com/cpanel where domain.com is your domain name. You can also use the url https://serverhostname:2083 to access CPanel.
In Below Image you can see that the URL and then write username and password then you can login to your Cpanel.

How to install WordPress on Cpanel account

WordPress is a content management system (CMS) that allows you to host and build websites. WordPress contains plugin architecture and a template system, so you can customize any website to fit your business, blog, portfolio, or online store.

  1. Login to Cpanel
  2. Select Software section 
  3. Select Softaculous Apps Installer.

4. Select WordPress

5.Select the WordPress icon

6.From the menu that appears, click on “Install”.

7.Next, you have the option to choose a quick install or a custom one. The forms that you will need to fill in will be different, depending on your choice.

8.A form will show up, so fill it in. There are some pre-filled default values, you can leave them as they are if you want. 

9.Next, you need to specify the Installation URL, meaning the domain where you want to install WordPress.

10. When the form is filled in, just hit “Install” at the bottom of it.

How to Create Subdomain In cPanel

Subdomains are the part of a domain that comes before the main domain name and domain extension. They can help you organize your website.

  1. Login to Cpanel
  2. Go to domains section

3. Select the subdomain

4.Create the subdomain

5. Select the Document Root select public_html/subdomain name

6.select the create option.

How to check trafic of your site ?

In this blog you can check the traffic of last few months.

Web traffic is the data sent and received by visitors to a website.

below is the steps for how to view the traffic of your site

  1. Login to cPanel

2.Select the AWStats section in cPanel

3. Select the Domain and view the traffic

4. You can views the traffic of your website’s here.

How to Set Up Redirects in cPanel

Redirection is a method of automatically redirecting visitors from one website page to another, which can be done permanently or temporarily. The procedure will be explained in this article.

Follow the steps:

1. Log into your cPanel account

2. Scroll to the Domains section and click Redirects.

3. Under Add Redirect, choose whether you want a Permanent (301) or Temporary (302) redirection.

Note: The difference between a permanent and temporary redirect is that a temporary redirect won’t update your visitors’ bookmarks whereas a permanent one will. You cannot stipulate the length of time you wish a temporary redirect to run using cPanel. You will have to remove the temporary redirect manually when you no longer require it. The instructions for doing this are at the bottom of this page.    

4. Next, select the domain where you want to set up the redirect. This gives you the option to run it on all versions of your domain **All Public Versions** or on individual versions such as http://website or http://www.website.

5. Under this, type in the name of the web page you want to redirect from.

Note: If your page URL is http://www.mysite.com/product_page, there’s no need to type the domain name part of the URL, just the part following the slash, e.g. product_page.

6. In the Redirects to the field, type in the full URL (e.g. http://mysite.com/product_black_friday_sale) of the web page where you want visitors to be taken to.

Note: this doesn’t have to be on the same website.

7. Finally, click Add and the redirect will be created. From this point, visitors to your redirected page will be taken to the new destination.

How to remove a redirect

A redirect can be deleted if you no longer want to use it. To do this, first, return to Domains > Redirects. Once there, find the redirect you want to delete under Current Redirects and then click Remove.

Note: As you cannot edit a redirect, you will need to delete it and create a new one if you wish to make changes.