Domain showing directory listing or 404 despite valid index file in public html.
I am experiencing an issue where my domain displays a directory listing or 404 error, even though my homepage file (index html) is correctly located in the public html directory.
I have already attempted to disable directory indexing via the Index Manager by setting it to 'No Indexing', but the problem persists. I am running on a LiteSpeed Web Server. Could someone please advise on what might be causing this specific configuration failure and how to resolve it?
-
Hey there! You should be able to check the logs on your system in cPanel >> Errors to see what is being logged when you access the page. If you have root access to the server, checking the main Apache error log at /etc/apache2/logs/error_log is always a good idea.
Are you certain that the permissions (they should be 644) and ownership (should be username:username) are correct on the file?
1
Please sign in to leave a comment.
Comments
1 comment