I’m facing an issue with configuring my website hosted on Namecheap and using Bitbucket for version control. Here’s the scenario:
My website’s domain is mywebsite.com.
The index.html file, along with other front-end files, is located in the public_html/mywebsite folder on my server.
Currently, when I navigate to mywebsite.com, it displays the directory structure instead of serving the index.html file directly.
I don’t have access to server configurations like .htaccess files, as I’m using Namecheap hosting and managing my codebase with Bitbucket.
I need assistance in configuring my setup so that when users visit mywebsite.com, it directly serves the index.html file located in public_html/mywebsite without displaying the directory structure.
Any guidance on how to achieve this with Namecheap hosting and Bitbucket would be highly appreciated. Thank you for your help!
this is what I see when accessing my website.