Jul 20, 2008

Index.html Does Not Work!

Free Web Hosting, No Ads > General > Hosted Members Area
Pages: 1, 2

free web hosting

Index.html Does Not Work!

whistle
I feel embarrassed to say this, but I do fall in trouble. I put my scripts to public_html directory, and I forgot what I did.

When I go to my homepage, it shows all files and directories in the public_html directory, but not the right content of my homepage file index.html. If I click the index.html, the right content of index.html shows up. I means that the index.html or index.php won't be laughed.

I find and try to recover it over and over, nothing happens. I am like a boy who make a mistake that he can't understand. Can anyone tell my what did I do and how to recover it. Thanks.

Reply

snlildude87
It probably doesn't work because you have two files there--index.html and index.php. Which one do you want to use? If the latter, then delete the former. If the former, delete the latter. Try that to see if it works.

Reply

boyCradle
Have you tried deleting the default index.php file from the public_html folder? maybe you have deleted that default index page but have not uploaded your own index.php or index.html file. or the extension name of your index file is not correct.

Reply

Dragonfly
If you have installed or uploaded index.php and index.html as it is without cap-lock of any letters, if you type your site at the url locator, it will point to index.html not index.php, and there is absolutely no problem in keeping the two files together there. But if you want your site visitors to see index.php file, you must remove or rename index.html file.

I'm using index.php as my index but whenever there is problem in php I just move index.php which I keep inside some other folder to show that something isn't working in my site, as a notice.

You must check whether index.html file exist as it is and if possible EDIT the file and see the source code, copy and see how it appears at dreamweaver, you will come to know about it.

All the best.

Reply

SarCasM
And if all else fails just open up the .htaccess file and add this to it at the bottum,

"DirectoryIndex index.html" or .php or whatever file you want to be the index file.

Reply

whistle
I tried to delete index.php or index.html for leaving one on them, but the problem still exists. The full directories and files are displayed.

Let me discribe it simple. After I install a preinstalled in my hosting cpanel, such as xoops, what I see is the full directories and files in the directory when I go to link "http://mydomain/xoops". Of course, there is a index.php. After I click on the index.php, everything goes fine. What I actually want to ask is how I should do to configure my cpanel to resolve it. Thank you.

Reply

electriic ink
When I visit your website everything's fine, unlike before. The index page displays correcting and the directory /xoops/ displays fine too. Does this mean the problem's solved?

Reply

ashiezai
hi there ... normally when there is index.html and index.php inside a folder .. it will display index.html as first priority as long as you did not change the .htaccess file to point to main page to index.php ...

The problem is that you are trying to get index.html display in mydomain/xoops ... so make sure that your index.html in the madomain/xoops folder .. or an index.php in that folder not the parent folder ..

Reply

rvovk
I had same problem, I put two files into folder, index.php and index.html. I forgot about html file, i thought I had only php file inside my folder. But when I changed my php file there were not changes resultig in browser thus there was html file which has priority in being showed. Delete html file and php file will be normally shown.

Reply

epox
sometimes i have the same problem, i upload a file but it doesn't load, and i continue tryng until it works, it makes me bad it's so boring stay on front of my screen while it deciede to load. altought it loads, after all, what else can i ask. be patient

Reply

Latest Entries

Becca
O.K I'm kind of closing this topic thingy now because you said you resolved your problem. If you haven't then PM me to reopen or something smile.gif

Reply

guangdian
i think you can just change the index.html to index.htm
try it. or your problem will be soluted

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Similar Topics

Keywords : index, html, work

  1. Css Problem On Website
    I've uploaded the html/css files but the css isn't working/ (8)
  2. Www Vs. Public_html [resolved]
    (3)
    I didn't know where to post this..... this category seemed about as good a fit as there was. on
    most webservers (my trap 17 one included), there is a public_html folder and a www folder, anything
    uploaded into one also gets put in the other. so i am wondering what is the point of both of these
    folders? can someone tell me why each one exists?....
  3. .php?id=html Not Working
    (15)
    I use a single php file for all my tag decorations and image calling so that each page is lighter
    and therefore isn't bogged down with the same repeated code over and over, which allows me not
    only to much easier change my layout and design (as I often do) but once I've finally gotten it
    up and working here, I realized none of the links work, I doubled, and triple checked them over and
    over again to make sure I wasn't making a mistake. I swore trap17 supported php, so why
    isn't it working? Am I missing some sorta code that i need to add, or need to take a....
  4. Html Editor Glitch
    (7)
    Three times I've tried using HTML Editor to edit my index.html page and the first 2 times it
    instantly deleted all the page's coding and replaced it with the word "undefined". I noticed
    the 3rd time after editing a page it gives the following message: QUOTE
    %2fhome%2fjoshua%2fpublic_html/index.html File Saved
    -------------------------------------------------------------------------------- open index.html
    failed: Permission denied at cpanel.pl line 469 Carp::croak('open index.html failed: Permission
    denied') called at /usr/local/cpanel/Cpanel/Fi....
  5. Site Management Tools: Look Before You Leap!
    The danger of using Index Manager and other .htaccess altering tools.. (3)
    A few minutes ago I was looking at site management tools section in my Control Panel. The tool
    "Index Manager" caught my eye. If I used it, then I wouldn't need to create placeholder pages in
    my folders with no index pages /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
    alt="smile.gif" /> What I had forgotten is that I already had an .htaccess file in my site.
    Needless to say, enabling this option took down my whole site instantly and displayed an "Internal
    Server Error" message. How stupid of me! /wacko.gif" style="vertical-align:middle" em....
  6. Index
    (1)
    Okay, that might be a stupid question, which it probably is. I apologise in advance, but I
    couldn't find answer to it in the manual. I hava a website basis that I've already uploaded,
    but I cannot access any of the pages on it - when I go to http://studentunion.trap17.com/ I get
    the screen with congradulations, not my starting page, although I followed the instructions on the
    page. When I manually try to access the index.php file through the address bar - it says that the
    file does not exist although I gave all the necessary permissions for anyone to view it. H....
  7. Can't Edit Index
    in file manager (3)
    when i open my sight, www.blockwars.trap17.com i get Parse error: syntax error, unexpected T_STRING
    in /home/khalilo/public_html/index.php on line 6 I don't even have an index.php file O_o I have
    a index.html its coding is: CODE <html> <head> <title></title>
    </head> <body bgcolor= black> <font color=red>welcome</font>
    </body> </html> but why isn't it being opened O_o?....
  8. I Have A Question About Where To Put My Html.
    (6)
    yeah i'm hosting a sit on her but i'm completely lost on how this stuff works can someone
    tell me where i would put the html?? or just how i would go about making the site work with stuff
    acutally on it.. please i'm in desparate need of help.....
  9. Php Nuke Index Shows Blank Page
    php nuke problem (2)
    hey i have just get hosting a few days ago but what is this problem i uploaded nuke 7.6
    r3load.trap17.com/index.php but i cant able to see any thing in explorer how can i fix this problem
    is there any security on by default .... please told me i am new here... ? Topic title modified. ....
  10. Changing Index\main Page [resolved]
    The default index wont go away (5)
    My default index from trap17 wont go away. I went to file manager and replaced the index.html file
    with my own index.html, but the main page wont change. What am I doing wrong?....
  11. Index Page
    (6)
    how do i create an index page so that i can have links on the side to different parts of my site?....
  12. Still showing the default index page after FTP upload
    (4)
    Hey, i need a little help. I just got my account. I uploaded the index.html file using an ftp, but
    when i try going on my page, it still shows the default page. How do i fix this?....
  13. Help With Webhosting
    index.html? (4)
    I need help with my webhosting. Whenever I access http://portal.trap17.com , this comes up: QUOTE
    Welcome to your Hosting Account! This site is currently Hosted at trap17.com If you are
    seeing this message then it means that your site is up and your account is functioning properly.
    Please see to it that you do the following steps before you continue :- 1. Login to your cpanel
    by typing, http://yoursite.com/cpanel . 2. Enter the userID and Password. (check your PM at the
    Forums or your requested post) 3. Change the Email address in your Cpanel. (u....
  14. Html To Php Convertor?
    (12)
    Hey.I have made a simple website http://pakdir.com this is in html.But its very difficult to
    update the html pages.I want to convert it to php site.But i dont know about php language ... is
    there any "PHP website builder" ?? is there anyway to build a php website without knowledge of php ,
    with the help of some program ? for example there is a frontpage for html etc.Please tell me any
    solution?....
  15. Public_html Or Www Folder?
    Where to put web files? (5)
    heh..im kind of new to this..but where to i put my pages that i want to show up? like in...
    public_html www ??? plz help hehe Naming your topic title carefully would and will help
    other members in the future. Please take topic title and description seriously. ....
  16. Help With Html Code
    Feedback Form (12)
    I have this HTML Code: QUOTE   All comments and suggestions about this web site are very
    welcome and a valuable source of information for us. Thanks!         Your Name:      
      Your Email:         Message:                 However, a problem that I
    have is the fact that I dont know how to set up the code to send it to an Email address. I am not
    that good with HTML Coding and would be grateful for assistance in setting this up. Thank you.....
  17. Public_html Or Www Problem
    Site won't show up. (7)
    I've got a problem with my site. When I'm copying it in www folder and trying to look
    I've got only cpanel's error : There is no website configured at this address. So I thought
    that I need to copy my site in public_html folder and when I'm copying my site there I still got
    the same problem! Then I tried with "fantastico" to install nuke PHP. Instalation was completed
    succesfully but when I'm trying to get on my nuke It shows me the same : There is no website
    configured at this address. I'm hosting with mine domain... So where I must "co....
  18. Index.html
    How do you do it? (4)
    I know this is soO strange but when i upload my index.html what do i do after wards to make it my
    index.html for my website? i know i should know this but im kinda what people would call an IDIOT
    lol help me please.......
  19. Enabling Html At A Phpbb
    Can't get it going ... (7)
    I think I' ve done everything by the book. It was allowed on the forum ACP, it is allowed by
    user, it seems to be allowed on the posting form, the tag list has been added at the ACP, the
    preview accepts it , but the posts show the raw tags as part of the post. Is there anything else I
    need to do? Does the Admin have to allow it? Is it dis-allowed for the trap17 free hosted accounts?
    Your help is appreciated.....
  20. Html Body Background Tag Help
    (5)
    I was just about finish with my new subsite AmazingRed when I notioced next to the update box is a
    white line, which should be there. Anything think they can help me? The code.. CODE <body
    background="http://www.pretty.trap17.com/red/bg1.jpg" leftmargin="0"
    topmargin="0" rightmargin="0" bottommargin="0"> ....
  21. Help With Changing A File
    my index.php to cmps_indes.php (8)
    Can someone helpme please because I need to know how to change the default page from index.php to
    cmps_index.php....
  22. Is It Possible To Add Code To Phpbb
    Adding HTML & What Not (3)
    I wanted to know if it is possible to add code to phpbb if so how. By adding code I mean adding html
    so I could add stuff like affialiates and stuff like that. Thanks for your help. I also wanted to
    know if that is allowed before anyone posts an answer, I figured it is if you leave the copyright
    because it is open source.....
  23. Html Tag For A Code Box
    Where You Put HTML Code For Your Users (3)
    Well I have seen it all over the web. Lots of sites have code boxes so you can promote them or they
    show you a code you can use for javascript and stuff like that. I would like to know the HTML code
    for those boxes. Thanks in advance for your help.....
  24. Index Page Problem
    It does not change (10)
    Hi. Here's my problem. I heve deleted defoult index.html from public_html folder and then I
    created my own Index.html and after few days I deside upgrade index page but the funny thing is that
    if I will type in my browser www.sader.tarp17.com I will sea my old index.html but if I will type
    www.sader.tarp17.com/index.html I will sea the new one. So it look that old index is holdet
    somewhere I do not need it I need just new index. How can remove old index.html. I even tryed remove
    my tempory internet files from my hard drive didn,t work /sad.gif' border='0' style='ve....
  25. Installing Phpbb Boards
    How do I make them appear at my "index"? (3)
    I know how to install phpBB boards but I would like to know how to make them appear in the front
    page of my domain. My domain is www.brokecollegekidz.com (dns hasnt propagated yet) So for
    example: I don't want my boards at www.brokecollegekidz.com/phpBB I want my visitors to see the
    boards right when they go to www.brokecollegekidz.com I've never had the need to do this in the
    past but I would like to do it with this site. Thank you in advance for your help.....
  26. Help With Uploading Index File
    i cannot remove rename edit or replace (6)
    When I try to edit, remove, rename, or replace my index into my public_html folder. It does not
    work. Is there anyway to erase everything on your account, and start from scratch. Or a way to fix
    this problem. I have PMed and Emailed the admin but haven't gotten help, can anyone here help
    me?....
  27. Adding Webpages (html)
    (10)
    ok when i upload my other webpages where do i uplaod them to? i have uplaoded them to practily
    evrwhere and when i click a link on my index ( home ) page it doesn't read it proporly and sends
    me to can not find web page blah blah blah. What do i do? or where and how is the proper way to
    uplaod a hole site? ( html )....
  28. Indexing On Subdomains
    index.html does not show up (7)
    Hi there. When I creat html indexes they do not show up on my subdomains unless I directly link to
    them ie http://dark.unicornrose.com/index.html I know I should be able to just link this way
    http://dark.unicornrose.com and the index show up. If you will go there you will see instead it
    shows the directory index. How do I get it to stop showing that? Thank you very much! Beth....
  29. The 'index.html' File
    Some help please :) (11)
    Ok when I enter my website address '...ork.trap17.com' I get the page where it says Welcome
    to your hosting account. But instead of that I want it to be my forum index which means I have to
    had '/index.php' on the end. How can I get rid of that page and make it my forum index? I
    have the index.php place in the public_html folder and have deleted all instances of index.html
    nearly 24 hours ago. /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' />
    ~ Munchie ~....
  30. [code] No Right Click
    This is a HTML Code!!! (3)
    <script language=JavaScript> <!-- var message="Function Disabled!";
    /////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message);
    return false; } } function clickNS4(e){ if
    (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){
    alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){
    document.onmousedown=clickIE4; } document.oncontextmenu=new Function("al....

    1. Looking for index, html, work

Searching Video's for index, html, work
advertisement



Index.html Does Not Work!



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE