ICT Foundations
What Happens When You Type a Website Address Into Your Browser?
DNS → HTTPS → web servers → your screen
Follow a URL from the address bar to a visible webpage. Understand every major stage, then investigate real website requests using Chrome DevTools.
From address bar to webpage
Direct answer
What happens after you press Enter?
Your browser interprets the URL, finds the destination using DNS if necessary, opens or reuses a network connection, protects HTTPS communication with TLS, exchanges HTTP requests and responses, and renders the resources into a webpage. Those stages can overlap or be skipped when cached information and existing connections are available. [1] [8]
- URL: which resource?
- DNS: where to connect?
- Network: communicate
- TLS: protect HTTPS
- HTTP: request and respond
Start with the big picture
Six stages between a URL and a webpage
You open Chrome on your phone, enter https://niteducation.com/ and press Enter. It looks like one action. Underneath, different technologies perform different jobs.
Interpret the address
The browser identifies the website, scheme and requested path.
Locate the destination
A resolver supplies network information, such as an IP address, if a lookup is needed.
Connect
The browser establishes or reuses a suitable TCP or QUIC connection.
Secure HTTPS
TLS authenticates the relevant secure endpoint and protects communication.
Request content
A web service handles the request and returns a response or a redirect.
Display the page
HTML, CSS, JavaScript and other resources are processed into the visible interface.
These are responsibilities, not six mandatory fresh operations on every visit. A cached response or reusable connection can change what happens. [1] [4]
Stage 01 · Understand the destination
What is a website address or URL?
A URL (Uniform Resource Locator) identifies a resource and how to access it. Consider https://niteducation.com/resources/.
| Part of the URL | Example | Purpose |
|---|---|---|
| Scheme | https:// | Indicates HTTPS access. |
| Hostname | niteducation.com | Identifies the requested website. |
| Path | /resources/ | Identifies a resource or location within the website. |
On narrow screens, swipe horizontally across the table. A URL can also include a query string beginning with ? and a fragment beginning with #. The fragment is handled by the browser rather than sent as the HTTP request target.
Is the domain the same as the full URL?
No. niteducation.com is a domain name. A full URL also indicates how the resource should be accessed and which page or resource is requested.
What if you type only the domain name?
Modern browsers commonly attempt HTTPS if you enter a domain without its scheme. They may also interpret ordinary words in the address bar as a search query. Before requesting a page, the browser checks whether cached information or an existing connection is available.
Stage 02 · Find a destination
How does DNS find a website?
People remember names such as niteducation.com. Networks use IP addresses to route packets. The Domain Name System (DNS) helps translate hostnames into useful records, including IPv4 and IPv6 addresses. [2]
What is an IP address?
An IP address is a numerical network address. For illustration, an IPv4 address might look like 192.0.2.25 and an IPv6 address like 2001:db8::25. These are reserved documentation examples—not verified NIT addresses.
A hostname can have several addresses. A DNS answer may direct a visitor to a CDN or load balancer rather than to the website’s original hosting computer.
Check saved information
The browser or operating system may already have a usable DNS result.
Ask a resolver
If needed, the device queries its configured DNS resolver.
Find the record
The resolver answers from cache or consults the DNS hierarchy and authoritative servers.
Continue navigation
The browser uses the returned information to communicate with a suitable destination.
Does DNS send the webpage itself?
No. DNS helps answer where to reach a destination. The HTML, images, scripts and stylesheets are obtained separately through web requests.
A useful analogy
Finding a teacher’s office by their name is like resolving a domain name. Reception helps you find a location; reception does not hand you every document kept in that office. Likewise, DNS is not the server that delivers the whole page.
Stage 03 · Move data
How does your device connect to the website?
On Wi-Fi, your device ordinarily communicates through a local network and an internet connection. On mobile data, it communicates through the mobile network. Routers forward packets across interconnected networks towards the destination.
What is TCP?
TCP provides reliable, ordered data delivery between applications. A new TCP connection normally begins with a three-way handshake, often summarised as SYN → SYN-ACK → ACK.
Does every HTTPS website use TCP?
No. HTTP/1.1 and HTTP/2 typically use TCP, while HTTP/3 uses QUIC over UDP. Browsers may also reuse connections instead of establishing a new connection for every resource. [4]
Can multiple websites share an IP address?
Yes. Multiple website hostnames can share the same address. The requested hostname matters during secure connection establishment and web-service request processing.
What “the server” really means
A browser might communicate with a CDN, reverse proxy or load balancer first. The website can involve several services even though you see one URL.
Stage 04 · Protect the visit
What happens when the browser uses HTTPS?
HTTPS is HTTP protected using Transport Layer Security (TLS). TLS helps secure communication with the HTTPS endpoint. [5]
| Protection | What it helps achieve |
|---|---|
| Encryption | Prevents unauthorised observers on the network path from readily reading protected communication. |
| Integrity | Helps detect unauthorised changes in protected messages. |
| Authentication | Helps the browser verify that the endpoint is authorised to represent the requested hostname. |
On narrow screens, swipe horizontally to read every column.
During a new secure connection, certificate verification and TLS negotiation establish the relevant protection. HTTP/3 integrates TLS with the QUIC connection procedure, so not every secure session follows the same underlying transport sequence.
Does HTTPS mean the website is honest?
No. HTTPS protects communication; it does not guarantee that the website operator is trustworthy. A misleading or fraudulent domain can still have a valid certificate. Always check the exact hostname before entering passwords or payment information, and do not bypass a certificate warning just to open a page.
Does HTTPS hide all browsing information?
No. Depending on DNS and network configuration, observers may still learn information about the destination. HTTPS is essential protection, not complete anonymity.
Stage 05 · Request the resource
What does the browser ask a web server to do?
HTTP defines how a client such as a browser and a web service exchange requests and responses. When you navigate to https://niteducation.com/resources/, the browser may make a GET request for the path /resources/. Actual request representation depends on the HTTP version. [3]
What happens on the server?
The server may return an existing HTML document, generate content using application code, retrieve permitted database information, or use cached material. Not every request needs a database or a separate API call.
What does the HTTP status mean?
| Response | What it generally means |
|---|---|
| 200 OK | The HTTP request succeeded. |
| 301 Moved Permanently | The resource has a new permanent address. |
| 302 Found | A temporary redirect is indicated. |
| 304 Not Modified | A cached representation can be reused after validation. |
| 403 Forbidden | The server refuses to fulfil the request. |
| 404 Not Found | The requested resource was not found. |
| 500 Internal Server Error | The server encountered a problem. |
| 502 Bad Gateway | A gateway received an invalid upstream response. |
On narrow screens, swipe horizontally across the table. A redirect is not necessarily an error. A successful 200 response also does not prove that every image, script or interactive feature works.
Does an HTTP 200 response prove the entire site works?
No. The main document might return 200 while a stylesheet returns 404 or a button fails because of a JavaScript error. Document delivery, resource loading and application behaviour must be checked separately.
Stage 06 · Build the screen
How does a browser turn files into a webpage?
The browser interprets the HTML document and other resources to build the visible interface. This is called rendering. [8]
HTML
Describes headings, paragraphs, links, tables, forms and other document content.
CSS
Controls typography, colours, spacing, layouts and responsive presentation.
JavaScript
Can handle interactions, change the document and request additional information.
DOM + layout + paint
The browser parses document structure, applies styling, calculates layout and paints visible elements.
Rendering and resource loading can overlap. A heading may appear before a large image finishes downloading. Some pages can display useful content without JavaScript; others require it for important interactions.
A visible page is not always a complete page
A successful HTML request does not guarantee that CSS, images, scripts or forms have worked correctly. The browser may display content while other requests fail.
Put the pieces together
Follow one NIT website visit from start to finish
Amina enters https://niteducation.com/resources/ in her laptop browser. The browser interprets the URL and uses existing destination information or a DNS lookup. It opens or reuses a connection, applies HTTPS protection, and requests the resource.
A server-side service returns a response, which might include HTML or an instruction to follow another address. The browser processes HTML, CSS, JavaScript and other resources. Once enough information is available, it displays the page. Additional downloads or scripts may continue afterwards.
Four useful diagnostic questions
Where? DNS and destination information. How? Networking and secure transport. What came back? HTTP requests and responses. Did it work? Resource loading, rendering and interaction.
When you revisit a website
Why can the second visit behave differently?
Browsers can reuse previously downloaded images, stylesheets and other resources subject to their cache rules. DNS results and network connections may also be reused.
When a cached HTTP response needs checking, the server may return 304 Not Modified to indicate that the saved representation can still be used. This is a normal cache-validation response, not a failed page. [6]
A repeated visit is not guaranteed to be faster. Website changes, network conditions, browser work and caching rules all matter.
Avoid a common misconception
Refreshing a webpage does not necessarily repeat DNS resolution, a new TCP connection and a new TLS handshake. Caching and connection reuse change the observed sequence.
Hands-on · Chrome DevTools
Practical lab: investigate a real page load
Use Chrome on a laptop or desktop and an informational webpage such as https://niteducation.com/. The Network panel lets you inspect HTTP requests, responses, initiators, timing and caching evidence. [7]
Open the Network panel
Open Chrome, visit the webpage, press Ctrl + Shift + I (Windows/Linux) or Command + Option + I (Mac), and select Network.
Capture the requests
Make sure recording is enabled. Reload the webpage with Network open. Use Preserve log if you want to keep redirect requests.
Inspect the document
Select the main Doc request. In Headers, record the Request URL, method, status code and any relevant content type.
Inspect resources
Use CSS, JS and Img filters, where available. Find one stylesheet or image and inspect its URL, status and Initiator information.
Check protocol and timing
Enable the Protocol column where available. The protocol may show http/1.1, h2 or h3. Inspect a request’s Timing tab.
Compare caching
Reload normally, then enable Disable cache in the Network panel and reload again. Compare transfer sizes and cache indicators.
Optional experiment: slow and offline conditions
Use the Network panel’s throttling controls to simulate a slower network and watch when text, images and other resources appear. An offline simulation may stop fresh requests, although an app with suitable saved content or service-worker behaviour can respond differently. Restore normal network settings after testing.
Record your evidence
| Observation | Your result | What the observation can tell you |
|---|---|---|
| Main document URL | ________ | Which resource was requested. |
| Main response status | ________ | How the HTTP request was answered. |
| Protocol, if reported | ________ | Which HTTP protocol the browser used. |
| One CSS or image request | ________ | How one page can involve several requests. |
| Request initiator, if available | ________ | What caused that request. |
| Cache comparison | ________ | Whether browser cache use changed the observed transfers. |
| Timing detail | ________ | A reported phase in the request lifetime. |
| One unproven assumption | ________ | A claim the Network panel alone cannot establish. |
On narrow screens, swipe horizontally across the table. Only record values you actually observe. Request logs can include cookies, tokens and sensitive URLs; do not share them unredacted.
What can this exercise actually prove?
It lets you observe requests, response codes, caching indicators and available timing. It does not show the entire DNS hierarchy, every router along the path, or all underlying TLS messages. A missing timing phase can reflect connection reuse or tool limitations rather than an absence of networking.
What if you only have a phone?
You can still inspect the URL and HTTPS scheme and observe how content appears. The standard desktop Chrome DevTools Network panel is not directly available as an ordinary built-in panel in Chrome for Android. A desktop computer or configured remote debugging setup is best for this lab.
Apply what you learned
When a website fails: investigate the right stage
Instead of assuming every loading problem is caused by the internet connection, ask which stage produced the first useful evidence.
| Symptom | Likely area to investigate | Useful first check |
|---|---|---|
| No websites load | Device or internet connection | Verify Wi-Fi/mobile data and whether any other page opens. |
| The hostname cannot be resolved | Domain name or DNS | Recheck the spelling and any DNS error. |
| The connection times out | Network path or destination service | Try another site and check whether the service is responding. |
| Certificate warning | TLS certificate or validation | Verify domain and device clock; do not bypass the warning. |
| 404 Not Found | Requested resource/path | Check the path or navigate from the homepage. |
| 500 or 502 | Server or upstream service | Retry later or report the exact response. |
| Text appears without styling | CSS resource or stylesheet application | Inspect CSS requests and associated errors. |
| Images missing | Individual image resources | Inspect image URLs and request statuses. |
| Button does nothing | JavaScript or application logic | Inspect the Console and requests triggered by the action. |
On narrow screens, swipe horizontally across the table. These are diagnostic clues, not definitive diagnoses. Similar symptoms may have different causes.
Case study: the heading loads, but the image is absent
If the HTML document loaded successfully but the image request returned 404, that is evidence about the image resource—not proof that DNS failed.
Case study: a certificate warning appears
The browser may stop before ordinary protected HTTP communication. This is different from receiving an HTTP 404 response. Check the hostname and follow the browser’s safety guidance.
Case study: the homepage looks right but buttons fail
The document and styling may be present while JavaScript or an application request is malfunctioning. A 200 response for the HTML does not establish that the interface works.
Think like a technician
Three short evidence challenges
One page, mixed results
The HTML is 200, but a stylesheet is 404. The correct conclusion is that the document succeeded while a styling resource failed.
Two requests, one page
The first request returns 301, then another returns 200. The redirect may be a normal step rather than an outage.
A cached second visit
A stylesheet loads from cache the second time. That does not prove the website moved or that networking stopped working.
Practise the sequence observe → identify evidence → explain what it supports → avoid unsupported conclusions. It is a useful habit in web development, technical support and cybersecurity.
Further questions
Frequently asked questions
Can a website open without a fresh DNS lookup?
Yes. The browser or operating system may already have usable DNS information, an existing connection or a cached resource.
Does one webpage always contact one server?
No. A webpage may request content from several hosts, including CDNs or third-party services.
What is the difference between a DNS error and 404 Not Found?
DNS failure can prevent hostname resolution. A 404 is an HTTP response from a server indicating that the requested resource was not found.
Does HTTPS guarantee that a website is legitimate?
No. HTTPS protects communication; it does not guarantee that the operator or content is trustworthy.
Can a website display content without JavaScript?
Yes. HTML and CSS can display content without JavaScript, although some applications require JavaScript for key functionality.
Does the Network panel show every packet?
No. It primarily presents browser-level network requests and available timings, not a complete packet capture.
Why might a page work while offline?
Some web applications can use previously saved resources or service workers. A normal page that requires a fresh request may not work offline.
Keep learning
How this helps you study web development and cybersecurity
Once you understand how a browser loads a page, you can connect several technical subjects. Frontend development explains how HTML, CSS and JavaScript build interfaces. Backend development explains request handling. Cybersecurity examines network traffic, authentication and encryption. Cloud engineering focuses on servers, DNS and supporting infrastructure.
HTML, CSS and JavaScript
Explore how webpage structure, presentation and behaviour work together.
APIs and web development
Learn how frontend and backend applications exchange information.
Build your first web app
Cybersecurity projects
The central idea to remember
DNS helps locate the destination; networking carries communication; TLS protects HTTPS; HTTP exchanges resources; and the browser renders them into the visible page. When something fails, inspect evidence at the correct stage.
Learn by building
Study Practical ICT at Newton Institute of Technology
Understanding how the web works is a foundation for building and securing applications. Explore NIT training pathways in Full-Stack Software Development and Cybersecurity and develop your skills through structured learning and projects.
FoundationWebsite and networking concepts
Progress toFull-Stack Development
ExploreCybersecurity and practical ICT
Sources and further reading
- MDN Web Docs. How the Web Works.
- IETF. RFC 1034: Domain Names — Concepts and Facilities (1987).
- IETF. RFC 9110: HTTP Semantics (2022).
- IETF. RFC 9114: HTTP/3 (2022).
- IETF. RFC 8446: TLS Protocol Version 1.3 (2018).
- IETF. RFC 9111: HTTP Caching (2022).
- Chrome for Developers. Network Features Reference.
- MDN Web Docs. Populating the Page: How Browsers Work.
Reviewed: 13 November 2026 · Newton Institute of Technology Editorial Team.