Please enable javascript to view this page in its intended format.

Queen's University
 

Setting up your Personal Post Web Space

 

ITServices makes web space available for Faculty and Staff to use for personal web pages either on their QShare account or on the Post server. 

 

To set up your personal web space on Post you need to request a Post web space account. To do this, fill out the ITServices Support Centre form and indicate that you'd like a new account. Next, create a www folder and assign the proper permissions to it.  Follow these  step-by-step instructions.  

 

Note: ITServices for security reason now requires access to web space via SSH client and/or SFTP client. Secure Shell (SSH) is a cryptographic network protocol for secure data communication, remote shell services or command execution and other secure network services between two networked computers that connects, via a secure channel over the network. SFTP stands for "SSH File Transfer Protocol." When you connect to a server using SFTP, SSH encryption is used to protect the connection between your computer and the server. 

 

Note:  ITServices does not support Dreamweaver, however a tutorial for setting up a SFTP connection for Dreamweaver is available at  http://helpx.adobe.com/dreamweaver/using/connect-remote-server.html

 


 

 SSH Clients:


  • Mac OS X - Terminal application (build in to OS X) is used for secure terminal connection via SSH program.
    • Select from Finder's Go menu select Utilities to access Terminal application.
    • Then type:  ssh netid@post.queensu.ca to login.
  • Windows - Putty ( http://www.putty.org/ ) is used for secure terminal connection via SSH program.
    •  Putty Service page has links to help you get start.

 

SFTP Clients:

 

 

Create The www Folder on Your Post Account

 

  1. Open your SSH client application, and Login to the Post server. In this step we are logging in to a remote machine.
    • Mac OS X - Terminal client
      1. Select from Finder's Go menu -> Utilities to access Terminal application.
        Then type: 
         ssh netid@post.queensu.ca  to login.
    • Windows Putty SSH client
      1. To locate putty, check for a shortcut on desktop and double click it. If does not exists, Click on Start menu -> all program and look for Putty folder.
        Note: If not installed, download from: http://www.putty.org/
      2. In the Host Name field enter: post.queensu.ca
      3. Select Connection type: SSH
      4. Optional, save the session configuration, by typing a name in Saved Sessions field. and click on Save button.
      5. Click on Open button to connect.
      6. At this time you will be prompted for password and then terminal window with command-line prompt will be displayed.
  2. Get to a command-line prompt and prepare your web directory using the mkwww command.
    1. You will see a new screen appear, containing some text. The text on the screen will contain information about the connection, ending with instructions to Press Return to continue...
    2. Press Enter.
    3. You should see the Post Main Menu screen, listing some available commands. At the very bottom is a prompt which will be apparent by a blinking black rectangle.
    4. At the prompt, type the following command then press Enter:

      mkwww

    5. Wait until the screen indicates the process has completed. Once the mkwww procedure is complete, your web space will be ready and you can begin uploading files to your account space. The mkwww command creates a folder in your account space named www, and creates an index.htmlfile within that folder.  It also sets the access permissions for the folder so the public can only see the web page. It is everything in this folder that gets published to the World Wide Web. You will not see any of this occurring. Use the SFTP client to view this change.
      Note: You only have to perform the mkwww command once. You may want to use it again if you need to reset your webspace, but if you do everything correctly the first time, you shouldn't need to do it again.
    6. When the mkwww process is complete, you will see the command prompt again. Log out of the remote machine by typing logout.

Review The Changes To Your Post Account

 

  1. Launch your SFTP client.  Login to the remote machine, host: post.queensu.cavia SFTP.
    • Mac OS X - Fetch SFTP client
      1. Using the dropdown list entitled Profile Name, choose the entry for the Post server.
      2. You will see that the Host Name/Address value is already set up for you.
      3. Enter your NetID in the User ID text box.
      4. Enter your NetID password in the Password text box.
        Note: do not check the save password checkbox on lab machines.
      5. Click the OK button
    • Windows FilZila SFTP client
      1. Using the Quickconnect option, and 
      2. Enter for host:  sftp://post.queensu.ca
        sftp:// tell FileZilla to use SFTP protocol.
      3. Enter your NetID in the Username: text box.
      4. Enter your NetID password in the Password text box.
      5. Click the Quickconnect button. 
        Note: do not check the save password checkbox on lab machines.
  2. Review the SFTP interface
    • for FilZila SFTP client
      1. The Session Properties window will disappear and you will be viewing a screen which displays two windows containing files and folders.
      2. The left hand window displays the contents of your Local Site [your machine].
      3. The right hand window displays the contents of the Remote site [your account on the Post server].
      4. Double click on www directory to move into the directory.
      5. Double-click on your netid folder at the top of the remote window. This will bring you back up to the top folder in your account directory.
    • Macintosh Fetch SFTP client
      1. Fetch windows displays the contents of the Remote site [your account on the Post server].
      2. Fetch allows you to drag and drop files to and from this window.
      3. Control-Click or Right click on items will give you contextual menu with option to edit and download.
  3. View the changes in your Post account through SFTP.
    • Double-click the wwwfolder. There should be an index.htmlfile in there that was automatically created by the mkwwwcommand.
  4. View the new file in your Post space (i.e. view the remote file) from a browser.
    • Launch your browser
    • In the address bar, type the URL to your new index page.
      • The URL or address for the remote page in your Post space will follow the following pattern:

        http://hostname/~yourNetID/OR http://hostname/~yourNetID/index.html
         

        For example, if my NetID is "myid" and I am using an account on the Post server, the URL to my remote page would be:
        http://post.queensu.ca/~myid/OR http://post.queensu.ca/~myid/index.html

    • You should see the standard page template provided by the web administrator. You can change this page at your leisure.

Your web space is now ready for your web files.


Kingston, Ontario, Canada K7L 3N6 613.533.2000