Hi guys, I am sure this question has been raised a billion times, but I am struggling to find a solution to the problem.
I want to deploy a project on a shared hosting service (one.com) and following this guide -> . I know there are several good (and much better) alternatives and just as many reasons for not using shared hosting, but this server is already paid for and up&running for other purposes and I don't want to spend money on additional hosting.
I have been following this guide https://dev.to/fractalbit/deploy-a-laravel-7-app-to-shared-hosting-4eac, but are now stuck. All files are uploaded but my symlink is causing trouble.
Warning: require(/customers/f/4/8/DOMAIN_NAME_DELETED/httpd.wwwhttpd.private/vendor/autoload.php): failed to open stream: No such file or directory in /customers/f/4/8/DOMAIN_NAME_DELETED/httpd.www/index.php on line 37 Fatal error: require(): Failed opening required '/customers/f/4/8/DOMAIN_NAME_DELETED/httpd.wwwhttpd.private/vendor/autoload.php' (include_path='.:/usr/share/php') in /customers/f/4/8/DOMAIN_NAME_DELETED/httpd.www/index.php on line 37
create_symlink.php looks like (I have tried using different path's, but it always starts searching from httpd.www folder)
Finally my file structure on the server looks like
-server root
- Httpd.private
-App
-bootstrap
-config
-database
-resources
-routes
-
-Httpd.www
-index.php
-create_symlink.php
-tmp
If anyone has made it so far - my question is simply
- Can anyone tell me how to between files from httpd.www to httpd.private
- Does anyone have a suggestion for alternative solution i.e. other guide. I have done my own googling, but I most links refer back to the guide I am already using.