in live web server, the handling of the domain name or ip address usually rely on the apache conf/vhost (or ngix) configuration and .htaccess may also override it... it depend on whether the service is set to listen on a certain host name, ip address or with specific port name... double check the configuration first...
Dec 2, 2020
3
Level 1
url(‘/‘) function starts with http://127.0.0.1:6112 on live server
Upon deployment on live server my application named route like route('home') and url('/') route starts with http://127.0.0.1:6112 instead of https://xyzdomain.com. The same problem occured with asset() too but after changing ASSET_URL it is working and i have also changed APP_URL to https://xyzdomain.com.
Can someone please enlighten me on this matter.
Please or to participate in this conversation.