How the Website Works
A website works by storing data on a web server and delivering it to a user's device through the internet when requested via a web browser. The process involves several components working together to display a website correctly.
Steps in Website Functioning
Step 1: User Requests a Website
- The user enters a website URL (e.g., www.example.com) in a web browser like Chrome or Firefox.
- The browser sends a request to the Domain Name System (DNS) to translate the domain name into an IP address (e.g., 192.168.1.1).
Step 2: Server Processes the Request
- The request reaches the web hosting server, where website files (HTML, CSS, JavaScript, images, etc.) are stored.
- The server processes the request and prepares the necessary files.
Step 3: Website is Delivered to the Browser
- The web server sends the files back to the user’s browser over the internet.
- The browser interprets the code (HTML for content, CSS for styling, JavaScript for functionality) and displays the website on the screen.
Step 4: User Interaction with the Website
- Users can navigate through pages, click links, submit forms, or watch videos.
- If the website is dynamic (like Facebook or Gmail), it may fetch new data using a database and update content in real-time.
Qus. 1 : Protocols are
- Agreements on how communication components and DTE's are to communicate
- Logical communication channels for transferring data
- Physical communication channels sued for transferring data
- None of the above
- SLIP
- HTTP
- TCP/IP
- PPP
- CPU
- Router
- Modem
- Hub