I have developed a laravel project first time. It works fine in local.
I have VPS-1000 hosting from inmotion inmotionhosting.com/managed-vps-ho...
Which method i should follow. is it a shared hosting?
So far i tried your mentioned technique
create a folder in root folder laravel and upload all my projects files into it
then move public folder to public_html/subdomain folder
change the autoload and bootstrap path in index file (followed this 4. change the following lines (22 and 36))
update my env and config/database file with my database credential
it given an error : SQLSTATE[HY000]  Connection refused (SQL: select * from information_schema.tables where table_schema =
used localhost instead 127.0.0.1 and also tried to change port 3306 to 33060 but failed
also i have tried.. upload full projects into public_html/subdomain folder and use htaccess to locate public index file. But same error.
Can you please tell me how to fix it. thank you.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.