I have a project in Laravel. When I put my files to my hosting server and access the domain, it shows me the files and folders instead of redirecting me to the index.
On my machine I create a virtualhost pointing to the public folder where the .htaccess is located. But on my hosting server I do not know how to do this redirect.
I use HostGator hosting and put the files on the server via FTP. Inside the public_html folder.
Could anyone help me?