O
O
oe24y2015-12-28 11:17:06
CodeIgniter
oe24y, 2015-12-28 11:17:06

How to make subdomain work in Codeigniter?

There is a main site mysite.ru
It is necessary to make it so that when loading the site m. mysite.ru the
controller mymobilecontroller was executed .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav, 2015-12-28
@oe24y

a simple option - a copy of the framework to a subdomain; you can move the system/ folder for all domains\subdomains to a higher level so that it is common, make only application/ different in each folder of the domain\subdomain
difficult option - setting up a subdomain on the server, with the dns script, then .htaccess

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question