TGViewer
Web Development Web Development @webdevcoursefree ยท 79.7K subscribers
Post #4027 1.49K
๐ŸŒ Web Development Roadmap โ€” Part 7

๐Ÿ”— URLs, Domains & DNS

When you open a website, you usually type something like:

https://www.example.com/products

But what does each part mean?

To understand this, we need to learn three concepts:

URL โ†’ Domain โ†’ DNS

1๏ธโƒฃ What Is a URL?

URL stands for:

Uniform Resource Locator

A URL is the address used to locate a resource on the web.

For example:

https://www.example.com/products/123?color=black

A URL can contain several parts.

https://www.example.com/products/123?color=black

โ†“ โ†“ โ†“ โ†“

Protocol Domain Path Query

Let's break it down.

2๏ธโƒฃ Protocol

In:

https://www.example.com

https is the protocol.

It tells the browser how communication should take place.

We've already learned about HTTPS.

You may also see:

http://

but modern websites commonly use HTTPS.

3๏ธโƒฃ Domain Name

In:

https://www.example.com

the domain is:

example.com

A domain name is a human-readable name used to identify a website or Internet service.

It's much easier to remember:

example.com

than an IP address such as:

93.184.216.34

We'll discuss IP addresses shortly.

4๏ธโƒฃ Subdomain

In:

https://www.example.com

www is a subdomain.

Other examples could be:

blog.example.com

shop.example.com

api.example.com

A company might use different subdomains for different services.

For example:

www.example.com

โ†“

Main website

blog.example.com

โ†“

Blog

api.example.com

โ†“

API

5๏ธโƒฃ Path

Consider:

https://example.com/products/123

The part:

/products/123

is the path.

It identifies the particular resource or route being requested.

For example:

/products

could represent a product listing.

And:

/products/123

could represent product number 123.

6๏ธโƒฃ Query Parameters

Consider:

https://example.com/products?category=shoes&sort=price

Everything after ? represents query parameters.

Here:

category=shoes

sort=price

The website can use these values to determine what information to return or how to display it.

For example:

/products?category=shoes

could mean:



Show products in the shoes category.



7๏ธโƒฃ Fragment

You may also see a URL such as:

https://example.com/about#contact

The part:

contact

is called a fragment.

It can identify a particular section within a page.

For example:

<h2 id="contact">Contact Us</h2>
  • โค 2
More from @webdevcoursefree
  1. Oct 7, 2026๐Ÿš€๐—ฃ๐—ฎ๐˜† ๐—”๐—ณ๐˜๐—ฒ๐—ฟ ๐—ฃ๐—น๐—ฎ๐—ฐ๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ง๐—ฟ๐—ฎ๐—ถ๐—ป๐—ถ๐—ป๐—ด | ๐—•๐—ฒ๐—ฐ๐—ผ๐—บ๐—ฒ ๐—ฎ ๐—™๐˜‚๐—น๐—น๐˜€๐˜๐—ฎ๐—ฐโ€ฆ
  2. Oct 7, 2026๐ŸŒ Web Development Roadmap โ€” Part 14 HTML Document Structure Before learning individual HTโ€ฆ
  3. Oct 7, 2026๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—ฃ๐—ผ๐˜„๐—ฒ๐—ฟ ๐—•๐—œ ๐—ณ๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜! ๐Ÿ”ฅ Learn Power BI through these FREE learninโ€ฆ
  4. Oct 5, 2026The browser reads the HTML structure and builds the webpage from these elements. Key Takeaโ€ฆ
  5. Oct 5, 2026๐ŸŒ Web Development Roadmap โ€” Part 13 HTML Syntax, Tags & Elements Now that you understandโ€ฆ
  6. Sep 29, 2026It can contain things such as: โ€ข Page title โ€ข Metadata โ€ข Links to CSS โ€ข Other informationโ€ฆ
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook โ†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 โ†’