Answer the question
In order to leave comments, you need to log in
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
Everything is the same as in the advanced template, only the folder "someAnotherName" is added next to the "frontend" and "backend"
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 questionAsk a Question
731 491 924 answers to any question