How to get fqdn

Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.

Last updated: April 4, 2026

Quick Answer: A Fully Qualified Domain Name (FQDN) is the complete domain name for a specific computer, or host, on the internet. It consists of the hostname and the domain name, separated by dots. For example, 'www.example.com' is an FQDN where 'www' is the hostname and 'example.com' is the domain name.

Key Facts

What is a Fully Qualified Domain Name (FQDN)?

A Fully Qualified Domain Name (FQDN), also sometimes referred to as an absolute domain name, is the complete domain name for a specific computer, or host, on the internet. It is a hierarchical naming convention that uniquely identifies a device's location within the Domain Name System (DNS). Think of it like a full postal address for a computer on the internet; it leaves no room for ambiguity about which specific resource is being referenced.

An FQDN is composed of several parts, read from right to left: the Top-Level Domain (TLD), the domain name, and the hostname (or subdomain). For instance, in the FQDN www.example.com:

Technically, a true FQDN ends with a dot (.), representing the root of the DNS hierarchy. So, the FQDN for www.example.com would be www.example.com.. While this trailing dot is often omitted in everyday usage and many applications will append it automatically, it is part of the complete and unambiguous FQDN.

Why are FQDNs Important?

FQDNs are fundamental to how the internet functions. They serve several critical purposes:

How to Determine an FQDN

You can often determine the FQDN of a device or service in several ways:

1. On Your Own Computer (Windows)

To find the FQDN of your own Windows computer:

  1. Right-click on the Start button and select System.
  2. Under 'Device specifications', you will see 'Computer name'.
  3. Under 'Computer name, domain, and workgroup settings', you will see 'Full computer name'. This is your computer's FQDN. If it shows a domain name (e.g., mycomputer.mydomain.local), that's your FQDN. If it doesn't show a domain name and only shows the computer name (e.g., MYDESKTOP), your computer is likely part of a workgroup, and its FQDN might be just the computer name followed by a local domain suffix if one is configured by your network administrator or ISP, or it might not have a publicly resolvable FQDN.
  4. Alternatively, open Command Prompt, type ipconfig /all, and press Enter. Look for the 'Host Name' and 'Primary Dns Suffix' fields. Concatenating these (if a primary DNS suffix exists) gives you the FQDN.

2. On Your Own Computer (macOS)

To find the FQDN of your own macOS computer:

  1. Click the Apple menu () in the top-left corner.
  2. Select System Settings (or System Preferences in older macOS versions).
  3. Click on General, then About.
  4. Click on Network.
  5. Click on Wi-Fi or Ethernet (whichever you are using).
  6. Click the Details... button.
  7. Go to the DNS tab.
  8. Your computer's hostname is usually displayed at the top of the System Settings/Preferences window, often under 'Computer Name'. If your Mac is connected to a domain or has a specific network setup, the FQDN might be formed by appending the domain suffix to the hostname. You can also open the Terminal application and type hostname -f to display the FQDN.

3. Using Online Tools

There are online tools that can help you determine the FQDN of a website or server. You typically enter the domain name (e.g., google.com), and the tool will perform DNS lookups to find associated hostnames and their FQDNs.

4. From Network Administrators

If you are part of a corporate or organizational network, your IT department or network administrator is the best source for information about the FQDNs of devices within that network. They manage the DNS records and can provide the correct FQDNs for servers, workstations, and other resources.

Understanding the Difference: Domain Name vs. FQDN

It's important to distinguish between a domain name and an FQDN. A domain name, like example.com, refers to a specific domain in the DNS hierarchy. An FQDN, like www.example.com or mail.example.com, is a specific host *within* that domain.

The domain name itself (e.g., example.com) can be considered an FQDN for the domain's root or for specific services if no subdomains are used. However, when referring to a specific machine (like a web server), the FQDN includes the hostname.

Common Examples of FQDNs

In summary, an FQDN is the complete, unambiguous address of a device on the internet, comprising its hostname and the full domain hierarchy it belongs to. It's a fundamental concept for understanding how networks and the internet operate.

Sources

  1. Fully qualified domain name - WikipediaCC-BY-SA-4.0
  2. What is an FQDN? | Cloudflarefair-use
  3. Fully Qualified Domain Name (FQDN) - TechNetfair-use

Missing an answer?

Suggest a question and we'll generate an answer for it.