PDA

View Full Version : [TUTORIAL] Understanding how the web works



Barely Human
09-06-2004, 05:11 PM
In todays society, the web forms a very important part of how a lot of business, pleasure, self promotion, socialising, and a lot of other things are done. Millions of us use the internet, but not many actually understand how it works. In this, i shall start from the very basics, so people can get a better idea of how, and why things on the net work.

The Server

The server is the most important link in how the net works. The server is a computer specifically designed to serve webpages and files to other web enabled users. A server doesnt have to be a fast machine, but they are usually on very fast conections so that they can serve a lot of different people at once, with no slowdown. There are many different types of servers, all for very different purposes, but i shall tell you about the two main ones -

The Standard Webserver

This server sends out files when it is requested for them by another computer. All websites are stored on this type of server. They work in the same way as your home pc. They have a harddrive, and you can access files on the harddrive by typing the right URL to the file. But this canot be done with this server alone, this is where DNS, or Domain Name Servers come in.

Domain Name Server

Most websites have a Domian name, this one for instance is www.blackoutaudio.co.uk. This is so people can remember website easilly, and dont have to faff about with numbers all the time. If we didnt have domain names, then to access a website, you would have to type the IP address of each server you wanted to view. Obviously, this wouldnt be a practical way of working. This is where the domain name server comes in. All the domains in the world have a designated server they link to, deppending on the prefix at the end(.com .co.uk .net etc...) The people who runs these servers sell the domain names to you for your website. No one can have the same domain. This means that you can actually buy domain names for very cheap, and then sell them to people who actually want them. A domain such as www.thisisacrapdomain.com would be very cheap,(about £5 a year), but something like www.tesco.com would cost ££££££. Now lets look at how a domain actually works.

I want to vist this website, so i type in www.blackoutaudio.co.uk. and low and behold, it apears. But how does this happen? When you type the domain name into your browser, it send a message to the DNS with .co.uk domains on, asking where blackoutaudio is hosted. The DNS then sends back the IP address of the webserver which this site is hosted on. Your pc then sends a message to the webserver asking for a specific file. The webserver then sends this file to you, and the page is displayed.

How does a Webpage work??

This all depends on the type of webpage you are looking at, but in all webpages, there is something called HTML (Hypertext Markup Language). This is a coding system that your computers web browers understands, interprets, and displays as a webpage. HTML is basically a text file, so most webpages you see can acutally be written in notepad. For a simple demontration, i shall show you how this works with a picture.

http://blackoutaudio.co.uk/phpBB2/templates/subRed/images/logo_phpBB.gif

As you can see, the blackout logo is displayed. But how?? Running behind this page that you see, is the html script. If you right click on this page, and then select "View Source", it will display the html. This is what the webserver sent to your computer. You browser then interpretted this code and displayed what you see now. As you can see, in this file there is actually no picture. So how is this picture displayed. In that code, there is a piece of code telling the browser to download a specific picture, and display it in a certian place. That picture is stored here - http://blackoutaudio.co.uk/phpBB2/templates/subRed/images/logo_phpBB.gif And the code to display that is <img src="http://blackoutaudio.co.uk/phpBB2/templates/subRed/images/logo_phpBB.gif" border="0" />

<img tells the browser to display and image
src= tells the browser where the source file is (the actual picture)
border="0" tells the browser that there is no border
and the /> tells the browser that this is the end of that comand.

Hopefully you should now have a better idea how the web actullay works.

I shall be doing a html basics post for you to read through, and then you should be able to start building your own site

EmotionComplex
09-06-2004, 06:55 PM
the new moderator is allready on the case :clap:

good stuff al :)

The Divide
10-06-2004, 01:09 AM
Hahahahahaha AL GO ON MY SON!!!

Yoshimitsu
10-06-2004, 01:25 AM
nice one m8 thats a few more things i now know :lol:

MARKEG
10-06-2004, 01:37 AM
I say wow!

IQ this is unreal. Just what everyone needs on here! Loads of the BOA crew want to know about the web. These type of tutorials will help everyone out so much. There's so many talented ppl on this forum and knowing the web is important to gettong your msg across.

Thank you mate.

Barely Human
10-06-2004, 02:58 AM
No worries man! I didnt know anything until a year ago, until i need to build my own site, so ive just learnt what i needed to know as i go along. Something like this would of been so helpful. There is a lot of tutorials out there, but they start to advanced imo. The more i write about these things, the more i understand it myself. Plus other people get to benefit from it all, which is afterall, why ive wrote it in the first place. Im currently drawing up a Basic Php tutorial, and then im gonna do one for Webspace, Domains, and FTP. After that, people should be confident enough with it to progress to some of the more in depth tutorials out there, which i will hunt down for you all to read through. Im also thinking of starting a "Beginers Website Class" where i will slowely go step by step creating a website with people who want to join in. In this website i will cover basic table use, picture use, photoshop use, FTP use, and at the end, how to integrate a phpbb2 forum into your site. I shall make a post on this anyway ;)

I dont know everything, but if anyone has any specific question to ask, then i shall do my best to find answers for you!

Peace out,

IQ

Tobe Cypher23
10-06-2004, 08:27 PM
Nice one Al it must of taken pure time. :clap: :clap: :clap:

Repect

DJTrubass
30-07-2004, 02:26 AM
all thoes with .tk or .da.ru web sites forget it, when u get a .com or .co.uk .. ul never look back :!:

MangaFish
30-07-2004, 08:43 PM
all thoes with .tk or .da.ru web sites forget it, when u get a .com or .co.uk .. ul never look back :!:

ok, maybe i'm overlooking the obvious here, but what difference does .com / .co.uk have over a .ru?

its only a country identifier and either way it has to be dns'ed to a webserver

Barely Human
30-07-2004, 10:47 PM
all thoes with .tk or .da.ru web sites forget it, when u get a .com or .co.uk .. ul never look back :!:

ok, maybe i'm overlooking the obvious here, but what difference does .com / .co.uk have over a .ru?

its only a country identifier and either way it has to be dns'ed to a webserver

I was thinking the same thing :eh:

DJTrubass
31-07-2004, 07:32 PM
.da.ru & .tk r free domain names & come with popups, +.com .co.uk .org. net etc look more professional & i believe arrear in more search engins (not sure on that)

Tecnik
24-09-2004, 12:57 PM
they are indeed free and full of pop ups, althought it makes no difference to search engines and alike

TechnoNRGKid
24-10-2004, 09:15 AM
If anyone are looking for video tutorials, i know some sources.

www.learnkey.com
and www.cbtnuggets.com specialize in IT/computer learning.
also www.lynda.com are good.

For computer technician stuff ( repairing computers, and all the hardware things that teach you bout a computer/it's peripheals ) A+ is the place to begin.
It's Entry level of course and it even gets into bout the basics of internet.
Also gets into teaching you bout Operating systems ( windows only, a tad of novel, but not much ).

For the material IQ mentioned, It's all I-net+ material.
From Internet clients like FTP, Browsers , etc, to web site design, onto some administration server material abit. Also entry level.
Great stuff and kept me wanting to learn more. especially when you love computers.
These are all Comptia (www.comptia.com) areas btw.


Good stuff IQ.
Respect. :-)

Milesy
29-12-2004, 11:59 PM
.ru and .tk websites are not naturally full of popups etc
its just the people that are using them...

278d7e64a374de26f==