
Have you ever typed a website name in your browser and opened the website in a few seconds?
For example:
google.com
But how does your computer find the correct website?
To understand this, we first need to know three things: Domain Names, IP Addresses, and DNS.
1. What Is a Domain Name?
A Domain Name is the name people use to visit a website.
For example:
google.comgithub.comyoutube.com
Domain names are easy to remember and easy to use.
Imagine having to remember a long number every time you want to visit a website. That would be difficult!
This is why we use domain names instead of remembering IP addresses.
Note: A domain name is not the same as a full URL. For example,
https://google.com/searchis a URL, andgoogle.comis the domain name.
2. What Is an IP Address?
An IP Address is a numerical address used to identify a device or service on a network.
Computers use IP addresses to send and receive data over a network.
For example:
203.0.113.10
This is an example IPv4 address used for documentation. It is not a real website address.
Think of an IP address as a destination address. It helps network traffic reach the correct destination.
There are two main versions of IP addresses:
- IPv4: Uses numbers separated by dots, like
192.168.1.1. - IPv6: Uses hexadecimal numbers separated by colons, like
2001:db8::1.
We will learn more about IPv4 and IPv6 in a separate article.
3. What Is DNS?
DNS stands for Domain Name System.
It is a system that helps computers find services on the internet by using domain names.
For websites, DNS helps find the IP address connected to a domain name.
For example:
Domain Name:
example.comDNS Result: An IP address connected to this domain.
In simple words:
DNS connects domain names to the information computers need to find internet services.
DNS is not one single server. It is a distributed system that works across many DNS servers around the world.
4. Why Do We Need DNS?
Computers use IP addresses to communicate over networks, but people find names easier to remember.
Imagine if you had to remember an IP address for every website you visit.
Instead of typing:
google.com
You would need to remember a number such as:
142.250.x.x
That would be difficult.
DNS makes this process easier. We use a domain name, and DNS helps the computer find the correct destination.
The main idea:
- People remember domain names.
- Computers use IP addresses for network communication.
- DNS helps connect the two.
5. A Simple Example: Opening a Website
Let's say you want to visit:
example.com
Here is the basic idea:
- You enter
example.comin your browser. - Your device needs to find the IP address connected to this domain.
- DNS helps it find the required information.
- Your browser uses the IP address to connect to the website's server.
- The website sends its content back to your browser.
Important: This is a simple overview. The real DNS lookup has more steps and uses different DNS servers. We will explain the full process in the next article.
6. Summary
Let's remember the main points:
| Term | Meaning |
|---|---|
| Domain Name | A human-friendly name for an internet service |
| IP Address | A numerical network address |
| DNS | A system that helps find internet services using domain names |
DNS makes the internet easier to use. We can remember website names instead of trying to remember their IP addresses.
In the next article, we will learn How DNS Lookup Works, step by step.
About the author
- Software Engineer blending deep algorithmic problem solving with scalable Frontend Architecture. Obsessed with high-performance web systems, Core Web Vitals, accessibility, and modern UI engineering.
Comments
Join the discussionNo comments yet. Be the first to comment.
DNS & Domain Fundamentals for Developers
A practical introduction to DNS and domain fundamentals for developers. Learn how domain names work, how DNS lookups happen, and how DNS records connect your domain to websites, servers, and email services. This series explains the concepts developers commonly face when deploying projects, connecting custom domains, configuring DNS records, and troubleshooting domain-related issues. The goal is to understand what happens behind the scenes without going too deep into networking.





