|
|
index.html:
This again is where a number of newer webmasters become stumped.
They upload all of their files and directories, and then want to access them with their browser, but forgetting to create their welcoming page as index.html, this is what happens:
They access their site as:
http://www.yourdomain.com/
and what they see is their entire file directory structure!
It looks just like exploring the C drive on your computer!
You don't want visitors seeing that, do you?
http://www.mydomain.com
by itself will automatically display the home or welcoming page.
It's because the server automatically looks for index.html whenever a
domain or directory is called without a filename appended to it such as
this, http://www.mydomain.com/file.html
ALWAYS, use an "index.html" file in any directory you create, including your "public_html" web directory.
In general, it's always a good idea to use "index.html" as your main page in "all sub-directories" of your account.
Forgetting to place an index.html in your public_html folder, or any subdirectory of your web for that matter will effectively leave all of its contents viewable to the world.
|
|
|||||||||||||||
Copyright © 2002 1st Host Web
281-477-8650