Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
Routing Network Traffic - Proxies, Redirects and DNS

If you point a domain at web server "X" when it's really hosted on web server "Y", you can either have web server "X" forward the request as a proxy, or you can have server "X" instruct the browser to try "Y" instead ... that's a redirect.

Which is best? A proxy forward hides server "Y" from the browser, but if server "X" has limited bandwidth it will use some of it up. The extra step will also be marginally slower. However, a redirect requires the browser to make a second request of a new server, and server "Y" will not be transparent to the browser.

When you visit a new web site, you'll call up a page based on the domain name ... however, the domain name does NOT tell the structure of the internet how traffic should be routes to the site as it's not based on the network structure - an IP address is required. So the Domain Name Service (DNS) is used to convert the domain name into an IP address, which does reflect the structure.

It works like this - your system (in the imserve.com domain in the example shown here) contacts its DNS server, which knows about DNS servers for its parent and child domains. So it can ask the .com server, which can ask the root server, which can ask .net, which can ask .wellho.net ... and the IP address then gets passed back doen the chain. Having completed that shenanigans, the original machine caches the IP address to save it the bother next time, and uses the IP address directly.

(written 2009-05-01, updated 2009-05-02)

Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
A052 - Web Application Deployment - Networking - General
  [768] Our new .eu top level domain - (2006-06-19)
  [2150] Routers, Firewalls and multilayer servers - (2009-05-01)
  [2695] TCP v UDP / Client v Server - Python examples - (2010-03-25)

Back to
Variable scope in Java Servlets and other web applications
Previous and next
Horse's mouth home
Forward to
Routers, Firewalls and multilayer servers
Some other Articles
Class Loading and Variable Conversion in Java
My four feet!
What is a JSP tag library?
Routing Network Traffic - Proxies, Redirects and DNS
Variable scope in Java Servlets and other web applications
A very easy JSP (Java Server Page)
An evening excursion to Devizes and Avebury
Using the internet to remotely check for power failure at home (PHP)
Looking for a career change - Physician to Web Site Designer
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page

This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/2149_Rou ... d-DNS.html • PAGE BUILT: Sun Oct 11 16:07:41 2020 • BUILD SYSTEM: JelliaJamb