I assume you have a virtual machine on a shared server? Should not be an issue. What's the error?
Hosting a laravel app/site?
I am trying to upload a site on linux shared hosting but getting some errors that point to a package I installed. Is shared hosting the best when it comes to hosting laravel apps? I just need pointers and advise. Thanks in advance.
Likely your shared host is making an www/ directory or public_html/ or something like that as yoru document root. Laravel apps use their own public directory as the document root.
You need to change the configuration to server the public/ directory instead. You'll have to check with your host on how to do this. Once this is done the relative paths should work correctly.
Please or to participate in this conversation.