# How Does Website Work

# Internet

Collection of Computer that are connected to each other either wired or wireless.

Connected : They can communicate with each other.

So , What is INTERNET ?

What most people think .

Let's get serious

It's complicated , Lets make it simple

# How do they communicate ? (The essence of ip address)

When it is matter of communication , the primary things is to whom do you want to communicate ? It may be phone number for telephone ,address for letter and name for physical communication .

AND they have one things in common , they must be unique.

Because the Internet is a global network of computers . Each computer connected to the Internet must have a unique address. Internet addresses are in the form nnn.nnn.nnn.nnn where nnn must be a number from 0 - 255.

This address is known as an IP address. (IP stands for Internet Protocol)

Every machine on a network has a unique identifier. Just as you would address a letter to send in the mail, computers use the unique identifier to send data to specific computers on a network.

In Microsoft Windows, you can enter

ipconfig
1

in the command prompt app to view your computer's current IP address configuration.

In Linux, you can enter

ifconfig
1

in the command prompt app to view your computer's current IP address configuration.

Visit following website :

  1. facebook.com

  2. 157.240.1.35

# Avoid number (DOMAIN NAME)

These numbers are tough for humans to remember, humans prefer things like 'facebook.com' ‘cnn.com’, ‘netflix.com’ etc. So, our computer translates domain names into IP addresses for us using the Domain Name System. A simple example is to type

nslookup fb.com
1

into a command window on your computer. It will return valid addresses for fb.com’ and look like this.

# Beyond Web Browser

Now we have basic concept of essential component of Internet , let's look how website are retrieve

# Domain Name , Hosting

When setting up your first website it’s not uncommon to get confused between domain name registration and web hosting.

Your domain name is the name of your site or your url (www.name.com) and can be purchased by going to a domain name registrar or free such as .np and .tk .

In order for your website to appear on the Internet, the files need to be uploaded to a server.

Server is a powerful computer , that need to be on line 24 hour

# Let's get whole picture