V
V
Victor Umansky2017-07-11 17:55:23
Yii
Victor Umansky, 2017-07-11 17:55:23

Yii2 advanced two subdomains?

Hello everyone, explain how to make two subdomains correctly, re-read a lot of guides ...... but nothing happens, I can’t understand ... who knows how to do it and show me how to do everything in order ???
site.ru
structure
backend
---web
frontend
---web
pit
---web
and I need it to be like this site.ru, admin.site, pit.site.ru

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2017-07-11
@webinar

Everything is the same as in the advanced template, only the folder "someAnotherName" is added next to the "frontend" and "backend"

K
Kirill Sharonov, 2017-07-11
@k_sharonov

You need to create a Module. For this, it is not even necessary to use Yii2 Advanced.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question