









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of the basic components and protocols that make up a website. It covers topics such as domain names, web hosting, static vs. Dynamic websites, and the different protocols used for web communication (http, https, ftp). The structure and purpose of each component, as well as how they work together to create a functional website. It also delves into the technical details of how these protocols operate, including the request-response process, status codes, headers, and data transmission. This information would be useful for students studying web development, computer networking, or internet technologies, as it provides a solid foundation for understanding the underlying infrastructure of the web.
Typology: Study notes
1 / 15
This page cannot be seen from the preview
Don't miss anything!










1. Website là gì (1 slide) Website is a collection of web pages including text, images, videos, flash, etc., usually located in only one domain name or subdomain on the World Wide Web of the Internet.. The website is hosted (web hosting) on a web server accessible through the Internet. A web page is an HTML or XHTML file that can be accessed using the HTTP or HTTPS protocol. Websites can be built from HTML files (static websites) or operated by CMSs running on servers (dynamic websites). Websites can be built in many different programming languages (PHP, .NET, Java, Ruby on Rails...) 2. Các thành phần cơ bản của website (domain name, hosting, source code) 3 slide trình bày rõ từng thành phần Domain name The address of a website (also known as a domain) is the text that users enter into browsers on the Internet to access your website. Each website needs a separate website address, this address is like a private home address, clear, easy to remember and especially it must not be duplicated with other website addresses. In technical terms, the website's address is known as the domain name. Before the website goes live, you need an address (domain name) and hosting (can be seen as the “land” on which your website's home is located). If there is no address or do not know the address of a website, customers or visitors cannot access your website. Thus, it can be said that the address of the website is a tool that leads customers and visitors to your website. Besides, when you have your own website address, it means you can use a lot of email addresses on your domain name and design it better.
This not only makes your company activities more professional, but also makes customers appreciate the prestige and quality of the business. hosting Hosting (or web hosting) is an online service that helps you publish your website or web application to the Internet. When you sign up for a hosting service, you rent a place on the server that contains all the files and data needed for your website to run. A server is a physical computer that runs without interruption so that your website can be up and running at all times for everyone to access. Your Web Hosting provider is responsible for keeping the server up and running, resisting malicious attacks, and transferring content (text, images, files) from the server to the user's browser. Source code
The Source Code Website is a system of one or more files written in the Website programming language. They help to connect the UI elements of the Website with the database. The ultimate goal of the code is to create a complete web page. Websites today are likened to the face of a company or organisation on the Internet. Website was born to reach and increase interaction with customers that the company wants to target. In order to serve the needs (view news, read company profile, ..) customers they access the Website. They perform a lot of operations, corresponding to many different statements. The source code is the skeleton for all these operations. From simple actions such as dragging, dragging, double-clicking, to complex actions like adding items to cart, filling out forms, downloading ebooks, searching documents, etc.
3. Website tĩnh (Static website ) và Website động (Dynamic website) (1-2 slide) Static website Static web is another way of calling first version websites. This is a website purely using the HTML programming language. It is responsible for publishing information like a newspaper. After downloading the HTML page from the server, the browser will assist in compiling the code and displaying the content of the web page. And now users can hardly interact with the website. Can't chat, communicate with it. The content of the Static Website has been determined from the outset. If you want to change or add content, the manager must redo the mould so that new newspapers can be printed. Dynamic website Dynamic website is a term used to refer to web pages powered by a web-based software. Strictly speaking, this is a program that runs with the http:// protocol. It can be viewed as a collection of digitised data organised into a database and presented on web pages in the form of text, audio, and images. Dynamic website is integrated with information processing and data retrieval parts. With this application program, website owners have the right to manage and operate, edit and update information on the website conveniently. No need to rely on any professional programmers. Furthermore, with application programs, buyers have the right to exchange information with website owners and other buyers. It can be said that dynamic web was a great success in the industry of website design services, at that time it was also known as a web application with many luxurious features that were constantly growing.
For institutions, educational institutions in different countries will use the .edu domain name with a corresponding different country domain name. Example 1 in Vietnam would be ".edu.vn". -(.org) This domain name is often used for government agencies and non-profit organisations, commercial affiliations,... The .org domain name is often chosen by Internet service providers, website companies, and other organisations directly related to the Internet infrastructure.
https:// The protocol, also known as the scheme, is the first part of a URL. It represents the sets of rules that decide how files are displayed, formatted, or transferred across the web. https://video.google.co.uk The subdomain. The most common subdomain is ‘www’ which a general symbol for any resource on the web. However, it is common to specify the type of resource that the browser should deliver. In the case of the URL above, we can see that the type of data that is being requested from the server is a for videos. https://video. google .co.uk The domain name is the actual name of the website. The ‘medium’ in ‘medium.com’ or ‘google’ in ‘google.com’. Domain names must be unique as they literally determine the address of a website. In the early days of the web, you actually had to type the IP address to go to a particular site. Later on, words were used instead as they were easier to remember.
The path used to show which directory on server stores the resources (files, videos, audio, etc.) that are being requested. Nowadays, the path that appears in most URLs these days don’t forcibly reflect the directory structure on the server. Instead, paths are used to identify a route in the navigational structure of the website. For example, when you edit a page on Medium, the path structure is https://medium.com/p/some_number/edit. The term ‘edit’ in the URL indicates that this is the page where you edit your blogs. In the URL above, the path has something to do with playing a video, hence ‘videoplay’. ● https://video.google.co.uk:80/videoplay? The query. Many times when searching on a website or search engine, you’ll see a question mark in the URL of the page that display your results. On google.com, if you search for keyword, you’ll see a ‘/search?’ added after the ‘.com’. The question mark tell the browser that a query is being performed against a database where the data is stored. ● https://video.google.co.uk:80/videoplay? docid = -7234293487129834 & hl = e n The parameters are the actual values being queried when a search is performed. The parameter can be search term, a number, an encrypted value or any other data that
can be found on the database. Copy and paste the following address to your browser’s address bar to see shoes:https://www.amazon.com/s?k= shoes ● https://video.google.co.uk:80/videoplay?docid=-7234293487129834&hl=en # 00h02m30s Finally, the fragment , is an optional component of a web address that is preceded by a hash and that directs to a secondary resources, which can a portion of a page like a footer or sidebar. Often times, the fragment will be an id attribute of an HTML element.
○ 4xx Client Error ○ 5xx Server Error The “xx” refers to different numbers between 00 and 99. ● HTTP response headers: Much like an HTTP request, an HTTP response comes with headers that convey important information such as the language and format of the data being sent in the response body. ● optional HTTP body: Successful HTTP responses to ‘GET’ requests generally have a body which contains the requested information. In most web requests, this is HTML data which a web browser will translate into a web page. Hypertext transfer protocol secure (HTTPS) is the secure version of HTTP, which is the primary protocol used to send data between a web browser and a website. HTTPS is encrypted in order to increase security of data transfer. This is particularly important when users transmit sensitive data, such as by logging into a bank account, email service, or health insurance provider. Any website, especially those that require login credentials, should use HTTPS. In modern web browsers such as Chrome, websites that do not use HTTPS are marked differently than those that are. Look for a green padlock in the URL bar to signify the webpage is secure. Web browsers take HTTPS seriously; Google Chrome and other browsers flag all non-HTTPS websites as not secure. HTTPS uses an encryption protocol to encrypt communications. The protocol is called Transport Layer Security (TLS), although formerly it was known as Secure Sockets Layer (SSL). This protocol secures communications by using what’s known as an asymmetric public key infrastructure. This type of security system uses two different keys to encrypt communications between two parties: ● The private key - this key is controlled by the owner of a website and it’s kept, as the reader may have speculated, private. This key lives on a web server and is used to decrypt information encrypted by the public key. ● The public key - this key is available to everyone who wants to interact with the server in a way that’s secure. Information that’s encrypted by the public key can only be decrypted by the private key. HTTPS prevents websites from having their information broadcast in a way that’s easily viewed by anyone snooping on the network. When information is sent over regular HTTP, the information is broken into packets of data that can be easily “sniffed” using free software. This makes communication over the an unsecure medium, such as public Wi-Fi, highly vulnerable to interception. In fact, all communications that occur over HTTP occur in plain text, making them highly accessible to anyone with the correct tools, and vulnerable to on-path attacks.
FTP sessions work in active or passive modes: ● Active mode. After a client initiates a session via a command channel request, the server creates a data connection back to the client and begins transferring data. ● Passive mode. The server uses the command channel to send the client the information it needs to open a data channel. Because passive mode has the client initiating all connections, it works well across firewalls and network address translation gateways. Why is FTP important and what is it used for? FTP is a standard network protocol that can enable expansive file transfer capabilities across IP networks. Without FTP, file and data transfer can be managed with other mechanisms -- such as email or an HTTP web service -- but those other options lack the clarity of focus, precision and control that FTP enables. FTP is used for file transfers between one system and another, and it has several common use cases, including the following: ● Backup. FTP can be used by backup services or individual users to backup data from one location to a secured backup server running FTP services. ● Replication. Similar to backup, replication involves duplication of data from one system to another but takes a more comprehensive approach to provide higher availability and resilience. FTP can also be used to facilitate this. ● Access and data loading. FTP is also commonly used to access shared web hosting and cloud services as a mechanism to load data onto a remote system.
FTP types There are several different ways an FTP server and client software can conduct a file transfer using FTP: ● Anonymous FTP. This is the most basic form of FTP. It provides support for data transfers without encrypting data or using a username and password. It's most commonly used for download of material that is allowed for unrestricted distribution. It works on port ● Password-protected FTP. This is also a basic FTP service, but it requires the use of a username and password, though the service might not be encrypted or secure. It also works on port 21. ● FTP Secure (FTPS). Sometimes referred to as FTP Secure Sockets Layer (FTP-SSL), this approach enables implicit Transport Layer Security (TLS) as soon as an FTP connection is established. FTPS was initially used to help enable a more secure form of FTP data transfer. It typically defaults to using port 990. ● FTP over explicit SSL/TLS (FTPES). This approach enables explicit TLS support by upgrading an FTP connection over port 21 to an encrypted connection. This is a commonly used approach by web and file sharing services to enable secure file transfers. ● Secure FTP (SFTP). This is technically not an FTP protocol, but it functions similarly. Rather, SFTP is a subset of the Secure Shell (SSH) protocol that runs over port