Answer the question
In order to leave comments, you need to log in
How to create a site containing other sites?
Hello brothers in mind). Such a question, I want to finally create a portfolio for myself, it consists of 5 of my last works. Complete websites written in yii2. But not just with pictures and links to the site, but to place each full-fledged site with its admin panel, controller views and other elements, so that you can poke everything for testing (of course, I won’t expose the client site to public access), but what I wrote on LAN let me poke. What is the best way to do this in yii2? Modules? If yes, then plz tell me how to do it correctly, otherwise I only made the admin panel a module, but here it turns out you need to create a module that still has an admin module. + what and how will it be with routes in general?
Answer the question
In order to leave comments, you need to log in
Place it on subdomains, if you make it beautiful for the future - you can do it as an application so that the vendor folder is one
Each site is a separate app, and on subdomains or not - this is the second question. We take the yii2 advanced template and add a bunch of app to the existing frontend and backend
Thank you, I didn’t immediately think about subdomains, I just didn’t work with them yet)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question