i have a website developed in php CodeIgniter framework which is presently working on my localhost. the present working url on my localhost is
http://localhost/myproj/index.php/xyz
xyz
is my first controller from which the home page is called.
i want to host on a particular domain as http://www.example.com
and it works same as the above url (http://localhost/myproj/index.php/xyz)
Prathik change your base_url with your domain and mention your default_controller in config/routes.php file.
you can create a function named index in welcome.php, and then when you try to access http://domain.com index function will start.