Harris Khan Harris Khan - 9 months ago 44
PHP Question

Uploading codeigniter site from local server to live

Hy every one, I made a site in codeigniter and its working fine on local server. I uploaded on live server: domain name (http://fantastictravels.co/) and it says "This fantastictravels.co page can’t be found"

I tried many different things but its not working. Here is my code of of view and controller:



class Travels extends CI_Controller {

function __construct(){
parent :: __construct();

public function index()



<meta http-equiv="Content-Language" content="en-us">
<meta charset="utf-8">

<div class="content">

This is test

In my config file, the base_url is "http://fantastictravels.co/" and my all the files are located at the root directory of "http://fantastictravels.co/".
Help me out please.

Answer Source

my controller and model file name was in lowercase letter which I changed into uppercase and it became fixed... :)