简体   繁体   中英

How can multiple addon domain share single Laravel

I'm working on a project where I have to add multiple addon domains which will be sharing a common Laravel file. I have installed Laravel on a subdomain called 'studio.udee.space'. And now I have three addon domains like abc.com pqr.com and xyz.com which will be pointing to the same subdomain that is 'studio.udee.sapce' so that I don't need to install Laravel separate for each addon domain. I have done this for subdomains like user1.studio.udee.space, user2.studio.udee.space now I wanted to do this with addon domains

that's archived with the configuration of your webserver: nginx, apache , whatever you use:

additionally you can try this library: https://github.com/gecche/laravel-multidomain

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM