I'm trying to publish a website I created but can't figure out where in the hosting server I should put my website files. The server folders looks like this:
I only added index.html
and .htaccess
. Even though index.html
is present in the root directory, when I try to connect to my website it shows a server not found error. I tried to move the homepage to all the folders, but I still have the same issue. My .htaccess
looks like this:
DirectoryIndex index.html
. Changing it to DirectoryIndex public_html/index.html
doesn't remove the problem. What am I doing wrong and where should I put my website files?