Why is my website starting like this

Status
Not open for further replies.

carl6969

Community Support Team
Community Support
Messages
6,874
Reaction score
206
Points
63
You are seeing a directory listing, (list of files and folders), because there is no index file, (index.html, index.php), in your public_html directory. The "main page" should be named index.html or index.php, (probably index.html in your case) and this index file needs to be in the public_html directory to have the website display in the customary manner. Also please note that Apache is case sensitive so index.html starts with a lower case "i".
Alternatively you could use .htaccess to redirect to a specific file other than the customary index file.

(* moved to free hosting *)
 
Status
Not open for further replies.
Top