Hi, I upload and I put .htaccess in public_html folder and I change all the configuration for localhost
something like this link.
https://www.youtube.com/watch?v=Q4tclByPD2g
Update your document root to point to public_html/your-chosen-folder-name Where public_html
is public_html or htdocs or www, depending on the host.
I actually have a laravel site and a cakephp site on same host. Of course they are smaller sites, for a larger site, heavy traffic use digital ocean, aws, or one like that. I mostly do intranets for business use.
But the above guide actually works for laravel, yii, and cakephp with small tweaks.