File Locations

Click for Exercise at bottom

The first thing to remember is that HTML documents are just text files. You can create and edit them with any text editor, such as Notepad. So, to get started you need to know where to create your files and what to create.

Where are the files for your site?

Most web site makers have two copies of the site:

  1. A local copy, on your local computer (home or office) or USB memory stick. This is not visible to the world but it is the site location where you do your edits. You can only edit a site on a local computer unless your host has a web interface which lets you modify pages on your browser.

    Often the local-copy machine is also running local web server software which allows the web developer to fully preview how the web server on the host (remote) machine will work when uploaded to the web. For this course you will not need to install the web server on your computer. Most of the edits can work with just a browser.

    For a personal site on UMKC which you are developing off campus it is easier to place your local files on a USB drive. That way you can edit the files at home, at your office and also on campus. When on campus you can copy from the USB drive to the N: drive and when off campus you can still use one of the FTP methods to copy files.

  2. The remote copy. This is the actual website visible on the world wide web. This copy is located on a computer at the host's location. This can be anywhere the World Wide Web goes to. The computer at the host is called a server and it can be in the same room or on the other side of the world. Normally you copy (upload) files from your local copy to this remote copy using an FTP program.
  3. UMKC, in this case, is your host as as long as you are a student (or employee) you have a website space reserved for you. You just need to (1) know about it and (2) use it.
  4. The BEST METHOD for putting files on your site, not only at UMKC, but anywhere, is an FTP program. FTP stands for File Transfer Protocol and is the oldest and most dependable method of copying files from one end of the internet to any other end.

Having two copies also gives you backup in case either one gets wiped.

The Local Copy

 

Alternately create this folder on a USB drive plugged into your computer.

A USB drive is much handier if you are traveling between home and campus. It allows you to work with the same files from home, office and on campus.

 

Exercise:

Start by entering your single-sign-on UMKC username then click the button
 |   ]

 

1 (HTTP) - View your website at UMKC on a normal browser using HTTP (hypertext transfer protocol). This is the way you view the pages you've put together. You cannot edit or copy files with HTTP protocol. This is designed for viewing as the pages are formatted.

Save this location in your browser by saving its Bookmark ("Save as Favorite") so that you can get back to it easily.

 

2 (FTP) - View your website at UMKC using FTP (File Transport Protocol) using FileZilla. This is how you move your files from the computer you are sitting at ("local") to your space on the web server ("remote") and vice versa. You cannot edit on the web. You must edit on the local machine and then upload the files to the server on the web.

Use this FTP address in FileZilla in the text box labeled "host."

 

The computer you are sitting at is your "local" computer.

3 - Local File Structure

Create a folder named "WebUMKC" (or other name you will easily recognize)
   This can be on your USB drive (handiest for home, work, campus) or on your hard drive as ...
   For Windows XP in "My Documents"
   For Windows Vista or Windows 7 create "WebUMKC" in "Computer\Public" drive or directly on the "C:\" drive.
   For Mac or Linux create the folder in the root or on the desktop

Then create three sub-folders to duplicate the sub-folders in your web site space at UMKC. Create these sub-folders:
1 - Images
2 - Media
3 - Output

For now, don't put any files in the folders.