Problem with domain and assets...
Hi,
I am trying to deploy an app to a windows server running plesk. In plesk, I must give the domain when I create a new site, which is fine. The problem is that I haven't moved the actual domain yet, so www.myexample.com points to my old servers and 111.11.111.11/plesk-site-preview/myexample.com points to my plesk servers. This in turn is causing the assets to not load - it is trying to find www.myexample.com/js/my.js and www.myexample.com/css/my.css - for example - instead of 111.11.111.11/plesk-site-preview/myexample.com/js/my.js and 111.11.111.11/plesk-site-preview/myexample.com/css/my.css.
I don't think I should fiddle with plesk, so my question is...how can I override the domain setting in laravel?
Also, I do have the same error on the welcome.blade.php due to the debugbar. I have tried to set the route_domain in the debugbar.php to 111.11.111.11/plesk-site-preview/myexample.com. This problem is secondary as I can turn it off by set debug=false in the env, but it is very annoying.
Any ideas or suggestions? I've been stuck with this for 3-4 days now and getting desperate.
Thx.
Please or to participate in this conversation.