auto-direct?

Firenova

New Member
Messages
19
Reaction score
0
Points
0
I'm new to web design... I have a decent website www.radicalflame.com , but if you visit that link, it will take you to the index of public_html, instead of the home page.

this is because I removed all the original (default) public_html contents of my ad-free hosting server, and replaced it with my website.

I have a backup, and I just need to know which file(s) to put back.

if it is an option, not a file, I'd like to know where in cpanel to find it.
 

driveflexfuel

New Member
Messages
159
Reaction score
0
Points
0
This is a simple fix

Rename: Home.html

To : index.html

It is case sensitive so make sure the i is lowercase.
 

marshian

New Member
Messages
526
Reaction score
9
Points
0
Standard you get the index-file of a directory, but in this case the index-file is missing, so you get the directory index (not index-file). (You can turn index-listening off in your cPanel.)
As driveflexfuel said, the easiest way to solve this is rename "Hom.html" to "index.html", but there's a second option:
create a file called ".htaccess" with the following code:
Code:
DirectoryIndex Home.html

But the easy way is recommended ^^
 
Top