How to have different subdomains as urls for different pages in Codeigniter

I have a single CI application hosted in say
and it has different pages like


now the requirement is when user access as url (in address bar) then it will display content

EDIT : but the url in address bar should remain

similarly should display content

how that can be achieved ? as routing only accept the path name excluding domain

Source: .htaccess

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.