Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 01:54:32 PM

Pages: [1]   Go Down
  Print  
Author Topic: All I see is Index.  (Read 1170 times)
Bill10D
Newbie
*
Offline Offline

Posts: 1


« on: March 06, 2006, 04:49:23 PM »

  Im new to Lunarpages,and making a web site. I got cute ftp to connect to my site findly.
   I used the connecting wizard to set it up. After I upload the file to my web and go to my site I just see the index page with a folder in it. I dont know what im doing wrong can anyone help?
   
       www.newageimaging.com        Thank you, Bill.
Logged
Lupine1647
Berserker Poster
*****
Offline Offline

Posts: 10868


« Reply #1 on: March 06, 2006, 04:50:50 PM »

The main index page needs to be named index.html
Logged
blazerblvd
Intergalactic Superstar
*****
Offline Offline

Posts: 180


WWW
« Reply #2 on: March 06, 2006, 05:00:32 PM »

You would want code like this:
index.html
Code:
<html>
<center><img src=web-header.gif><br /><br />
Welcome to NEW AGE IMAGING!<br />
Site under construction<br />
check back soon.</center>
</html>
Logged
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5083



« Reply #3 on: March 10, 2006, 07:37:00 PM »

Um, why is index.html a directory (folder) rather than a file?
Logged

DSB
Computer Nerd
Jabba the Hutt
*****
Offline Offline

Posts: 600


Programmer of things...


WWW
« Reply #4 on: March 10, 2006, 08:33:17 PM »

Um, why is index.html a directory (folder) rather than a file?

It should be a file.  Not sure what you mean.  Can you elaborate?
Logged

Lupine1647
Berserker Poster
*****
Offline Offline

Posts: 10868


« Reply #5 on: March 10, 2006, 08:45:54 PM »

It's possible you clicked the create new folder button instead of the new file button.
Logged
SteveW
Master Jedi
*****
Offline Offline

Posts: 1394


WWW
« Reply #6 on: March 10, 2006, 09:33:57 PM »

Yeah, the index.html (or index.htm) needs to be an HTML file rather than a folder with stuff in it.  When it's in your public_html folder, then that file (index.htm) becomes your home page.

The same principle applies to all your folders: any folder that doesn't have an index.html page will display that same type of "directory listing" view that you now see when you go to your site. So it's good practice to give the primary file in each subfolder the name "index.htm". That way, if someone navigates directly to that folder, they'll get that index page rather than the directory listing view.

Note that your index.htm (or html) page must be a real HTML page, your home page, containing links to your other pages. If it's a blank file, people who go to your site will only see a blank screen, even worse than the directory view!

In case there's any confusion (there was for me the first time I saw one), that directory listing view isn't any sort of an error page. It's just an alternative way to display your website. If your site just consists of files and folders that you want users to navigate and browse around in, then that's one way to do it, and it relieves you of the burden of creating pages with hyperlinks and such. But it's pretty bare-bones, and most people want to present their site in a more creative way.

--------
Quote
It should be a file.  Not sure what you mean.  Can you elaborate?
The index.html on Bill10D's site shows as index.html/, a folder (with some files in it, too), rather than a file itself.



« Last Edit: March 10, 2006, 09:36:23 PM by SteveW » Logged





Mt. Shasta
photo gallery.


Don't forget Lunarpages 24/7/365 support documentation:
Flash Tutorials, Knowledge Base FAQ Articles, cPanel Manual, Glossary/Dictionary, Support Tickets,
and
Forum Search.

RAT
Wizard of Telecastria
Über Jedi
*****
Offline Offline

Posts: 2875


HAIRNT !


WWW
« Reply #7 on: March 10, 2006, 10:31:24 PM »

Quote
The index.html on Bill10D's site shows as index.html/, a folder (with some files in it, too), rather than a file itself.

Not anymore it doesn't, musta got it figured out. Funny how there has been so much discussion of their site here but they haven't posted back yet a single time since their first post !! AT least they got the index view fixed !!! Just weird that there has been no more replies from them,   LOL ,,

Tired RAT
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: