2.1.7- URLs, DNS and Web Hosting Flashcards
What is a URL?
URLs (Uniform Resource Locators) are unique identifiers for a resource on the internet.
What is the role of the protocol in a URL?
The protocol is a set of rules the browser should use to get resource from the server.
Examples of protocols used to get resources from the server.
HTTP (Hypertext Transfer Protocol) Allows for communications between web browsers and web servers.
HTTPS (Hypertext Transfer Protocol Secure) uses encryption
What is the second section of a URL?
The next section is the domain. Domain is the name of the server hosting the website.
What is the last section of the URL?
The last section is the path. The path is the name of the requested file and specifies where it should be located on the server.
What is DNS?
A domain name service allows for a user to enter a domain name instead of an IP address. The DNS then translates it into an IP address so that the specific domain can be found.
Why use the DNS?
IP addresses are much harder to remember than domain names.
Describe DNS miss.
If a DNS server doesn’t have the IP address associated with that particular domain then it can ask other DNS servers that it knows about.
By continuing to ask other, larger DNS servers, we will eventually find the IP address and send it to the client.
What are websites?
A collection of web pages linked together by hyperlinks. A user can click on a hyperlink to navigate the website.
What are the difficulties of setting up a hosting website?
Security risks Downtime e.g if there is a power cut. Expensive Limited storage space Requires upgrades
What do hosting providers do?
Most people opt for using a hosting company. They will host your website, regularly back up your site and apply security patches for you in return for a monthly fee.
What is a web server?
A web server is a dedicated computer on the internet which responds to HTTP requests by storing, processing and returning web pages.