FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


file uploaded but not showing in site





engeland
I uploaded and html file for the main page in my cpanel. The file is in the file manager but i dont know how to get it to show on my site..

I have a feeling i have rename it, but what's the root name?

someone please help me Sad
budazz
did you uploaded it at html_public?...
all your files html,swf,everything you want to show in your site is need to up uploaded at html_public...check it.. Laughing
orno
1. You have to upload whatever you want seen to the public_html folder
2. There should be an index.html as your root file (the name of this file can be different as long as you set up the parameter in your cPanel)
3. The permission of the file should be set right (644 if you are paranoid)

Kinda technical, but hope it helps Smile
budazz
Quote:
The permission of the file should be set right (644 if you are paranoid)


by the way what will happen if i set it to 644? Arrow
n0obie4life
budazz wrote:
Quote:
The permission of the file should be set right (644 if you are paranoid)


by the way what will happen if i set it to 644? Arrow


Er, it will make the page viewable by the public, although thats by default in most FTP upload managers.
mwm
The premissions will probably be taken care of by default. The problem I would think is the the file name is not being specied when the site is visited. If it is not named one of the 'default' document names, it will not show unless specifically called within the URL. I have not checked frihost but docs ussually called by default would be:

default.htm
default.html
index.htm
index.html
index.php

If you access http:\\www.yoursite.frihost.net\ the server would display one of the files named above in the order of precedence specified by the server config. If you want to display another file on the site:

http:\\www.yoursite.frishot.net\FILENAME.HTM(L)

Does this help?

-mwm
Bondings
You also need to put it in the public_html directory.
engeland
I see.
Say my main page is named Index.html.
How do i make it appear when someone visits my site? I dont want them to type username.frihost.net/index.html (dont want the index.html) Sad
Bondings
engeland wrote:
I see.
Say my main page is named Index.html.
How do i make it appear when someone visits my site? I dont want them to type username.frihost.net/index.html (dont want the index.html) Sad

Just change it to index.html. The page name is case sensitive, if I'm not mistaken.
engeland
meaning, the url to my page has to have index.html?
well whenever i enter www.myusername.frihost.net i see this page with paretn directory etc...
how do i take that out?

Is there a tutorial on how to fix this?
Bondings
engeland wrote:
meaning, the url to my page has to have index.html?
well whenever i enter www.myusername.frihost.net i see this page with paretn directory etc...
how do i take that out?

Is there a tutorial on how to fix this?

The url doesn't need to have index.html.

There is no index.html file in your public_html directory. You need to upload it there instead of in the root directory you see in your ftp program/file manager.

And name it index.html instead of Index.html.
engeland
Ok, i have uploaded the file which i want to appear (index.html). But still, the link to my site leads to parent directory view. I don't see my file appearing Sad
Bondings
Your website is working fine for me now. I see some kind big picture in the middle.
engeland
O ok. It's working now.
Thanx for your help bondings Laughing
Bondings
engeland wrote:
O ok. It's working now.
Thanx for your help bondings Laughing

No problem.

Topic solved --> -locked-
Related topics
can i unzip file does this site surport Gzip
Image collection original showing site
Uploaded new site, now forbidden
I need a file hosting site... free
Just Uploaded my Site Map
.htaccess tutorial
[RESOLVED] problem with file permissions
The server connection timed for out...?
Robot.txt and Meta tags
My site on a different web hosing service
*URGENT* Help me Fill This .cgi i dont know what to place.
Update time?
htaccess
phpbb2 with frihost problem
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.