Submodule 1.3: WEB Server

Site: ΕΛ/ΛΑΚ Moodle
Course: WEB II - Advanced design course
Book: Submodule 1.3: WEB Server
Printed by: Guest user
Date: Thursday, 26 December 2024, 10:42 PM

Description

  • Internet
  • WEB Server
  • SFTP - Filezilla
  • Upload files to a WEB Server
  • Needed URL to serve from a WEB Server

What is Internet?

Internet is:

a global computer network providing a variety of information and communication facilities, consisting of interconnected networks using standardized communication protocols.

We use the Internet to communicate via email ( SMTP protocol), to visit different sites (HTTP protocol) to upload our files (FTP protocol) etc.

What is WWW?

Key words
  • Web server is a computer that stores files and transfers them to the end-user's device (HTTP protocol).
  • Web browser is a software program that you use to access the internet and view web pages on your computer. This program translates the code that receives from the web server to text, images, audio video, links etc.
  • URL is the global address of documents and resources on the World Wide Web.

1. HTTP Request 2. HTTP Response 3. HTML interpretaion

SFTP Filezilla

The SSH File Transfer Protocol SFTP, also known as the Secure File Transfer Protocol, enables secure file transfer capabilities between networked hosts.

Filezilla is a free FTP solution. Both a client and a server are available. FileZilla is open source software distributed free of charge under the terms of the GNU General Public License.

Upload your files to our Server!

We have the server cnc-wp1.ellak.gr:

Follow the instructions to upload your files:

  1. Open FileZilla
  2. Connect to the URL sftp://cnc.ellak.gr/ via FileZilla
    • hostname: sftp://cnc.ellak.gr/
    • username: sftp_webadmins
    • password: ********** (Ask us to give it)
    • port: 2022
  3. In the panel Remote site, under cnc-wp1.ellak.gr/public
    • create the folder yourNameWEB2 (as in your desktop)
      • In this folder create the sub-folder yourNameWEB2GitTest
  4. In the local site panel find the folder yourNameWEB2GitTest
  5. Drag the files and folders from local folder (NOT THE .git DIRECTORY) and drop these in the subfolder.

Serve your site to the Internet!

You have uploaded your site to a WEB Server!

Thus, Anyone can get access if they have the URL!

To write the URL:

  • start with https://, continue with 
  • cnc-wp1.ellak.gr/ (server -name) and finish 
  • yourNameWEB2/yourNameWEB2GitTest/ (your folders)

Remeber that the WEB serves look for the index.html file to send it to the browsers.

https://cnc-wp1.ellak.gr/yourNameWEB2/yourNameWEB2GitTest/