What do you need to put your web pages on the www?
2009
What do you need to put your web pages on the www?
Answer: D. all of the above — Concept: A page is on the World Wide Web only when a reader anywhere can actually fetch it on demand. That on-demand fetch is a client-server exchange with…
- A.
a connection to internet
- B.
a web browser
- C.
a web server
- D.
all of the above
Attempted by 37 students.
Show answer & explanation
Correct answer: D
Concept: A page is on the World Wide Web only when a reader anywhere can actually fetch it on demand. That on-demand fetch is a client-server exchange with three distinct parts: a serving program that holds the document and answers requests for it, a network path over which the request and the reply travel between networks, and a client program that issues the request and displays what comes back. Asking what you need to put a page on the WWW is therefore asking for the whole chain, not for one link of it.
Application: Trace what happens when a reader anywhere types the page URL.
The page files sit on a web server - a program listening on the host’s HTTP port (80 by default, 443 for HTTPS, or any other port named in the URL) that returns the stored file in an HTTP response whenever a request for that URL arrives.
The host running that server is attached to the internet, so a request originating on any other network can reach it and the response can travel back. Without that link the server can answer only machines on its own local network.
The reader uses a web browser: it resolves the host name through DNS, sends the HTTP request, receives the HTML and displays it. This is the client end of the exchange, and also how the publisher confirms that the page is actually live.
Cross-check: Remove one part at a time and the chain breaks.
If you have only | What still fails |
|---|---|
the serving program | The files are ready to be handed out, but with no network path to the outside world nothing beyond the local network can ask for them. |
the network path | Packets can reach the host, but with no program listening for requests on it there is nothing to hand back. |
the client program | Requests can be issued and pages displayed, but a client never stores or serves the document for others - that is consuming pages, not publishing them. |
Result: The three are complementary parts of one chain rather than alternatives - the internet connection carries the traffic, the web server answers for the page, and the web browser is the client that actually retrieves it. Read strictly, a browser is the reader’s end of the exchange rather than a publishing tool; but the question asks what is needed for web pages to be on the WWW at all, and the official UGC NET 2009 key marks the combined choice - an internet connection, a web server and a web browser, that is "all of the above".