laracoft
1 month ago
437
23
Laravel

1 instance of Laravel with multiple subdomains

Posted 1 month ago by laracoft

My initial question is, how do you guys setup a front and backend with 1 instance of Laravel?

  1. www.website.com and www.website.com/admin?
  2. www.website.com and admin.website.com? What do you specify for APP_URL in this case?

But the question I'm really after is, does anyone have a scalable way to setup multiple domains on 1 Laravel instance? i.e. initially with only www. and admin., maybe later add on blog., members. etc.

Please sign in or create an account to participate in this conversation.