How did Websites work?

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!).

Total
0
Shares
9 comments
  1. Hello, i feel that i saw you visited my website so i
    got here to go back the choose?.I’m attempting to in finding things to
    enhance my web site!I suppose its ok to use some of your ideas!!

  2. hi!,I love your writing very much! share we keep in touch
    extra about your article on AOL? I require a specialist on this house to solve
    my problem. May be that is you! Looking forward to
    look you.

  3. Hmm is anyone else encountering problems with the pictures on this blog loading?

    I’m trying to figure out if its a problem on my end or if it’s the blog.
    Any feedback would be greatly appreciated.

  4. 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.

  5. I have been browsing online more than three hours
    today, yet I never found any interesting article like yours.
    It’s pretty worth enough for me. Personally, if all website owners and bloggers made good content as you did, the net will be much more
    useful than ever before.

  6. After I originally commented I appear to have clicked on the -Notify
    me when new comments are added- checkbox and from now on every time a comment is added I recieve 4 emails with the same comment.
    Perhaps there is an easy method you are able to remove me from that service?
    Thanks a lot!

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
WordPress Shortcodes Tutorial

How to Create Shortcodes & Why They Are Useful: WordPress Shortcode Tutorial

Next Post
most in-demand skills

Top 10 Skills That Be In Demand IN 2022

Related Posts
Total
0
Share