Networking II Objectives

Introduction

Networking is the backbone of modern web applications. Understanding how devices communicate over networks is essential for developers. This lesson focuses on key networking concepts and practical skills, ensuring you have a solid foundation to build, deploy, and troubleshoot web applications.

By the end of this lesson, you should be able to:

1. Comparing MAC Address, IP Address, and Port

Each of these terms represents a different layer of the networking puzzle. Here’s how they differ:

Analogy: Imagine sending a package. The MAC Address is like the factory serial number of the recipient's mailbox. The IP Address is the street address, and the port is the specific room where the package should be delivered.

2. Comparing IP Addresses, Domain Names, and DNS

These concepts work together to make internet navigation simple and intuitive:

Analogy: Think of an IP Address as a phone number, a domain name as a person’s name, and DNS as a contact list on your phone that matches names to numbers.

3. Diagramming the Process: Client to Server and Back

Here’s a step-by-step breakdown of how data travels between a client and a server:

  1. Client Request: The client (e.g., a web browser) sends a request to a domain name (e.g., example.com).
  2. DNS Resolution: The DNS translates the domain name into an IP Address.
  3. Routing: The request is sent through the network to the server associated with the IP Address.
  4. Server Processing: The server receives the request, processes it, and prepares a response (e.g., a web page or data).
  5. Response to Client: The server sends the response back to the client via the same route (or similar route).

Analogy: Sending and receiving a letter:

4. Deploying an Application on Netlify

Netlify is a platform for hosting static websites and web applications. It simplifies deployment and offers tools for custom domain names.

Steps to deploy:

  1. Create a Netlify account and log in.
  2. Upload your website files or connect your Git repository.
  3. Click "Deploy" to make your site live.
  4. For a custom domain, purchase a domain name (e.g., from Namecheap or Google Domains) and configure DNS settings to point to your Netlify site.

Note: While deploying with a custom domain won’t be tested in this lesson, it’s a valuable skill for professional web development.

Key Takeaways