How did Websites work?

Provides a simple overview of how the web works when viewing a webpage in the web browser on your computer or phone.

This theory does not require you to write web code in the short term, but long before you begin to benefit from an understanding of what is going on in the background.

A website is built using

  • HTML
  • CSS
  • Javascript
  • There are other alternatives of JavaScript Like PHP,Python,etc.
Websites Stored on Server
Websites Stored on Server

Websites Stored on Server

It has a unique address known as IP4/IP6 Address.

When you enter Google.com(Piotechindia.in) on Browser

Google.com is a Domain name

A domain name is resolved by DNS Server

Your Internet connection:

It allows you to send and receive data on the web. This is basically the street between your house and shop.
TCP / IP:

The Transmission Control Protocol and the Internet Protocol are communication protocols that define how data flows over the Internet. It’s like shipping mechanisms that allow you to order, go to the store and buy your goods. In our example, it’s like a car or a bicycle (or anything you’ve ridden around).
DNS:

Domain name servers are like an address book for websites. When you enter a web address in your browser, it looks at the DNS to find the actual website address before you take over the site. The browser needs to know on which server the website is located so that it can send HTTP messages to the correct location (see below). It’s like searching for a store address so you can access it.
HTTP:

Hypertext Transfer Protocol is an application protocol that defines a language in which clients and servers can communicate with each other. It’s like the language you use to order your goods.
Component Files:

The website is made up of many different files, which are like different parts of the goods you buy from the store. These files come in two main types:
Code Files:

Websites are built primarily on HTML, CSS, and JavaScript, but you will find other technologies later.
Assets:

This is the collective name for all other content that makes up a website, such as images, music, videos, word documents, and PDFs.

DNS(Domain Name Server)

Contain Domain=>IP Address Dictionary.

With the IP Address resolved, the browser goes had and makes a request to the server with that IP Address

The server sends the website to the client and the web browser Displays the Website.

So what happens, exactly?

When you enter a web address in your browser (as if you were going to the store for our analogy):

The browser goes to the DNS server and finds the real address of the server where the site is located (find the address of the store).
The browser sends an HTTP request message to the server, asking the client to send a copy of the website (you will go to the store and order the goods). This message and other information sent between the client and the server is sent to your internet connection using TCP / IP.
If the server approves the client’s request, the server sends a “200 OK” message to the client, which of course you can visit that website! Here it is, ”and then begins to send website files to the browser as small pieces of information packages (the store gives you the goods and you bring them home).
The browser collects small pieces on a full website and shows them to you (goods come to your door – great new things, great!).

Share your love

3 Comments

Leave a Reply

Your email address will not be published.

I'm not a robot *Captcha loading...

  1. Attractive section of content. I just stumbled upon your
    website and in accession capital to assert
    that I get actually enjoyed account your blog posts.
    Any way I’ll be subscribing to your augment and even I achievement you access consistently quickly.

Top 5 Freelancing Skills in 2022. Faceless YouTube Channel Ideas for Fast Growth & Money. 12-Point of WordPress Security Checklist.[Updated] Free Social Media Tools for Content Creator.{Instagram 2022} Top 11 Best YouTube Channel Ideas. [Updated 2022]