Week 13 · Unit 5: Network devices and websites · 3 lessons
2
Websites and servers
Computing 5: Unit 5, pp. 58–69
GoalSay the difference between a web page and a website, and explain what a server and a URL are.
New words
web page · one page of information that you can view in a browserwebsite · a collection of web pages that belong togetherserver · a computer that stores websites and other data and sends them to other computers when they askURL · the address of a web page; it is made of letters so that people can remember it
Explanation
A web page is one page of information on a screen. A website is a group of web pages that belong together, such as the home page, news page and contact page of a school. For a website to be open to everyone, it must be stored on a computer that is always joined to the internet. This kind of computer is called a server. Every web page has an address called a URL. A URL is made of letters, so that people can remember it. Computers use IP addresses, so a URL has to be changed into an IP address before the page can be found. We type a URL into the address bar of a browser, which is a program for viewing web pages.
Worked examples
Web page
What it shows
home page
a welcome and links to the other pages
animals
pictures and facts about the animals
tickets
opening times and prices
contact
how to ask a question
A zoo’s website is a set of web pages. Each page has its own job, and each page has its own URL.
Part
Example
What it tells us
start
https
the browser talks to the server in a protected way
name
sunny-zoo
which website we want
ending
org
the kind of site, or its country
A URL has parts. We write them separately here. The start tells the browser how to talk to the server. The name is the part that people remember. The ending often shows the kind of organisation or the country.
Where the website is stored
Can people visit it?
on a server that is always on and joined to the internet
yes
on a laptop that is switched off
no
on a computer that is not joined to the internet
no
A website can be visited only if it is stored on a computer that is switched on and joined to the internet.
Class activity
Paper website (4 or more players). Each player makes one web page on a sheet of paper for a make-believe club website: for example ‘home’, ‘games’, ‘news’ and ‘contact’. Write the name of the page at the top. Never write real names, addresses or photographs on a page. Put all the pages in a folder. The folder is the server. A visitor asks for a page by name and the server player hands over a copy. Then take the folder away and try to visit a page. What happens? Why must a real server stay switched on?
Practice
1
Which of these is a web page and which is a website? (a) all the pages of a library’s site, (b) the library’s ‘opening times’ page.
(a) is a website. (b) is a web page.
2
How many web pages are in this website, counting the home page?
6 pages: the home page, tickets, map, shop, cards and books.
3
A friend cannot open the website that you made, because it is kept only on your tablet. Give two reasons why.
A website must be stored on a server that is always switched on and joined to the internet. A tablet may be switched off or not joined to the internet, so nobody else can reach the pages.
4
People use URLs made of letters, but computers use IP addresses made of numbers. Why do we have both?
Letters are easier for people to read and remember. Computers need numbers to find a server, so the URL is changed into an IP address.