Unable to direct to index.html

Hey, firstly I apologise since I am new to web development. My current folder structure is as follows:
Capture

These folders/files are contained inside a Website folder which I have uploaded inside the htdocs folder. When launching my site I get directed to the Directory Listing. I managed to create a .htaccess file inside the htdocs folder that disables this, however I cannot seem to get the site to send me to index.html inside the Website folder.

I’ve tried setting DirectoryIndex to be Website/index.html but this breaks the site. I’ve also tried scrapping the Website folder and putting all my files inside the htdocs folder, but this causes the same site breaking problem.

I’ve been stuck on this problem for several hours now and don’t really know what to do. Any help would be greatly appreciated.

http://gjoa.net

Hi
image

select all that files ,cut and paste in root of htdocs

clean cache in your browser (CTRL + F5)

That worked. Thanks a lot!

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.