Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

masumluf's avatar

302 error code after Deploying laravel project on DigitalOcean droplet

Hello Developers,

After successfully deploy my laravel apps on digitalocean droplet I am getting 302 status code and I am not redirecting to index page . what is the reason behind it ? it is working perfectly on local development.

0 likes
11 replies
jlrdw's avatar

Are you trying to redirect to https.

masumluf's avatar

Nope, even i put wrong credentials it doesnt show me any error

jlrdw's avatar

The only other thing I can suggest is digitalocean also has forums perhaps check there.

bugsysha's avatar

You would have to tell me which files you have there before I can tell you which ones to check.

Please or to participate in this conversation.