How to create Sub Domains using Cake PHP?
问题 I am building a site ,which requires a unique sub-domain for each profile. The technology which I am using is Cake PHP + MongoDB. I need to know the feasibility of the same. Whether I can create a Physical DNS or I can simply route the Profile page of the User , by the help of Routes Class in Cake PHP. Please suggest what will be better and easy way to implement along with feasibility of the same. Thanks in Advance. 回答1: If you are using CakePHP for each of the websites, you do not need to