Search code examples
mysqlcodeigniterfile-uploadweb-hostingfilezilla

Uploading MVC Website and MySQL to Webhost


I created a website using Code Ignitor and MySQL and want to upload everything to 000webhost.com

How do I:

  1. upload my models, views and controllers to the public_html folder of 000webhost?

  2. get my MySQL database up and running on 000webhost?

Thanks in advance


Solution

  • I am presuming that your control panel is cPanel. If thats the case then upload all your files in the web root of the server. Create a database, and change that details in database.php inside config folder. thats it, your site will be up and running.