How to Deploy a Laravel application in Shared Hosting
Preparing Hosting Infrastructure for Deployment:
- Create a subdomain or main domain
- login into public_html folder of the site or subdomain
- put a index.html file and check if the sub domain is working
Laravel Project Upload :
- Prepare a Zip Archive of the Laravel Project
- Create a folder into server and extract your project into public_html folder created earlier
- Then change the public folder content to the public_html folder and change the bootstrap and other paths in index as per need
- After that youβre going to check