|
Troubleshooting
What
page is loaded when I go to http://www.your-domain.com?
My
site looks good on my hard drive, but after uploading it the
images are missing and the links are broken?
How
do I fix it if I didn't name the first file index.html?
How
do I prevent web surfers from viewing the contents of my subdirectories?
Troubleshooting
What
page is loaded when I go to http://www.your-domain.com?
Our servers are configured
to read index.html as the default
homepage, so people browsing your site can simply type http://www.yourdomain.com
rather than having to specify a filename, such as http://www.yourdomain.com/homepage.html
It is strongly advised that you have an index.html file in
each directory of your website. Directories without it allow
browsing through your files, possibly exposing to public view
files not intended for that purpose. .
My
site looks good on my hard drive, but after uploading it the
images are missing and the links are broken?
For maiximum reliability
and uptime we are running Linux on all our webservers. Please
keep in mind that Linux is a case sensitive OS which means
you will have to keep track of lowercase and uppercase letters.
For example, 'index.html' and
'INDEX.HTML' are different files
under Linux, whereas under Windows or DOS they would count
as the same file.
This creates a problem when transferring your site from your
hard drive (Windows or DOS) to one of our servers. It can
often result in pages having broken links and missing images.
If you encounter this problem, check to make sure that your
hyperlinks in your web pages correspond to the exact filenames
on your website. If they do not match, you can either modify
your hyperlinks in your web pages or rename your files with
an FTP program so they match your hyperlinks.
Please note that if you are referring to your pages with a
.htm extension in your hyperlinks, make sure the filename
actually ends with a .htm extension.
If you are referring to your pages with .html
extension in your hyperlinks, make sure the filename actually
ends with a .html extension.
Another problem encountered is that you are referring to web
pages and images on your hard disk. For example,
<a href="c:/webpage/welcome.htm">My
Web Site</a>
The above hyperlink should be replaced with the one below
it:
<a href="welcome.htm">My
Web Site</a>.
How
do I fix it if I didn't name the first file index.html?
You would have to
rename the first file to index.html.
Don't forget to update your links. Otherwise, from the other
pages that link to the first page your visitors will get "Page
not found" error message.
How
do I prevent web surfers from viewing the contents of my subdirectories?
Place a file called
index.html within the subdirectory
that you don't want viewed. Instead of a file listing being
displayed, index.html will be
displayed.
|