z-song / laravel-admin

Build a full-featured administrative interface in ten minutes
https://laravel-admin.org
MIT License
11.15k stars 2.82k forks source link

how to separate the admin and frontend as diferent domain? #5774

Open Sivan4562 opened 1 year ago

Sivan4562 commented 1 year ago

Description:

I need to separate the admin panel as one domain and the front end as another domain but the code and structure are the same (for-eg: I write a code for the backend and frontend I access through adb.com/admin and adb.com/home now I want to access like adb.com/admin as admin and frontend.adb.com/home as a front-end if the employee does not access the admin only access the employee panel). because I want to manage the admin panel only admin, not as an employee. this is what I wish to change and how can I achieve them?