- Serving Web Pages
- Client Side Scripting
- Server Side Scripting
- Resources
Serving Web Pages
How web pages are served
Web pages are served using a server – client relationship.
- The user enters the URL of the website/web-page to be loaded into a web browser. The browser looks in the computer’s DNS cache to see if a matching IP address is stored.
If none is found then a request is sent to the ISP’s DNS resolver server to find out the IP address (NOT Found → step 2, found → step 4). - The DNS resolver looks for the IP address and if it is stored the DNS Server returns the IP address to the originator.
- If it is not found it is passed on to a higher level DNS. Once found the original DNS caches the IP address for future use and returns the IP address to the user.
- The browser uses the IP address to send the web page request to the web server.
- The web server retrieves the page and sends it to the originator.
- The browser interprets the script and loads the page.
Tutorial Video
Can’t access YouTube? Click Here for the Google Drive version.