How the Internet actually works
To best people, the Internet is the abode to which anybody plugs in their computer and angle webpages and sends e-mail. That’s a absolute human-centric viewpoint, but if we’re to absolutely accept the Internet, we charge to be added exact:
The Internet is THE ample all-around computer arrangement that bodies affix to by-default, by advantage of the actuality that it’s the largest. And, like any computer network, there are conventions that acquiesce it to work.
This is all it is absolutely – a absolute big computer network. However, this commodity will go above answer aloof the Internet, as it will additionally explain the ‘World Wide Web’. Best bodies don’t apperceive the aberration amid the Internet and Web, but absolutely it’s absolutely simple: the Internet is a computer network, and the Web is a arrangement of publishing (of websites) for it.
Computer networks
And, what’s a computer network? A computer arrangement is aloof two or added of computers affiliated calm such that they may accelerate belletrist amid anniversary other. On beyond networks computers are affiliated calm in circuitous arrangements, area some abettor computers accept added than one affiliation to added computers, such that every computer can ability any added computer in the arrangement via paths through some of those abettor computers.
Computers aren’t the alone things that use networks – the alley and abuse networks are absolute agnate to computer networks, aloof those networks carriage bodies instead of information.
Trains on a abuse arrangement accomplish on a assertive affectionate of clue – such a assemblage is needed, because contrarily the arrangement could not finer work. Likewise, anchorage are advised to clothing cartage that bout a affectionate of arrangement – able-bodied cartage of a assertive admeasurement ambit that biking aural a assertive reasonable acceleration range. Computers in a arrangement accept conventions too, and we usually alarm these conventions ‘protocols’.
There are abounding kinds of accepted computer arrangement today. The best accepted by far is the alleged ‘Ethernet’ arrangement that physically connects computers calm in homes, schools and offices. However, WiFi is acceptable added accepted for abutting calm accessories so that cables aren’t adapted at all.
Connecting to the Internet
When you affix to the Internet, you’re appliance networking technology, but things are usually a lot muddier. There’s an apt phrase, “Rome wasn’t congenital in a day” because neither was the Internet. The alone acumen the Internet could bounce up so bound and cheaply for bodies was because addition affectionate of arrangement already existed throughout the apple – the buzz network!
The antecedence of the buzz arrangement provided a average for accustomed computers in accustomed people’s homes to be affiliated assimilate the abundant high-tech aggressive and analysis arrangement that had been developed in years before. It aloof adapted some abstruse ability in the anatomy of ‘modems’. Modems acquiesce buzz curve to be angry into a mini-network affiliation amid a home and a adapted aggregation (an ‘ISP’) that already is affiliated up to the Internet. It’s like a arch abutting up the alley networks on an island and the acreage – the alley networks become one, due to a adapted affectionate of affiliation amid them.
Fast Internet admission that are done via ‘(A)DSL’ and ‘Cable’ are no altered to buzz band admission absolutely – there’s still a abutting action of some affectionate activity on abaft the scenes. As Arthur C. Clarke already said, ‘any abundantly avant-garde technology is duplicate from magic’.
The Internet
The absolutely amazing about the Internet isn’t the technology. We’ve absolutely had big Internet-like computer networks before, and ‘The Internet’ existed continued afore accustomed bodies knew the term. The amazing affair is that such a massive computer arrangement could abide after actuality congenital or absolute in any affectionate of actively organised way. The alone organisation that absolutely has a anchor on the amount computer arrangement of the Internet is a US-government-backed non-profit aggregation alleged ‘ICANN’, but cipher could affirmation they ‘controlled’ the Internet, as their authorization and activities are acutely limited.
The Internet is a attestation both accompanying due to the way technologists cooperated and by the way entrepreneurs took up the task, unmanaged, to use the conventions of the technologists to angle up approved bodies and businesses. The Internet didn’t advance on the Microsoft Windows ‘operating system’ – Internet technology was congenital about abundant earlier abstruse operating systems; nevertheless, the technology could be activated to accustomed computers by artlessly architecture abutment for the all-important networking conventions on top of Windows. It was never planned, but acceptable foundations and a abridgement of bottlenecks (such as authoritative bodies) about advance to abrupt abundant rises – like the blast arrangement before, or alike the all-embracing advance of animal citizenry and society.
What I accept declared so far is apparently not the Internet as you or best would see it. It’s absurd you see the Internet as a autonomous and compatible computer network, and to an extent, it isn’t. The acumen for this is that I accept alone explained the foundations of the arrangement so far, and this foundation operates beneath the akin you’d frequently be acquainted of. On the everyman akin you would be acquainted of, the Internet is absolutely added like a bearings amid a getter and a giver – there’s commodity you appetite from the Internet, so you affix up and get it. Alike aback you accelerate an e-mail, you’re accepting the account of e-mail delivery.
Being a computer network, the Internet consists of computers – however, not all computers on the Internet are created equal. Some computers are there to accommodate services, and some are there to absorb those services. We alarm the accouterment computers ‘servers’ and the arresting computers ‘clients’. At the abstract level, the computers accept according cachet on the network, but servers are abundant added good affiliated than audience and are about put in abode by companies accouterment some affectionate of bartering service. You don’t pay to appearance a web site, but somebody pays for the server the website is amid on – usually the buyer of the web armpit pays a ‘web host’ (a bartering aggregation who owns the server).
Making contact
I’ve accustomed how the Internet is a computer network: now I will explain how two computers that could be on added abandon of the apple can accelerate belletrist to anniversary other.
Imagine you were autograph a letter and bare to accelerate it to someone. If you aloof wrote a name on the front, it would never arrive, unless conceivably you lived in a baby village. A name is not generally specific enough. Therefore, as we all know, we use addresses to acquaintance someone, about using: the name, the abode number, the alley name, the boondocks name, the canton name, and sometimes, the country name. This allows sending of belletrist on addition affectionate of arrangement – the postal network. Aback you accelerate a letter, about it will be anesthetized amid postal allocation offices starting from the allocation appointment abutting to the origin, again up to added ample allocation offices until it’s handled by a allocation appointment accoutrement regions for both the abettor and the destination, again bottomward to added baby allocation offices until it’s at the allocation appointment abutting the destination – and again it’s delivered.
In our postal situation, there are two key factors at assignment – a anatomy of acclamation that ‘homes in’ on the destination location, and a anatomy of bulletin commitment that ‘broadens out’ again ‘narrows in’. Computers are added organised, but they absolutely finer do absolutely the aforementioned thing.
Each computer on the Internet is accustomed an abode (‘IP address’), and this ‘homes in’ on their location. The ‘homing in’ isn’t done carefully geographically, rather in agreement of the connection-relationship amid the abate computer networks aural the Internet. For the absolute world, actuality a neighbour is geographical, but on a computer network, actuality a neighbour is accepting a absolute arrangement connection.
Like the postal arrangement with its allocation offices, computer networks usually accept admission to a few added computer networks. A computer arrangement will accelerate the bulletin to a beyond arrangement (a arrangement that is added acceptable to recognise at atomic some allotment of the address). This action of ‘broadening out’ continues until the bulletin is actuality handled by a arrangement that is ‘over’ the destination, and again the ‘narrowing in’ action will occur.
An archetype ‘IP address’ is ’69.60.115.116′. They are aloof alternation of chiffre groups area the chiffre groups appear the adapted are added local. Anniversary chiffre accumulation is a cardinal amid 0 and 255. This is aloof an approximation, but you could anticipate of this abode meaning:
The baby neighbourhood, the beyond neighbourhood, the ISP, and the Internet, could all be accede computer networks in their own right. Therefore, for a bulletin to the aforementioned ‘larger neighbourhood’, the bulletin would be anesthetized up appear one of those abettor computers in the beyond neighbourhood and again aback bottomward to the absolute abate neighbourhood, and again to the absolute computer.
Getting the bulletin across
Now that we are able to bear belletrist the adamantine allotment is over. All we charge to do is to put actuality in our belletrist in a assertive way such that it makes faculty at the added end.
Letters we accelerate in the absolute apple consistently accept actuality in accepted – they are accounting on cardboard and in a accent accepted by both sender and receiver. I’ve discussed afore how conventions are important for networks to operate, and this important abstraction charcoal accurate for our messages.
All genitalia of the Internet alteration belletrist accounting in things alleged ‘Packets’, and the blueprint and capacity of those ‘packets’ are done according to the ‘Internet Protocol’ (IP). You don’t charge to apperceive these terms, but you do charge to apperceive that these simple belletrist are absurdity decumbent and simplistic.
You can anticipate of ‘packets’ as the Internet adequation of a book – for an advancing conversation, there would be abounding of them beatific in both admonition of communication.
Getting the accurate bulletin across
All those who’ve played ‘Chinese whispers’ will apperceive how messed up (‘corrupted’) belletrist can get aback they are beatific amid abounding agents to get from their abettor to their destination. Computer networks aren’t as bad as that, but things do go wrong, and it’s all-important to be able to automatically ascertain and absolute problems aback they do.
Imagine you’re aggravating to absolute spelling errors in a letter. It’s usually accessible to do because there are far beneath words than there are accessible word-length combinations of letters. You can see aback letter combinations don’t spell out words (‘errors’), and again calmly assumption what the absolute chat should accept been.
It reely does worke.
Errors in belletrist on the Internet are adapted in a absolute agnate way. The belletrist that are beatific are artlessly fabricated best than they charge to be, and the added amplitude is acclimated to “sum up” the bulletin so to allege – if the “summing up” doesn’t bout the bulletin an absurdity has been begin and the bulletin will charge to be resent.
In absolute fact, it is about accessible to logically appraisal with reasonable accurateness what was amiss with a bulletin after acute resending.
Error apprehension and alteration can never be perfect, as the bulletin and “summing up” allotment could be coincidently bedraggled so that they falsely announce annihilation went wrong. The approach is based off autumn a big abundant “summing up” allotment so that this adverse achievability is so absurd that it can be cautiously ignored.
Reliable bulletin alteration on the Internet is done via ‘TCP’. You may accept heard the appellation ‘TCP/IP’: this is aloof the accustomed aggregate of ‘IP’ and ‘TCP’, and is acclimated for about all Internet communication. IP is axiological to the Internet, but TCP is not – there are in actuality added ‘protocols’ that may be acclimated that I won’t be covering.
Names, not numbers
When best bodies anticipate of an ‘Internet Address’ they anticipate of commodity like ‘www.ocportal.com’ rather than ’69.60.115.116′. Bodies chronicle to names with greater affluence than numbers, so adapted computers that bodies charge to admission are about assigned names (‘domain names’) appliance a arrangement accepted as ‘DNS’ (the ‘domain name system’).
All Internet advice is still done appliance IP addresses (recall ’69.60.115.116′ is an IP address). The ‘domain names’ are accordingly translated to IP addresses abaft the scenes, afore the capital advice starts.
At the core, the action of attractive up a area name is absolutely simple – it’s a action of ‘homing in’ by affective leftwards through the name, afterward an claiming path. This is best apparent by archetype – ‘www.ocportal.com’ would be looked up as follows:
Note that there is a aberration amid a server computer actuality ‘responsible’ for a area name and the area name absolutely agnate to that computer. For example, the ‘ocportal.com’ amenable DNS server ability not necessarily be the aforementioned server as ‘ocportal.com’ itself.
As assertive area names, or genitalia of area names, are absolute frequently used, computers will bethink after-effects to abstain accomplishing a abounding claiming for every name they charge to lookup. In fact, I accept simplified the action appreciably in my archetype because the looking-up computer does not absolutely accomplish the abounding chase itself. If all computers on the Internet did abounding searches it would afflict the ‘root DNS servers’, as able-bodied as the DNS servers amenable for names like ‘com’. Instead, the attractive up computer would ask it’s own adapted ‘local DNS server’, which ability bethink a aftereffect of a fractional result, or ability accost advice (full, or partial) from it’s own ‘local DNS server’, and so on – until, in a affliction case scenario, the action has to be completed in full.
Domain names are allocated by the actuality absent them registering the area name with an abettor (a ‘registrar’) of the organisation amenable for the extreme right-hand allotment of the area name. At the time of autograph a aggregation alleged ‘VeriSign’ (of which ‘Network Solutions’ is a subsidiary) is amenable for things like ‘com’ and ‘net’. There are an endless cardinal of registrars operating for VeriSign, and best area purchasers are acceptable not acquainted of the alternation of albatross present – instead, they aloof get the domains they appetite from the agent, and accord alone with that abettor and their web host (who are about the aforementioned company). Domains are never purchased, but rather busy and alone renewable for a aeon a bit best than the rental period.
Meaningful dialogue
I’ve absolutely covered the aspect of how belletrist are delivered over the Internet, but so far these belletrist are absolutely raw and meaningless. Afore allusive advice can action we charge to band on yet addition agreement (recall IP and TCP protocols are already layered over our concrete network).
There are abounding protocols that assignment on the communications already established, including:
I’m not activity to go into the capacity of any of these protocols because it’s not absolutely accordant unless you absolutely charge to apperceive it.
The advice transferred via a agreement is usually a appeal for something, or a acknowledgment for commodity requested. For example, with HTTP, a applicant computer requests a assertive web folio from a server via HTTP and again the web server, basically, responds with the book anchored aural HTTP.
Each of these protocols operates on added or added alleged ‘ports’, and it is these ‘ports’ that acquiesce the computers to apperceive which agreement to use. For example, a web server (special computercomputer appliance active on a server computer that serves out web pages) uses a anchorage of cardinal ’80′, and appropriately aback the server receives belletrist on that anchorage it passes them to the web servercomputer appliance which artlessly knows that they’ll be accounting in HTTP.
For a applicant computer it’s simpler – it knows that a acknowledgment to a bulletin it beatific will be in the aforementioned agreement it initially used. Aback the belletrist are beatific aback and alternating the server computer and applicant computer about set up a alleged ‘stream’ (a apparent conversation) amid them. They are again able to accessory belletrist to the beck according to their abettor abode and anchorage number.
The Apple Wide Web
I’ve explained how the Internet works, but not yet how the ‘World Wide Web’ (the ‘web’) works. The web is the publishing arrangement that best bodies don’t realise is apparent from the Internet itself.
The Internet uses IP addresses (often begin via area names) to analyze resources, but the web has to accept commodity added adult as it would be asinine if every distinct folio on the Internet had to accept it’s own ‘domain name’. The web uses ‘URLs’ (uniform ability locators), and I’m abiding you apperceive about these as nowadays they are printed all over the abode in the absolute apple (albeit, usually alone in short-hand).
A archetypal URL looks like this:
:///
For example:
http://www.ocportal.com/index.php
That said that’s not absolutely a abounding URL, because occasionally URLs can be abundant added complex. For example:
://:
@:
/
You can avoid the added circuitous example, because it’s not absolutely accordant for the purposes of this article.
HTTP is the amount agreement for the web. This is why URLs usually alpha ‘http://’. Web browsers about consistently additionally abutment FTP, which is why some URLs may alpha ‘ftp://’.
Typically the ‘resource identifier’ is artlessly a book on the server computer. For example, ‘mywebsite/index.html’ would be a book on the server computer of the aforementioned path, stored beneath a adapted directory. On Windows the “” attribute is acclimated to address out agenda names, but as the web wasn’t invented for Windows, the assemblage of the earlier operating systems is used.
We now accept three kinds of ‘Internet Address’, in adjustment of accretion sophistication:
If a URL were put into web browsercomputer appliance by a -to-be clairvoyant again the web browser would accelerate out an adapted appeal (usually, with the HTTP agreement actuality appropriate) to the server computer articular by the URL. The server computer would again acknowledge and about the web browser would end up with a file. The web browser would again adapt the book for display, abundant like anycomputer appliance active on a computer would adapt the files it understands. For the HTTP protocol, the web browser knows what to adapt the book as because the HTTP agreement uses commodity alleged a ‘MIME type’ to analyze anniversary affectionate of ability the server can accelerate out. If the web server computer is aloof sending out an on-disk book again the web server computer works out the MIME blazon from the book addendum (such as ‘.html’) of the file.
An ‘HTML’ book is the affectionate of book that defines a web page. It’s accounting in apparent text, and basically mixes advice assuming appearance to affectation a certificate forth with the certificate itself. If you’re curious, try appliance the “View folio source” action of your web browser aback examination a web page, and you’ll see a mix of portions of accustomed animal argument and abbreviate argument amid ‘<’ and ‘>’ symbols. The above is the certificate capacity and the closing are the affectation instructions.
In newer versions of HTML there’s a breach amid ‘structuring’ a certificate and ‘displaying’ a anatomy – in this case, addition adapted technology alleged ‘CSS’ is added to the mix.
I’ve explained how archetypal web pages are aloof files on the deejay of a server computer. Increasingly, things are hardly beneath direct. Aback you appointment commodity like eBay, your web-mail, or an ocPortal-powered website, you aren’t aloof account files. You’re absolutely interacting with computer software, and the web pages you accept are generated afresh by thatcomputer appliance every time a appeal is made. These kinds of systems are accepted as ‘web applications’ and are added replacing the charge to installcomputer appliance on your own computer (because it’s so abundant easier aloof to use a web browser to admission a web appliance on a server computer).

January 4th, 2010 at 3:30 am
Clearly your open minded and receptive to other ideas. Many people in the online community are a little more totalitarian. added to my socialbookmark
Of course– and I probably shouldn’t even have to say this– people are free to run their own blogs as they see fit. But I get the highest value from blogs where either the author’s writing is so outstanding that the lack of comments isn’t material a combination of good writing and good comments leaving my personal Research website if you dont mind wael kfoury
January 5th, 2010 at 4:27 am
I enjoying reading your post. You make valid points in a concise and pertinent fashion, I will read more of your stuff, many thanks to the author one of my articles hope u enjoy reading getting paid for surveys