Afrikaans
Akan
Albanian
Amharic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Hey, guys, It's Angela from the App Brewery.
And in this lesson, we're going to deep dive into how exactly does the Internet work?
So what exactly is the Internet?
A lot of people think it's a cloud, something that's hanging around in the sky.
It's super complex, super difficult to understand, but actually, that's not it at all.
The Internet is pretty simple.
All it is is just a long piece of wire.
And wire connects different computers to each other.
So you might have one computer that's in London and another one that's in Seattle, and they can talk
to each other and transfer data through this giant wire.
Now, some of these computers attached the Internet have a very special job.
They have to be online 24 seven, ready to serve you all the data and files that you are requesting
when you try to access a website.
And these are called servers.
And what they do is they serve you all the data and files you need to be able to access and interact
with certain websites.
So these computers are called servers, and any computer that a user would use to access the Internet
is called a client.
Now, you can imagine a web server as a giant library that's open 24 seven, and you can go in there
at any hour of the day and say, I want to see Google's home page or I want to see the latest posts
on TechCrunch and would be able to serve you with all the files and data you would need to be able to
view whatever website you want.
Now, as you can imagine, if there's a library that's big enough to house all of these websites, then
it's going to be pretty difficult to quickly locate the thing that you want out of this giant library.
Right.
So how is this problem solved on the Internet?
Well, let's say that you're sitting at home on your computer and you type in Google.com because you
want to head over to the main Google home page.
Well, what happens behind the scenes is that your browser will send that message to your ISP or your
Internet service provider.
So these are the people who you pay to be able to access the Internet.
If you live in the US, that will be AT&T or Comcast.
And if you're in the UK, that would be something like BT or TalkTalk.
Now the message that you're sending the ISP is I want to see Google.com and the ISP will then relay
that message to something called a DNS server, which stands for a domain name system server.
And a DNS server is essentially just a souped up phone book.
And what happens when you make that request through your browser is the DNS server will look up in its
database to find the exact IP address of that website that you're trying to access.
And every single computer that's connected to the Internet has an IP address.
It's kind of like a postal code for your computer so that when people need to send and receive files
on the Internet, each computer can be located and contacted using their unique IP address.
And once the DNS server finds that IP address, it will send it back to your browser through the ISP,
over the internet.
Then you can make a direct request to that address.
And what lives at that IP address is, of course the Google servers, and they'll be able to send you
back all the files and data you need to be able to view the Google home page.
Now you can try this for yourself to look up the IP address of the Google home page, head over to this
website and look up IO and type in Google.com and they should show you the exact IP address of the Google
servers that you can access.
So if you copy it and paste it into a new tab, then you'll be able to replicate that process and see
the Google home page show up.
So to summarize, the Internet is just a bunch of wires that connects up different computers, but it's
just on a much bigger scale connecting up all the computers in the world.
But what about the oceans?
I hear you ask.
Well, that's one of the coolest things.
There are these massive undersea cables connecting all the continents on Earth.
And if you head over to submarine cable map dot com, you can see all of these cables and see the ones
that connect you up to the Internet.
And these undersea cables are massive, consisting of hundreds of fiber optic fibers, each of them
using lasers to transmit up to 400 gigabytes of data per second.
This is a cross section of one of the cables that runs in New Zealand.
It's an absolute marvel of modern technology, and it looks really beautiful, don't you think?
And to think that every single time we load up a web page or click on a button on a website, behind
the scenes was sending signals that navigates all of this crazy underwater and above water wires.
And all I need is just an IP address.
And through tiny electric signals, traveling at the speed of light through the oceans and halfway around
the world.
In a matter of milliseconds, I get to view my favorite websites, and that is how awesome the Internet
is.
And we're going to be taking it to build our own websites and web apps.
And to be able to do that, we first have to understand how exactly do websites work.
So for all of that and more, I'll see you on the next lesson.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.