Such api route: http://localhost:8000/api/handles/KK works perfectly on local serving But after deploying the app on DigitalOcean I can't get to api in any way. I tried http:// MYIP /mysite/api/handles/KK or http://MYIP/mysite/public/api/handles/KK
(the app isn't directly in www folder but subfolder since i have many apps)
EDIT now it works after I run php artisan serve on remote server, but do I have to keep it all the time or what? Is that a proper method?