Student-hosting

From Publication Station

Uploading your website to the Student Hosting Server

[edit]

Introduction

[edit]

Once you have finished building your website using HTML and CSS, you can publish it online using the Hogeschool Rotterdam Student Hosting Server.

Every student has access to personal web space on the server. You can upload your files using FileZilla, a free application that allows you to transfer files between your computer and a remote server.

In this tutorial, you will learn how to connect to the server, upload your website files and make your website accessible online.

Your website will be accessible through a URL in the following format:

https://stud.hosted.hr.nl/YOUR_STUDENT_NUMBER/

1. Download and install FileZilla

[edit]

First, you need to install FileZilla on your computer.

  1. Go to the official FileZilla website.
  2. Download FileZilla Client (not FileZilla Server).
  3. Install the application using the default settings.
  4. Open FileZilla.

FileZilla is available for Windows, macOS and Linux.

2. Connect to the Student Hosting Server

[edit]

Open FileZilla. At the top of the window, you will find the Quickconnect bar. This is where you enter the connection details.

The Quickconnect bar in FileZilla

Enter the following information:

Field Value
Host sftp://stud.hosted.hr.nl
Username Your HR student username
Password Your regular HR password
Port 22

Click Quickconnect to establish the connection.

The first time you connect, FileZilla may display a message asking you to verify the server's host key. Only accept it if you are confident that you are connecting to the correct HR server. If you are unsure, contact HR support.

If the connection is successful, you will see the contents of your personal server space on the right side of FileZilla.

3. Understanding the FileZilla interface

[edit]

FileZilla is divided into two main file panels:

  • Local site (left): files and folders on your own computer.
  • Remote site (right): files and folders on the HR server.

There are also two other important areas:

  • Message log: displays connection messages and possible errors.
  • Transfer queue: displays the progress of your file transfers, including successful and failed uploads.

You will mainly work with the two file panels in the middle of the window.

4. Find your public web directory

[edit]

Your personal server space contains a directory called public.www.

Important: Only files placed inside public.www will be accessible through your website URL.

  1. On the right side of FileZilla, locate the directory called public.www.
  2. Double-click the directory to open it.
  3. You are now inside the directory where your website files should be uploaded.

Do not upload your website directly into the top-level directory. All publicly accessible website files need to be placed inside public.www.

5. Prepare your website files

[edit]

Before uploading, make sure your website is organised correctly on your computer.

For example, your project might have the following structure:

my-website/
├── index.html
├── about.html
├── style.css
├── photo-02.jpg

Your project can have a different structure, but make sure that:

  • Your homepage is called index.html.
  • Your CSS files are included.
  • All images and other assets used by your website are included.
  • Your HTML files refer to the correct locations of your CSS, images and other assets.

Note: The server runs Linux, which means that filenames and directory names are case-sensitive.

For example, Image.jpg and image.jpg are treated as two different files. Make sure that filenames in your HTML and CSS match the actual filenames exactly.

It is recommended to use lowercase filenames and avoid spaces.

6. Upload your website

[edit]

Now you can transfer your website files to the server.

  1. On the left side of FileZilla, navigate to the folder containing your website.
  2. On the right side, make sure you are inside public.www.
  3. Select all the files and folders belonging to your website.
  4. Drag your selection from the left panel to the right panel.

Alternatively, right-click your selection and choose Upload.

FileZilla will now start transferring your files to the server.

File:Filezilla-upload.png
Uploading website files from the local computer to the remote server

Depending on the number and size of your files, this might take a little while. You can monitor the progress in the transfer queue at the bottom of the window.

Wait until all transfers have finished. Check the Failed transfers tab to see whether any files could not be uploaded.

If there are failed transfers, try uploading those files again.

7. View your website online

[edit]

Once the upload is complete, open your web browser.

Go to the following address:

https://stud.hosted.hr.nl/YOUR_STUDENT_NUMBER/

Replace YOUR_STUDENT_NUMBER with your own student number.

If everything worked correctly, you should now see your website.

You can also access individual pages directly. For example:

https://stud.hosted.hr.nl/YOUR_STUDENT_NUMBER/about.html

8. Update your website

[edit]

You can continue working on your website locally and upload new versions whenever you make changes.

The general workflow is:

  1. Make changes to your HTML or CSS files on your computer.
  2. Save your changes.
  3. Open FileZilla and connect to the server.
  4. Navigate to public.www.
  5. Upload the updated files. If prompted, confirm that you want to overwrite the older versions.
  6. Refresh your website in the browser to see the changes.

You do not need to upload your entire website every time. You can upload only the files you have changed.

Tip: If your browser still displays an older version of your website, try a hard refresh:

  • Windows: Ctrl + F5
  • macOS: Cmd + Shift + R

This forces the browser to reload the files rather than using its cached versions.

Finished!

[edit]

Your website is now online at https://stud.hosted.hr.nl/YOUR_STUDENT_NUMBER. You can share your URL with others, and they will be able to visit your website from any device with an internet connection.