I have tested my Laravel 5 project on localhost its working fine with this url - http://localhost/project-name/public/
Then I uploaded my project on shared hosting, I have made desirable changes for database on .env file then trying to access it with the url - http://companysite.com/folder/innerFolder/public/
but not working and getting 500 internal server error
I have gone through with other questions with the related but no answer lead me to my solution. I have done following steps
- upload my project on root directory parallel to public_html
- update to project/public/index.php
- try to create subdomain pointing to my project but didn't succeed
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.