Frequently
Asked Questions
Web
Hosting FAQ
|
|
FTP Uploads
You
will find some files and subdirectories already present in your
account space. We recommend not altering the sub-directories in
any way (other than depositing files into them, or changing
permissions). You will find a file called index.html. This is the
default page for the account, and begins as a 'Welcome' page. You
should replace this file with your own 'Home' page, so that any
viewer who visits the site will see this file initially when
entering your domain name on their browser. Now you can begin
transferring files to the server, but please keep these points in
mind when uploading files:
-
UNIX systems are case-sensitive.
Thus, a file named foobar.txt would be a separate file from
one named FOOBAR.txt. If you can't seem to find a file on the
server that you just uploaded, check to see that you are using
the right case.
-
UNIX filenames also may contain almost
any type of character, and sometimes this may confuse FTP
clients. If you have trouble retrieving or linking to a file,
try using wildcards (*) in FTP to delete it, and replace it
with a file that doesn't have spaces or other special
characters in its name.
-
Our web server recognizes file formats by
extension. This means a client retrieving a file named .htm or
.html will be told it is in HTML format. Make sure that you
use the proper extensions when uploading your files.
-
CGI scripts must be in the /cgi-bin
subdirectory and have file permissions set to 'executable',
otherwise they will not run correctly.
-
Upload graphic files (such as
.jpg or .gif files) in 'Binary' mode with FTP, and HTML or
scripts in 'ASCII' mode in order to ensure that there are no
extraneous 'control' characters in your scripts or pages.
-
To organize your site you may create an unlimited number of
subdirectories (folders) within your account space to organize
your site using the FTP command 'mkdir'. To have a page
automatically load up when a browser goes to a directory, name
a file index.html (make sure its lowercase) and place it in
that directory. If an index.html file is not present, the web
browser will default to a list of all the files in that
directory. This applies to the root directory as well.
|