I deployed my site in DigitalOcean. It throws 404 error. The API call is working. but the front-end won’t respond.
I have tried configuring the htaccess to All Granted, but it still throws 404 error.
My project address is http://134.209.103.102/
Can anyone help me on this problem?
2
Answers
You can access this file – http://134.209.103.102/mix-manifest.json so I guess it has nothing to do with hosting.
Check your routes (
php artisan route:list
) andAPP_URL
in the .env file.I know it’s late but I hope this can help the others.
I’ve done Enabling mod_rewrite and it works now. FYI, I only followed the Step 1 and and it works.