Hello Makers, 👋

If you see Index of / message it means there is no index file uploaded on your account. You can easily disable directory listing by logging in to your cPanel account and navigating to the Indexes option under Advanced Section:

Once there select the public_html folder or Click on Edit:

And here, choose No Indexing:

You can also upload an empty index.html or index.php file if you don’t want the content to be displayed on your website (while still disabling the list of directories). Alternatively, you can add a few lines of code to your .htaccess file defining which file should be meant for the first page of your website:

#My default index page

DirectoryIndex MyDefaultIndex.html

Make sure to rename MyDefaultIndex.html to your index file name.

And that's it! If you have any questions, please free to contact us!

Happy Making!

Did this answer your question?