1. $host = request()->getHttpHost(); Output : laravel.com. 2. $getHost = request()->getHost(); Output : laravel.com. 3. $hostwithHttp = request()->getSchemeAndHttpHost(); Output : https://laravel.com