If you’re trying to reach your site and it shows an index of / thereafter listing all the directories in your root folder in a tree format rather than displaying the website, the problem is with your host file, and here is a fix for you. I had this issue while trying to set up a Laravel project on Laragon.
Solutions if you’re using Laragon
- Clean all auto virtual host (Menu > Apache > sites-enabled > Delete all [auto]) and reload Apache
Laravel Project Shows index of /. If the solution above did not work for you, the alternative solution is to switch to using nginx
How to switch to nginx
- Click on Menu > Preferences > Services & Ports
- Deselect Apache and select Nginx
All you need to know about Loans | Best Loans offers Best Laravel Guide | Code Best vue.js tutorials || Latest Practical Vue Js Tutorials Covid-19 Cross River News Update | Novel Coronavirus insurance Laragon Laravel Tutorials Simple to Advance Latest Amazon Technologies || List of all Amazon Technologies Latest Educational News Latest Job Opportunities News | All Recruitment News latest news from Google | Browse Google latest info Latest Technology News || Trending Technologies Latest Waec News and Info Nigeria Customs Service Trailers