Error 404 after creating new website on installing laravel web app

I tried very hard to solve this problem. I tried many things. Finally, I simply solved the problem. Things to do:

  1. Login to Litespeed Webadmin Console. (https://IPaddress:7080)
  2. Click the Virtual Hosts button in the left menu.
  3. Find that domin you’re looking for.
  4. Go to the “General” tab.
  5. Add “/public” at the end of the “Document Root” section under the “General” section in the “General” tab.
  6. Save it.
  7. " Configuration has been modified. To apply changes, please perform a graceful restart." warning will appear.
  8. Click the green restart button in the upper right corner.
  9. That’s it.

1 Like