title: How to change base_url() path from localhost to hosted site?
body: <p>I have hosted CodeIgniter project in hostgator. In localhost project was working fine and I took that project and hosted in my domain and there I have set
  base_url like this:</p>
  <pre class="lang-php prettyprint-override"><code>$config['base_url'] = 'http://mywebsite.com/'; 
  </code></pre>
  <p>But it is not working in server.</p>