Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. If you want to hand out a URL with a directory instead of a file (for example e.g. https://people.tamu.edu/netid), you will need to add an index.html file to the directory so that a page will load.

  2. All files must have an extension (i.e. end with .html, .txt, .jpg, etc.).

  3. Directories cannot have a dot (“.”) in the name or they will not work properly.

...

Info

Making relative links like the first one allows your page to work properly on your local computer as well as the remote server. This makes development easy because you can see changes in your local web browser and only upload once when you are finished making changes.

Connection setup using

...

FileZilla

...

FileZilla Example (your client will vary)

Open the Filezilla FileZilla application

Add a new

...

site

  1. Go to File > Site Manager (a window will pop up)

  2. Click on the New Site button on the left side

  3. Type people-edit into the box that pops up

  4. Select SFTP - SSH File Transfer Protocol from the Protocol dropdown on the right side

  5. Type in people-edit.engr.tamu.edu into the Host field

  6. Type your NetID into the User field (See Figure 1 for an example of steps 1-6)

  7. Type your NetID password into the Password field (this will be removed if you opt not to have your password remembered in step 119).

  8. Click OK

  9. Choose either Save Password to have your password remembered, or Do Not Save Password to enter it each time. It is more secure to pick the latter option.

...

  1. Go to File > Site Manager (a window will pop up)

  2. Click on people-edit on the left side

  3. Click on the Connect button

  4. When prompted with the text “The server’s host key is unknown. You have no guarantee that the server is the computer you think it is.”, check the Always trust this host, add this key to the cache box and click OK

...

  1. Create a directory just for housing your website files called Engineering People Site and make a note of where the directory lives

  2. Create a file named index.html in your newly created Engineering People Site directory using your favorite text editor and place the following contents in the file:

    Code Block
    <html>
    
    <header>
    
    <title>Welcome to my site!</title>
    
    </header>
    
    
    <body>
    
    <h2>Welcome to my site!</h2>
    
    </body>
    
    
    </html>
  3. View your new index.html page locally in your browser by going to your favorite web browser, going to File > Open, and browsing to your new page. Once you are satisfied with the page, proceed to the next step.

  4. Connect to the people-edit site by using the directions under Connect to Your Site

  5. In the upper left window of FilezillaFileZilla, navigate to the Engineering People Site directory that you created earlier. You will see the index.html file in the lower left window. (See Figure 32 for an example).

  6. Right-click on the index.html file in the lower left window and select Upload

  7. If the file is new, then it will be uploaded and you will be finished. However, if you make edits to the file and upload it again, the file will already exist on the server and you will receive a prompt about how to handle overriding the file. The easiest option is to always override the file on the server (see Figure 43 for what these override options look like).

  8. You can now view your site in the browser by going to people.engr.tamu.edu/<netid> (replacing <netid> with your real NetID)

Note

Due to server-side caching, it may take up to 2 minutes for your changes to appear; this is why it is important to develop your page on your local machine before uploading it.

...

Figure 32

...

Figure 43

Adding Directory Listings to your site

...