skip to Main Content

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


  1. 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) and APP_URL in the .env file.

    Login or Signup to reply.
  2. 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.

    sudo a2enmod rewrite
    sudo systemctl restart apache2
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search