Htaccess + codeigniter: redirect class to subdomain

Question:

Hello. By default, the URI scheme is set in Code Igniter: site.ru/class / … And I need to do this: class.site.ru – tell me how to do it

Answer:

First you need to set up a web server to automatically create a subdomain, then set up .htaccess. Google has enough lessons, so google.

Scroll to Top