Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Publication Station
Search
Editing
Student-hosting
(section)
From Publication Station
Namespaces
Page
Discussion
More
More
Page actions
Read
Edit
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= Uploading your website to the Student Hosting Server = == Introduction == 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: <pre> https://stud.hosted.hr.nl/YOUR_STUDENT_NUMBER/ </pre> == 1. Download and install FileZilla == First, you need to install FileZilla on your computer. # Go to the [https://filezilla-project.org/ official FileZilla website]. # Download '''FileZilla Client''' (not FileZilla Server). # Install the application using the default settings. # Open FileZilla. FileZilla is available for Windows, macOS and Linux. == 2. Connect to the Student Hosting Server == Open FileZilla. At the top of the window, you will find the Quickconnect bar. This is where you enter the connection details. [[File:quickconnect.png|800px|thumb|center|The Quickconnect bar in FileZilla]] Enter the following information: {| class="wikitable" ! Field !! Value |- | Host || <code>sftp://stud.hosted.hr.nl</code> |- | Username || Your HR student username |- | Password || Your regular HR password |- | Port || <code>22</code> |} 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 == 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 == Your personal server space contains a directory called <code>public.www</code>. '''Important:''' Only files placed inside <code>public.www</code> will be accessible through your website URL. # On the right side of FileZilla, locate the directory called <code>public.www</code>. # Double-click the directory to open it. # 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 <code>public.www</code>. == 5. Prepare your website files == Before uploading, make sure your website is organised correctly on your computer. For example, your project might have the following structure: <pre> my-website/ βββ index.html βββ about.html βββ style.css βββ photo-02.jpg </pre> Your project can have a different structure, but make sure that: * Your homepage is called <code>index.html</code>. * 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, <code>Image.jpg</code> and <code>image.jpg</code> 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 == Now you can transfer your website files to the server. # On the left side of FileZilla, navigate to the folder containing your website. # On the right side, make sure you are inside <code>public.www</code>. # Select all the files and folders belonging to your website. # 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|800px|thumb|center|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 == Once the upload is complete, open your web browser. Go to the following address: <pre> https://stud.hosted.hr.nl/YOUR_STUDENT_NUMBER/ </pre> Replace <code>YOUR_STUDENT_NUMBER</code> with your own student number. If everything worked correctly, you should now see your website. You can also access individual pages directly. For example: <pre> https://stud.hosted.hr.nl/YOUR_STUDENT_NUMBER/about.html </pre> == 8. Update your website == You can continue working on your website locally and upload new versions whenever you make changes. The general workflow is: # Make changes to your HTML or CSS files on your computer. # Save your changes. # Open FileZilla and connect to the server. # Navigate to <code>public.www</code>. # Upload the updated files. If prompted, confirm that you want to overwrite the older versions. # 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: <code>Ctrl + F5</code> * macOS: <code>Cmd + Shift + R</code> This forces the browser to reload the files rather than using its cached versions. == Finished! == 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.
Summary:
Please note that all contributions to Publication Station are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Publication Station:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Main navigation
Main page
Printmaking Studio
Print Studio
Dig. Publishing Studio
Namespaces
Grafiwiki
Random Page
Log in
Wiki tools
Wiki tools
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs