epiz_31860910
knights-order-of-the-sun.epizy.com
when i use my link to my page, i only see the directory listing and not the website itself. What can i do to change this?
epiz_31860910
knights-order-of-the-sun.epizy.com
when i use my link to my page, i only see the directory listing and not the website itself. What can i do to change this?
When trying to load the home page for your website, the server will look for a file called index.php
, index.html
or index.htm
in the htdocs folder of your website. If no such file can be found, then by default, a directory listing will be shown instead.
With that in mind, you’ll probably want to do the following:
Codes
folder to the outer htdocs
folder.project1.html
to index.html
.This should result in the HTML file being shown if you open the home page of your site.
You can change all this behavior through .htaccess rules if you want, but that can quickly become a huge, unmanageable mess, so I recommend to just structure your website’s files so it works with common server conventions.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.