Answer the question
In order to leave comments, you need to log in
Transferring a laravel site to hosting?
Hello. The question seems to be simple, but I could not find a clear tutorial or answer.
Given - hosting Majordomo in my case (not advertising). Accordingly, the folder structure in ftp is domainru/www where I usually upload everything ... I don’t have public_html which are often mentioned ... I don’t know shared or vps hosting (
Nevertheless, I need to transfer my project to an existing hosting ..
Stupidly copy Do
I need to install composera, composer update or do any other sacred spells?
.htaccess?
what to change in .env except for the database password?
There is an article by Pete Houston like, but it broke on the line
ln -s /Users/petehouston/project /public/Users/petehouston/www
I would be grateful for a Russian manual ... well, or just briefly explain what, where and how ...
I'm sure the answer will be in the top of searches ... I spent a decent amount of time ..
Thank you!
upd.
Answer the question
In order to leave comments, you need to log in
The site can be transferred to hosting. You don't need a composer for this.
But without access to the Apache config, you can’t really set the path correctly.
In your case, you need to upload all the files to the folder you are used to - www/
And in the Apache config, write the path instead of www/ - www/public/
As far as I know, a site built on Laravel cannot be transferred to a simple hosting. For all paths to work, I need Apache 2 / NGINX settings, and this is available only with full control of the settings. Also, you can’t install Composer on a simple hosting, which is very necessary in my opinion.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question