request()->getHost();
Route::get('/get-domain', function(){
$host = request()->getHttpHost();
echo $host ."<br/>";
$getHost = request()->getHost();
echo $getHost ."<br/>";
$hostwithHttp = request()->getSchemeAndHttpHost();
echo $hostwithHttp ."<br/>";
});