Need Help Quick...

by 16 replies
18
Hey big problem,

I just started my hosting today with hostgator.com

Anyway i almost finished one page of my first website and i changed the file name and now when i try go to my website it just shows all of the files instead of showing the website.

Look yourself Index of /

- Eric

What should i do to show the website again
#main internet marketing discussion forum #quick
  • i think you have to make a page index.htm so the server can pick it up as your homepage...
  • You need to give your index page a file extension - .htm or .html
    • [1] reply
    • not working crap i screwed this up
      • [2] replies
  • Eric

    Your main page (default) must be called index.html or index.php for it to show up when you type your site address as http://mysite.com

    Otherwise you need to type http://mysite.com/newpage.html

    It is also wise (especially in other folders) to have an index.html file - so that people cannot see (and download) your files listed there.

    HTH
  • How did you produce the file you are trying to see?

    Try to name it index.html
  • If you just transferred your domain name, you'll need to give it time to propagate. It'll be a little dodgy for up to 24 hours.

    Just a guess.

    Steve
  • Eric

    Just rename it index.html

    It will work . . .
  • There is no need to panic . . folks

    Please, Eric - just rename it index.html (not the other combinations you have been using)

    Regards
    Jo
  • Well Done . . .

    See you got there in the end!

    All the best
  • Another common problem:

    Win XP automatically hides the files extension by default.

    So instead of index.html you would see index. Further, if you save a file (eg: index.txt) and then rename it as index.html, you would get index.html.txt.

    You're experiencing something like this?
  • You can also place an .htaccess file above your public html folder with

    Options -Indexes

    to turn off showing the directory if no index file exists. I would suggest doing this so you don't inadvertently leave all of your files exposed. Who wants to have to upload an index file in every graphics folder, etc..
    • [2] replies
    • oh thank you guys i figured it out i need the html
    • Excellent suggestion, Gail, and much better than mine.

      But for someone who is having trouble with their very first home page, maybe this will come later . . .



      No matter which way it is done - make sure you do it!
  • It seems to be displaying fine now.
    You might want to re-work your layout though. It looks a bit stretched out.

Next Topics on Trending Feed