Publishing a Personal Website

This service is in the process of being decommissioned and new personal websites can no longer be created. If you are a faculty member or a member of a lab/research group, please see Faculty, Lab and Research Websites (CampusPress) for more information on our new service. For further advice on how to proceed with your website project, please contact CCS.WebSolutions@uoguelph.ca

For information on retrieving content or files on your existing personal website, see the instructions on Publishing a Personal Website

These instructions provide information for managing a personal website space. They assume an understanding of the principles of creating a website and terms such as SFTP (Secure File Transfer Protocol).

There are three steps:

  1. Connect to the personal web hosting server
  2. Create a directory for your website files
  3. Publish content to the directory

1. Connect to the Personal Web Hosting Server

1.1 Server Details

  • Host: home.web.uoguelph.ca
  • Port: 22
  • Protocol: SFTP
  • User: <your-central-login-id>
  • Password: <your-central-login-password>

1.2 Connection Steps

Note:  You can use any SFTP client to access the server. 
Also Note: If you are connecting from off campus or via a cellular network, you must first connect to the campus network using the VPN Service

 

  1. To connect to the server:
  2. Open your SFTP client
  3. In the Host field, enter home.web.uoguelph.ca
    1. In the Protocol list, select SFTP - SSH File Transfer Protocol using (SSH2)
    2. In the Logon Type: select Normal
    3. In the User field, enter the organization’s Central Login ID.
    4. In the Password field, enter the organization’s Central Login password.
    5. Connect.

    After the connection is established, most SFTP clients will display the contents of two directories: the Local Site located on your local computer, and the Remote Site located on the University server.

    Change the path information on the Remote Site to either the staging area (/stage/foldername) or the production area (/production/foldername).

2. Create a Directory on the Server

This step needs only to be done once. After the directory has been set up the first time, you may skip to step 3.

2.1 Correctly Permission your Home Directory

You must ensure that the permissions on your central login account's home directory are correctly set. To do so using your SFTP client,

  1. Connect to personal web hosting server
  2. In the Remote site pane, right-click on the directory named after your central login account and select File Attributes...
  3. In the Change file attributes dialog, enter 711 into the Numeric value field
  4. Click OK

2.2 Create a public_html Directory to Host your Website

The personal web hosting server will make any files or directories in a sub-directory called public_html available online. If a public_html sub-directory doesn't already exist, you must create one.

  1. Connect to personal web hosting server with your SFTP client.
  2. In the Remote site pane, right-click on the directory named after your central login account and select Create directory
  3. In the Create directory dialog, replace the text "New directory" with "public_html"
  4. Click OK

3. Publishing Content

In general, to publish content, you must create your website files on your local computer and upload them via SFTP to the personal web hosting server.

You may use one or more of these technologies:

  • HTML / SHTML
  • Javascript
  • CSS
  • PERL CGI

To publish your website files:

  1. Connect to personal web hosting server with your SFTP client.
  2. In the Local site pane, navigate to the folder for your web pages on your local computer
  3. In the Remote site pane, navigate to the public_html directory
  4. Copy the files from the Local site to the Remote site using drag and drop

Note: Your website’s home page file must be named index.html, index.shtml, or index.cgi; otherwise, the site will not display.