| |
Home Web Server: Home | Overview | Single Page Guide | Install | Security | DynDNS Account | DynDNS Updater | Updater portability | Problems |
|
Web Server overview |
The Internet is one giant distributed network allowing users (servers and surfers) to exchange information. This exchange follows a well-defined sequence of events you need to understand a few basic concepts to make your life easier.
In any data exchange, there are only two participants one that makes a request for data and the other that servers the requested data. I use participants in the general sense they can be humans, computers, rooters, integrated circuits.
Participants have one thing in common they are uniquely identifiable. In other words, they each have a unique address.
These unique addresses make a transaction between two participants possible. For example, take two people one living in the USA and the other in the UK. The UK person requires some information from the USA person.
He writes a letter detailing the information required and includes his address for a reply. The letter is sent to the USA address and may take a path via plane, sea, road, ferry or a combination of these paths. The journey is un-important so long as the letter reaches its destination.
On receiving this letter, our recipient reads it and writes a reply containing the information requested. He also includes his address for reference. The letter is addressed to the UK person and posted.
The Internet works on the same principal with only minor differences. Participants are computers connected via modems to the Internet. Each computer has a unique address. Data is packaged with both sender and destination addresses this bundle is sent via a modem to the Internet where routers deliver it to the destination address.
Computers, modems and rooters work with binary numbers. Addresses consist of 32 bits with each bit having a value of 0 or 1. A typical address would look like 00100110000100010000001110000000 hard for the human to read so you will see it represented in this format 1234.1234.1234.1234 not a great improvement.
To the rescue names like this www.fred.com what a relief something humans can understand.
You will have noticed I slipped in the word domain the WWW part is an extension and not part of the domain name (address). The domain is fred.com more of this later.
Service providers are allocated a range of IP address within their domain. They are free to assign these (fixed or dynamic address) as they please. When you connect to your ISP they will assign a unique address to you.
When you disconnect this unique address may be assigned to another user (dynamic address). This maximizes the number of users a provider can support . It is not a major problem until you come to run your own web server which requires a fixed IP address.
Every name (like www.fred.com) needs to be mapped to a binary address allowing data to be routed through the Internet. There are millions and millions of names on the Internet that need matching to a binary address. The vast numbers involved make it impossible to store these in one place in addition, if a central repository failed the World Wide Web would come to a grinding halt.
Data is continually changing new name-address pairs added daily, your ISP most likely changes your IP address every time you connect yet another change. Enough of this rambling I hope the above has given you some idea of the problems magnitude. To the rescue DNS.
Domain Name Service, it is the largest dynamic database in the world updated and accessed more than any other. It is the backbone of the Internet and comprises of active and redundant name servers distributed worldwide. The point of all this you will need an entry in one of these DN (Domain Name) servers to make your home web server work.
The following diagram shows you the main components of the Internet well one user accessing your home server.
Don’t worry about the details all you need to understand, behind the seens is numerous transactions take place to establish connections and data transfers. To give you a feel for this process I have provided some of the main interactions.
Before making any data transfers, both parties connect to the Internet super highway via their ISP's (ISP1 and ISP2). The following events take place.
Home Web Server (PC)
Your home server is on-line waiting for someone to access it.
Home Web Browser (PC)
This user is now ready to surf the Internet.
Browser access
Lets assume the home web server's domain name is fred.com. Further lets assume the user has never accessed the home server before. The reason for this assumption no data will have been cashed (cashing is a method to speed up page accesses).
This overview has shown how the Internet operates. The principals are easy to understand what makes it look over complex is DNS.
No need to get bogged down in technical stuff, just install and enjoy Single Page Guide .
| | Ric |
Categories: UniCenter | New Users | Support | Installation | Security