localhost web移动到godaddy服务器

I have problem with my developed website locally, After completion of my development i moved my folder from WWW to godaddy server with subdomain,

My application is developed in codeigniter framework,

I changed my base_url and database configuration, but when i load my login controller, it throw 404, page not found error,

$config['base_url'] = 'http://subdomain.domain.com/';

i am opening my webpage as

http://subdomain.domain.com/index.php/login

what went wrong? what are steps to take while moving from localhost to webserver?

Thanks,

You must give the default controller in routes.php file

It located at here

./root/application/config/routes.php

In this file just change the line

$route['default_controller'] = "welcome";  
// give default controller name instead of welcome

Good Luck ['}