Route::group(['domain' => '{subdomain}.'bestinterviewquestion.com'], function() {
    Route::get('/', '[email protected]');
});

BY Best Interview Question ON 13 Jan 2023