How to get rid of the index page

Status
Not open for further replies.

zombiepi

New Member
Messages
2
Reaction score
0
Points
1
Hey guys; I'm really new to this, but I uploaded my html file to the public html folder using the file manager, and when I type in my site name in my browser, I get a page that says "Index of /" and it lists my files such as example.html and example2.js, which I can click on. Is there any way to make it so when I type in the URL it goes straight to my html, instead of me having to select it? Can I get rid of the "Index of /" page? Thank you for your time! Sorry if my question is super simple; like I said I'm totally new.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
The server looks for a file named index.html, index.htm, or index.php when you just type in yoursite.com

So, just rename the file you want to be your start page to either index.html or index.php

The other way involves editing the .htaccess file, but the above way is easier for a novice.
 

zombiepi

New Member
Messages
2
Reaction score
0
Points
1
The server looks for a file named index.html, index.htm, or index.php when you just type in yoursite.com

So, just rename the file you want to be your start page to either index.html or index.php

The other way involves editing the .htaccess file, but the above way is easier for a novice.

Thank you!
 
Status
Not open for further replies.
Top