# What is an FQDN and how is it structured?

The term ‘Fully Qualified Domain Name’ (FQDN) refers to the complete and unique address of an online presence. It consists of a hostname and domain and is used to identify specific hosts on the internet and access them through name resolution.

## FQDN meaning

FQDN stands for Fully Qualified Domain Name and describes the complete internet address used to uniquely identify an online presence. ‘Fully qualified’ means that all domain levels are specified, allowing the address to be uniquely identified. An FQDN consists of the [hostname](https://www.ionos.de/digitalguide/hosting/hosting-technik/hostname/) and the domain, including the [top-level domain (TLD)](https://www.ionos.com/en-ie/digitalguide/domains/domain-extensions/what-is-a-tld-top-level-domain/), and can be uniquely mapped to an [IP address](https://www.ionos.de/digitalguide/server/knowhow/was-ist-eine-ip-adresse/).

## FQDN structure

A Fully Qualified Domain Name is made up of several labels, including the **hostname**, domain name, any optional subdomains and the **top-level domain**. If not all labels needed for a complete FQDN are specified, the result is known as a **Partially Qualified Domain Name (PQDN)**. This often means that only the hostname is given. The term **Fully Qualified Host Name (FQHN)** is also sometimes used to refer collectively to an FQDN and its associated IP address.

To better understand the hierarchy of an FQDN, it helps to read its structure from right to left. The further to the right a label appears, the higher its position in the hierarchy:

- **Root label**: At the highest level is the root label, also known as the null label. It represents the root of the [Domain Name System (DNS)](https://www.ionos.de/digitalguide/server/knowhow/domain-name-system/) and consists of an empty label represented by a dot. In modern browsers, this final dot usually does not need to be entered explicitly.
- **Top-level domain**: The next level is the top-level domain, such as `.org`, `.com` or `.net`.
- **Domain**: Below the top-level domain is the domain name. During name resolution, the DNS hierarchy is followed from the TLD to the corresponding domain.
- **Hostname**: At the lowest level is the hostname, which identifies the specific host within the domain.

[![Image: FQDN structure](https://www.ionos.com/en-ie/digitalguide/fileadmin/_processed_/e/d/csm_fqdn-structure-uk_d0664b7f80.webp "FQDN structure")](https://www.ionos.com/en-ie/digitalguide/fileadmin/DigitalGuide/Schaubilder/fqdn-structure-uk.jpg) Visualisation of the structure of a Fully Qualified Domain Name (FQDN) – hierarchy and components in the DNS system.  Note The individual levels of the domain namespace are known as **labels** and are separated by dots. Each label must contain **1 to 63 characters**, while the complete FQDN must not exceed **255 characters** in total. Labels may contain letters, digits and hyphens, and each label must begin with either a letter or a digit.

## How to find FQDN in Windows

**In Windows 11**, you can find your computer’s FQDN under ‘Full computer name’. Enter ‘Settings’ in the Windows search field, then select ‘System’ &gt; ‘About’. Under ‘Device specifications’, you will find the **full computer name**, which consists of the computer name (hostname) and the domain. If the computer is not connected to a domain, only the local hostname is displayed.

[![Image: FQDN displayed in the Windows Control Panel](https://www.ionos.com/en-ie/digitalguide/fileadmin/_processed_/6/9/csm_fqdn-system-settings_f5e3641611.webp "FQDN displayed in the Windows Control Panel")](https://www.ionos.com/en-ie/digitalguide/fileadmin/DigitalGuide/Screenshots_2025/fqdn-system-settings.jpg) System info in Windows 11 Business: computer name and device specifications. **In Windows 10**, the process is similar. Enter ‘Control Panel’ in the Windows search field, then select ‘System and Security’ &gt; ‘System’. Near the bottom of the page, you will find the full computer name of your device, which consists of the computer name (hostname) and the domain. If the computer is not connected to a domain, only the local hostname is displayed.

In **Windows 7**, you can access this information by right-clicking ‘Computer’ in the Start menu and selecting ‘Properties’.

Note Windows 7 **is no longer officially supported** and no longer receives security updates. Support for Windows 10 also ended on 14 October 2025; only devices enrolled in the Extended Security Updates (ESU) programme may still receive limited security updates. Although the method described above may still work technically, Windows 11 is recommended for current use.

You can also **display the FQDN in Windows using the command line**. Enter the following command and press Enter:

```bash
echo %COMPUTERNAME%.%USERDNSDOMAIN%
```

The FQDN will then be displayed. If your computer is not connected to a domain, the unchanged %USERDNSDOMAIN% variable will appear after the computer name.

[![Image: FQDN displayed in the Windows command line](https://www.ionos.com/en-ie/digitalguide/fileadmin/_processed_/8/2/csm_fqdn-windows-command-prompt_e7bf6dbaff.webp "FQDN displayed in the Windows command line")](https://www.ionos.com/en-ie/digitalguide/fileadmin/DigitalGuide/Screenshots_2025/fqdn-windows-command-prompt.jpg) Output of the FQDN in Windows using the command line. ## How to find FQDN in macOS

If your computer is connected to a domain, you can display the FQDN of your **macOS device** by entering the following command in Terminal and pressing Enter:

```bash
hostname -f
```

## How to find FQDN in Linux

In **Linux**, you can use the same command in the terminal as on macOS:

```bash
hostname -f
```

Alternatively, you can also use the following command:

```bash
hostname --fqdn
```

After **pressing the Enter key**, your FQDN will then be displayed. If you are not connected to a domain, only the hostname will be shown.

## FQDN explained with an example

The following FQDN example illustrates the structure of a Fully Qualified Domain Name (FQDN):

**Example:** `www.ionos.com`

- **Hostname**: `www`
- **Domain**: `ionos`
- **TLD (Top-Level Domain)**: `.com`
- **Root**: The dot (.) at the end, which represents the root label

### Extension with subdomains

Between the **second-level domain** and the **hostname**, [subdomains](https://www.ionos.de/digitalguide/domains/domainverwaltung/was-ist-eine-subdomain/) can be used to organise different sections of a domain, such as `shop` or `blog`. These additional levels may be referred to as **third-level domains**, **fourth-level domains**, and so on.

**Example**: Fictitious FQDN `hosting.example.IONOS.com`

- `example` is a subdomain of `IONOS.com`.
- `hosting` is the hostname that designates the specific server.

The number of subdomains is limited only by the maximum length of the FQDN (255 characters).

## Why FQDNs are essential for network communication

A Fully Qualified Domain Name is an essential part of the internet, allowing hosts to be uniquely identified and ensuring accurate name resolution. Its structure, consisting of the **hostname, domain and top-level domain**, enables reliable navigation and communication across networks.

You can find the FQDN of your own computer using the methods described for **Windows**, **macOS** or **Linux**. Knowing the FQDN can be useful for network configuration, troubleshooting and identifying devices within a network.


This is a markdown version of: [https://www.ionos.com/en-ie/digitalguide/domains/domain-administration/fqdn-fully-qualified-domain-name/](https://www.ionos.com/en-ie/digitalguide/domains/domain-administration/fqdn-fully-qualified-domain-name/) for AI/LLM consumption.