The Parts of a URL: A Short& Sweet Guide

A URL is a Uniform Resource Locator and it contains information about the protocol, domain name, directory, and file name.



1. Domain Name (or Top-Level Domain)

Domain names are a type of domain name system (DNS) record. It is the name given to a website.

Domain names are the first part of an internet address, and they come after the URL that leads you to it. They are usually in lowercase letters and are separated from the rest of the address by periods, such as ? or ?, and they tell us about who owns that domain and what type of site it is.

2. Subdomain (optional and often omitted)

The subdomain displays the selected section of the website.

A subdomain is an alternative domain that links directly to a different website section. Subdomains can be used for many different purposes, such as creating a separate online identity or improving SEO.

Subdomains are usually placed at the end of a domain name in order to differentiate it from the main website. For example:

3. Directory Path (optional and often omitted)

The directory path is the process of navigating to a specific file or folder.

Navigating a directory path can be challenging for beginners, but it is an essential skill for those who are often working with computers. Some people find ways to make this easier by changing the name of their files and folders in order to make them easier to navigate.

4. File Name


Let's say you are a copywriter working for a company, however, your client has decided to go for a change and wants to change the company name. This is where you have to be quick and make sure that the client doesn't end up with any problems as they are searching the internet for new names.

Today, on average, people spend more than 30 minutes online looking for their desired business name.