How to create subdomain in Yii?

As you can implement on the website that would was on a separate subdomain , was on a separate subdomain ? So that would be cookies stored and admin could come from different subdomains.
July 9th 19 at 13:35
1 answer
July 9th 19 at 13:37
Create a subdomain, put index.php standard and the right way.
The correct way is to do it on advanced template. Then the path will lead to the folder backend to its configu. If everything is done correctly, then yii "still" in the domain within a single application, in this case the "backend".

Find more questions by tags ApacheDomain names marketYii