A Short Primer on How the Web Works We all use this thing called the internet every day, but many of us probably don't understand the mechanics behind it.
By Andrew Medal Edited by Dan Bova
Our biggest sale — Get unlimited access to Entrepreneur.com at an unbeatable price. Use code SAVE50 at checkout.*
Claim Offer*Offer only available to new subscribers
Opinions expressed by Entrepreneur contributors are their own.
It seems like it should be common knowledge, right? I mean, more than 3 billion of us are online every day.
So, how does the web work? Let's use some simple web browsing to break it down.
When you visit a website such as Entrepreneur.com for instance, the web server hosting that site can be anywhere in the world. For you to find the location of the web server, your device's browser will first connect to a Domain Name System, commonly referred to as a DNS server. The DNS acts like a phone book, which tells your device the IP address associated with the requested domain name of the web page you want to visit.
Related: Are You Living in a Digital Bubble? This Flowchart Will Tell You. (Infographic)
The IP address that the DNS returns to your computer allows your browser to contact the web server that hosts the website you requested.
For example, let's say you're in San Francisco, and the Entrepreneur.com site is hosted in New York. The browser in SF contacts the DNS server, which then tells the browser the location of the web server in N.Y. Then, that web server sends that webpage that you requested back to your device through the browser, and voila, you're surfing the net! (Yes, that term is from the late '90s, but it's just so good.)
There you have it. To help clarify, let's break down some terms real quick:
Web server
A web server is a computer that hosts websites. There are companies such as Facebook and Google that have their own web servers, but most companies use a third-party service such as Godaddy, MediaTemple and Cloud9 hosting that charge a service fee to host your site.
Related: Study: Americans Are Ditching Home Internet for Mobile
Domain Name System (DNS)
A network of servers that act as phonebooks. They organize and maintain a list of domains and IP addresses, which computers and machines use to recognize different web pages, computers and users.
IP address
A unique number that identifies each unique computer over a certain network.
Webpage
When viewing a website, your browser will be receiving HTML and CSS from the web server that hosts the site. The web browser translates the HTML and CSS code to create the page that is viewable to an internet user.
Related: The Evolution of New Generic Top-Level Domains
Device
People access the internet all over the world, across a number of devices including laptops, mobile phones, desktops and tablets. Keep in mind, devices range in different dimensions, computing capacity and connection time.
All of that in a blink of an eye. Pretty crazy to think about how fast the internet works. We carry in our pockets computing power, which was only available to the most elite government agencies only 30 years prior. Now you can go ahead and awe your friends while at an ice cream social, book reading or bunco party. Woot.