Can anyone help me with cPanel X?

Status
Not open for further replies.

ƒorte

New Member
Messages
980
Reaction score
0
Points
0
posted this in another board but no action so...


How do you create your own "home page" for your website using the file manager?

All I can do is make little files that are attached to the parent directory...

How can I edit my own front site page?

(if you need my site, it's vgc.x10hosting.com)
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
The files in the directory public_html are the files that are shown when you base site url is loaded in a browser, such as "vgc.x10hosting.com".

If you do not have a directory index, (That is, a file that will load when no actual file is specified, such as "index.php/index.html/index.shtml/index.htm/etc"), you will see the directory listing which will show all files and directories in public_html.

You can change the directory index by placing the line:

Code:
DirectoryIndex [Filename].[Extension] [, [Filename].[Extension] ..]

Replace each "filename.extension" with the file name you want and save it. (Only one, or as many as you want.)

So sayign that, make a file such as "index.php" in public_html, and place whatever you want in it. When you go to your site in a browser, that is the file you will see.

I hope I didn't confuse you by talking about the directory index.. Hmm, well, yea. Did I answer your question?
 

ƒorte

New Member
Messages
980
Reaction score
0
Points
0
Heh yes you did, but I did do that with an Index.html in public_html...

I'll have to check again

oh yeah, it's down right now =P

Edit #2: ah, so I have to specify a file or else I get the folders... lol



"hums Jeopardy music"
 
Last edited:

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
Yea.. you have to make a file named: index.[Extension] or it will show the directory listing.

You can change the directory index from "index.ext" to whatever you want like I described up in my last post.
 

ƒorte

New Member
Messages
980
Reaction score
0
Points
0
NedreN said:
Yea.. you have to make a file named: index.[Extension] or it will show the directory listing.

You can change the directory index from "index.ext" to whatever you want like I described up in my last post.
yeah, now I just have to wait for it to come back so I can try again
 
Status
Not open for further replies.
Top