URLs
Computer Science: OCR GCSE, topic 1.3.16
Uniform Resource Locators (URLs)
A URL is a unique identifier for a resource on the Internet. A URL always follows a specific format.

Protocol
- The first section is the protocol.
- The protocol is the set of rules that the browser should use to get the resource from the server.
- Hypertext Transfer Protocol (HTTP) is a common protocol which is used for sending websites.
- Hypertext Transfer Protocol Secure (HTTPS) is another common protocol:
- HTTPS is also used to send websites.
- HTTPS sends the data using an encrypted connection.

Domain
- The next section is the domain.
- The domain is the name of the server which is hosting the website.

Path
- The path follows the domain.
- The path is the name of the requested file on the server.
- The path specifies where the file should be located on the server.
Test yourself on URLs
What is the purpose of the domain in a URL?
Select the correct part of a URL from each pair.
What happens to data sent by a website if its URL's protocol changes from HTTPS to HTTP?