I have a hosting with two domains, domain1.com and domain2.com.
As Codeigniter is at the root of hosting, how do I, when I access the domain1.com it takes the contents of the site1 folder and displays, and do the same thing in domain2.com and display the content of the site2 folder in which it is mixed?
I do not know if this is possible in .htaccess
I would like to take advantage of the same hosting for 2 different websites with different domains without having to buy a hosting for each site.