ruta de ruta de laravel enrutamiento del subdominio
Route::domain('{account}.myapp.com')->group(function () {
Route::get('user/{id}', function ($account, $id) {
//
});
});
Cooperative Crab