Installation of Drupal on cPanel Hosting
Drupal is an open source CMS(Content Management System) written in PHP, where you can build modern websites. It can be useful for developers, marketers, and agencies to build open websites for developers, full of templates for marketers and help in achieve client ambition by agencies.
If you want to install and Drupal on your cPanel hosting then basic installation steps for installing Drupal on your cPanel hosting are given below:
First, you have to download latest Drupal from drupal.org site, it is a zip file.
Upload and extract Zip Drupal :
After download Drupal zip upload it on cPanel, to upload zip on cPanel login into cPanel and go to file manager and upload Drupal file in public_html which is default web root directory of cPanel. Go to public_html and click on Upload and select file and upload. When upload of Drupal completed extract it in same directory public_html.
In cPanel create database and user and add user to database using Mysql®Databases. after adding user to database manage privileges (select all privileges). Once you create database and user go to phpMyAdmin and click on your database and import database or create new tables.
In detailed information about database creation refer our blog: Deploy Dynamic Java Web Project on Java Hosting.
Move all files into webroot directory:
When you extract Drupal in public_html this will create Drupal folder inside public_html. Go to this folder and select and move all files into public_html which is webroot directory.
In the public_html navigate to public_html/sites/default/ and create file settings.php then copy content of default.settings.php and paste into settings.php file.
Once you move all file into webroot directory public_html, install Drupal by entering your corresponding domain into browser address bar. When you enter domain into address bar Drupal will automatically detect that it is not installed and direct to installation. You should have to enter database details as you have created before.