| Return
to Table of Contents
Naming
Your Main Page and Where to Upload
FrontPage
2002
Publishing
with Microsoft Publisher or Netscape Composer
WinSCP
(secure FTP) for PC Users
WS_FTP
for PC Users
Fetch
for Mac Users
Telnet
Secure
Shell (SSH)
Naming
Your Main Page and Where to Upload
When you ftp (using
regular ftp like WS_FTP) to your account, you are automatically in your
/home directory. Double-click on the www folder. This will make the www
directory the active directory. Here is where you need to upload your web
pages. The default file in any directory should be named one of the following
(must
be in all lowercase):
-
index.htm
-
index.html
-
index.shtml
-
index.mv
-
index.php
-
index.php3
-
index.php4
-
index.cgi
Publishing
with Microsoft Publisher or Netscape Composer
Your ftp address
for Microsoft
Publisher is:
ftp://yourdomain.com/home/yourdomain/www/
For example,
if your domain name is "fred.com", the ftp address would be:
ftp://fred.com/home/fred/www/
If you are
using Netscape
Composer, the ftp address
would be:
ftp://fred@fred.com/home/fred/www/
WinSCP
(secure FTP) for PC Users
WinSCP is a freeware
FTP client for Windows 95/98/NT/2000/XP using SSH (Secure Shell). Its main
function is safe copying of files between local and remote computers. You
can download it from http://winscp.vse.cz/download2.php?file=WinSCP.exe
(398 kb).
It's very easy
to use—similar to WS_FTP.
WS_FTP
for PC Users
If you do not have
WS_FTP installed on your PC, you can download the LE version for free from
http://www.ftpplanet.com/download.htm.
When you run WS_FTP the Session Profile window is displayed. A profile
contains the information needed to connect to your web site. Creating a
Profile eliminates the need for you to configure the software each time
you use it.
To create a new profile,
click the "New" button and enter a Profile Name (can be anything you want)
at the top of the Session Properties window. Next, enter the Host Name
(this is your domain name without "www" or "http://"), User ID, and Password
for your Web site as illustrated below.
Be sure to
select Unix (standard) for the Host Type. Select "Save Pwd" so that you
won't have to enter the password next time. You can leave the "Account:"
and "Comment" fields blank. Click Apply and then OK.
This will connect
you to the Web server, where you will connect directly to the root (home)
directory of your account. WS_FTP will display a split screen where files
on the left-hand side are within your own computer. You will see several
folders on the right-hand side, such as www, and infobots which are landmarks
signifying a successful connection to your Web site, as illustrated below:
You need to
double-click on www to get to your Web directory. This is where all your
files will be uploaded, and/or you will create subdirectories. (The only
system directory that you may need to use is cgi-bin; this directory is
reserved for custom scripts.) To make your home page load automatically,
name the HTML document "index.htm" in lowercase and upload it to the www
directory of your account. To upload a file or files, simply highlight
the file(s) on the left and click the right arrow button (->) in the center
of the window. Be sure to upload HTML documents and scripts in ASCII
mode and images in binary mode. To transfer a file to a subdirectory,
double-click the appropriate subdirectory to open it before transferring
the desired file(s). To create a new directory, click on the MkDir button
when you are inside the www directory or subdirectory.
As soon as a file
is uploaded to the Web server, it is available for all to see. If, after
uploading a file, you are still unable to see the updated file via Netscape
or Microsoft Internet Explorer, try hitting the "Reload" or "Refresh" button.
If that fails, you need to clear both disk and browser cache. Remember
that you must first be connected to the Internet through your local Internet
service provider in order to connect to the Web server.
Fetch
for Mac Users
The following information
is contained within your Welcome! e-mail and is needed to connect to your
web site via ftp:
User ID
Password
Your hostname
is your domain name without "www" or "http://".
Each time you run
Fetch, the New Connection... window will be displayed. A profile contains
the information needed to connect to your Web site. Creating a profile
now will eliminate the need for you to configure the software each time
you wish to connect to the web server via ftp. To create a new profile,
select "New Connection..." from the File menu. Next, enter the Host (yourdomain.com),
User ID (yourdomain), and Password for your Web site as illustrated below:
Don't worry
about the Directory option right now. When you have your Host, User ID,
and Password entered, click on the OK button.
The next window that
will pop-up looks like figure below, except that your domain will be in
the pop-up window.
You should
take the time, now that you have established your connection, to make it
easier for yourself to get here next time. Under the Customize menu, select
New Shortcut. A window will pop-up called Bookmark Editor, as shown below.
It will already have your Name, Host, and User ID filled in. Under Type,
choose File from the pop-up menu. If you would like Fetch to remember your
Password so you won't have to type it in each time, type in your password
in the Password field. Now, under the same Customize menu, choose Preferences,
and under the General tab, make sure the connection you just entered is
selected as the default shortcut. Next time you open up Fetch, your shortcut
will be opened automatically and all you'll have to do is click the OK
button!
To transfer
files, you need to double-click on www to get to your Web directory. This
is where all your files will be downloaded and/or you will create subdirectories.
(The only system directory that you may need to use is cgi-bin; this directory
is reserved for custom scripts.) To make your home page load automatically,
name the HTML document "index.htm" in lowercase and upload it to the www
directory of your account. To upload a file or files, simply drag them
from your hard drive onto the Fetch window when you are in the appropriate
directory or subdirectory. Be sure to upload HTML documents and scripts
in Text mode and images in Binary mode. Or, to make life easier, click
on the Automatic button, and Fetch will decide the proper format. To transfer
a file to a subdirectory, double-click the appropriate subdirectory to
open it before transferring the desired file(s).
To ensure that the
Automatic selection works properly, make sure the selections under the
Upload tab in the Preferences window look the same as the figure below:
As soon as
a file is uploaded to the Web server, it is available for all to see. If,
after uploading a file, you are still unable to see the updated file via
Netscape, you need to hit the Reload button in the Netscape button bar.
Remember that you must first be connected to the Internet through your
local Internet service provider in order to connect to the Web server.
Telnet
You can use telnet
(installed on most Windows machines).
Your login/UserID
is yourdomain without the .com, .net.
Telnet is much like a DOS
program in both use and appearance, requiring specific typewritten commands.
There are "power" uses for Telnet, but only Advanced Users will be able
to understand or implement them. The novice user will probably not need
to use Telnet very much or very often, but some basic knowledge of it will
be useful.
Connect With Telnet
You will need a Telnet program
to access your Telnet account. If you use Windows, you should have a Telnet
program already on your system. To find out, do the following:
Go to Start,
select Run and type telnet into the entry box.
Once you have a Telnet program,
launch it, and be sure that you have a live connection to the Internet.
Enter yourdomain.com
into the entry box for HOST, and click on the Connect button,
(exact label will vary depending on the Telnet program you are using)
When you are connected, you
will be prompted for your User ID (or userid or login) Type in your
User ID.
You will then be prompted for
your password. Type in your Password.
Once you are logged in you will
see several lines of text scroll down the screen. When it is finished you
will see a blinking cursor after a word that may look something like this:
halo:~$
This is called the prompt,
and indicates the name of the server machine you are logged into.
That is where you will begin entering your commands.
General Info For Advanced
Users
Some of the programs
available at the shell prompt are:
mail - a primitive email program
pine - a more powerful email program
ftp - to FTP onto other sites
telnet - to telnet to other sites
pico - an easy to use text editor
vi - a not so easy to use (but standard) text editor
Joe - another easy to use text editor
lynx - a text-based world wide web browser.
In general, it's a pretty
complete POSIX environment. You access these programs by typing in their
names, and then following commands relevant to each program. If you need
help with any of the programs, at the shell prompt, type man and
the name of the program to get instructions for that program online.
If your problem is not knowing the name of the program, try apropos subject
(i.e. apropos mail). It is important to remember that Unix is case sensitive.
"Index.htm" is not the same as "index.htm."
Secure
Shell (SSH)
You can use a program
supporting SSH to log into your server. If you are using a Windows environment,
there’s a freeware program called “putty” that you can download for free
from http://www.chiark.greenend.org.uk/~sgtatham/putty/latest/putty.exe.
If you are using
a Mac, there’s a free program called “Nifty SSH” you can download from
http://www.lysator.liu.se/~jonasw/freeware/niftyssh.
Within the
program, make sure you select SSH. This will change the Port to 22. Your
host name is your domain name (without "www" or "http://").
Your login/UserID
is yourdomain without the .com, .net. |