we have developed an application using Laravel version 5.6. It's working fine with our current VPS hosting. Now we have switched the site to AWS from VPS and site stopped working although same code working fine on our previous non-cloud server.
The issue I'm facing: This page isn’t working domain.com is currently unable to handle this request. HTTP ERROR 500
Friends, anyone can give good suggestion how I can fix this issue?
There is million things that can go wrong... I would start by log in into your webserver instance and checking out some logs and see what’s written in there.
/var/log/https or Apache or Nginx
Next check the laravel logs
Post your logs if you need more help. 500 error means your app is crashing this could be a configuration issue, permission issue or something wrong with your DB credentials.
Follow this TUTORIAL it should help you create the LEMP environment you need for Laravel
This is why it is easier to host your Laravel website on aws using platform, like Cloudways Laravel hosting. Using this platform, you can host your Laravel application on aws in just one-click. Since the servers are managed, if you face any issues, like the one you mentioned, their support team is there to resolve it. Directly hosting with aws means you won't get that kind of support.
Sign in to participate in this thread!