How to Upload CodeIgniter Website on cPanel

In this blog we will learn how to upload the Codeigniter framework website on Cpanel with MySQL database, this is an important topic mostly developer develop their website on the local servers easily but they don’t know how to set up a Codeigniter website with a database on a live server. Let’s see the following steps:

Step1:  Compress your project in zip format.

Step2: Open your Cpanel of web hosting, Cpanel open file manager



Step3:
DoubleClick on public_html

Step4: If you have single website hosting then click on the upload button and upload your zip file of the project which you have compressed, if you have multiple websites hosting means you have hosted multiple websites on a single then you have to upload zip in your domain name directory.

Step5: After completion of upload zip file extract it.

Step6: Go back to Cpanel main screen, create a database for a website, click on MySQL database wizard.

Step7:  After opening MySQL database wizard, a screen appears to create a database, enter database name whatever you want or you have used on a local server, save database name in your notepad file, it will use on connection.php file further.

Step8: Create Database user and password.

Step9: Check all privileges, click on the next step button. You will see the completed task.

Step10. Open config>routes.php file and change the base URL.

Step11: Open config>database.php file and change the username, database, password.

 

Categories: web development codeigniter

Trending Courses

CodeIgniter

Regular : 45 Days

Fastrack : 20 Days

Crash : 10 Days

Advance Digital Marketing

Regular : 6 Months

Fastrack : 3 Months

Crash : 2 Months

React JS

Regular : 45 Days

Fastrack : 20 Days

Crash : 7 Days

Laravel

Regular : 45 Days

Fastrack : 20 Days

Crash : 10 Days

Front End Developer

Regular : 7 Month

Fastrack : 4 Month

Crash : 2 Month

Related Blogs

Request For Demo