Web Analytics

What is a Fully Qualified Domain Name (FQDN)?

A Fully Qualified Domain Name (FQDN) is the complete, unambiguous address for a specific resource (like a server or device) within the global Domain Name System (DNS). Think of it as the unique street address on the internet; for example, mail.ssl.com points exactly to an email server, while www.ssl.com directs to a website. Understanding and correctly using FQDNs is essential for tasks managed by Certificate Authorities like SSL.com, including SSL/TLS certificate validation, ensuring robust network security, and enabling reliable domain resolution.

Understanding FQDN Structure

An FQDN follows a hierarchical structure, moving from the most specific component on the left to the most general on the right. This eliminates ambiguity.

[hostname].[subdomain(s)].[domain name].[top-level domain (TLD)].[root]

Example Breakdown: secure.payments.ssl.com

  • Hostname: secure (Often a specific machine or service)
  • Subdomain(s): payments (A division within the main domain, e.g., a department)
  • Domain Name: ssl (The primary registered name)
  • Top-Level Domain (TLD): .com (The highest category, e.g., .org, .net)
  • Root: The final . (dot). It represents the DNS root zone. While crucial technically (required in DNS zone files), it’s usually omitted in everyday use like browsers.

FQDN vs. URL: Understanding the Distinction

While related, FQDNs and URLs (Uniform Resource Locators) have different functions. An FQDN identifies where a resource is located, while a URL specifies how to access a resource at that location.

Feature FQDN (The ‘Where’) URL (The ‘How to Access’)
Example webapp.ssl.com https://webapp.ssl.com/login?user=1
Protocol (https://) No Yes
Path (/login) No Yes (often specifies a file/page)
Parameters (?user=1) No Yes (can include query strings)

Key Implication for SSL/TLS Certificates: Certificates secure the FQDN. When requesting a certificate, only provide the FQDN (e.g., webapp.ssl.com), not the full URL (https://webapp.ssl.com/login). Including protocols or paths will cause validation errors.

FQDN vs. PQDN: Ensuring Clarity

A Partially Qualified Domain Name (PQDN) is an incomplete name that requires local network context (like pre-configured DNS search suffixes) to be resolved into a full FQDN.

Type Example Resolution Limitation
PQDN server1 Relies on local settings (e.g., finds server1.internal.ssl.com) Fails outside its specific network context
FQDN mail.ssl.com Resolves globally via public DNS Unambiguous and universally accessible

Critical Note for Certificates: Due to their ambiguity, PQDNs are unsuitable for SSL/TLS certificates intended for public trust or external accessibility. Always use the full FQDN for certificate requests and configurations.

Invalid FQDN Formats to Avoid

Valid FQDNs must follow specific technical rules (RFC standards) to ensure proper resolution and compatibility, especially for public DNS and certificates:

  • No Underscores (_): Prohibited in FQDNs used for public SSL/TLS certificates (violates CA/Browser Forum requirements referencing RFCs). Use hyphens instead if separation is needed within a label.
  • Allowed Characters Only: Use only letters (A-Z), numbers (0-9), and hyphens (-) within labels. Periods (.) are strictly separators.
  • Length Limits

:

    • Each label (text between dots) ? 63 characters.

    • Total FQDN length ? 255 characters.

  • Hyphen Placement: Labels cannot start or end with a hyphen (-).

Consequences: Using invalid formats can lead to failed certificate issuance, DNS resolution errors, and application incompatibility.

How to Find Your FQDN

You can determine a system’s FQDN using these common methods:

On Windows:

  1. Open Command Prompt.

  2. Run ipconfig /all and combine the Host Name with the Primary Dns Suffix or Connection-specific DNS Suffix.

  3. Alternatively, check System Properties (Right-click ‘This PC’ -> Properties) for the ‘Full computer name’.

On Linux/macOS:

  1. Open Terminal.

  2. Run hostname -f (This queries system resolver settings).

Using DNS Tools:

  • To verify public resolution, use nslookup yourdomain.com or dig yourdomain.com.

FQDNs and SSL/TLS Certificate Best Practices

Accuracy with FQDNs is crucial when requesting and configuring SSL/TLS certificates.

Certificate Request Guidelines:

Action Correct FQDN Usage Incorrect / Avoid
Single Domain shop.ssl.com https://shop.ssl.com
Wildcard *.ssl.com *ssl.com (missing dot)
Intl. Domain (IDN) xn--ssl-kma.com (Punycode) sslä.com (non-ASCII directly)
Base & WWW Coverage List ssl.com & www.ssl.com Requesting only www.ssl.com

Key Recommendations:

  • List all required FQDNs in the Subject Alternative Name (SAN) field of your certificate request.

  • Prefer DNS-based validation to directly confirm control over the FQDN.

Troubleshooting Common FQDN-Related SSL Errors

Many SSL/TLS errors stem from FQDN mismatches or misconfigurations.

Error Indication Common FQDN Cause Typical Solution
“Certificate Name Mismatch” Accessed FQDN isn’t listed in cert SAN Reissue cert with all required FQDNs as SANs
Connection errors / Warnings Server configured with wrong/partial FQDN Correct server config (e.g., vhost ServerName)
Certificate validation failure DNS records don’t match required values Update DNS A/AAAA/CNAME records; allow propagation

Final Recommendations for FQDN Management

  • Use Consistent Naming: Employ clear, standardized hostnames and subdomains (e.g., www, mail, api, shop).
  • Secure DNS: Implement DNSSEC where feasible to protect against FQDN spoofing.
  • Audit Certificates & Configs: Regularly review FQDNs listed in certificates and server settings to ensure accuracy and prevent issues from expiry or changes.

Mastering FQDNs—understanding their structure, differentiating them from related terms, and applying them correctly in configurations like SSL/TLS certificates—is fundamental for secure, reliable online operations. Precision with FQDNs directly impacts cybersecurity and system accessibility.

Subscribe to SSL.com’s Newsletter

Don’t miss new articles and updates from SSL.com

Stay Informed and Secure

SSL.com is a global leader in cybersecurity, PKI and digital certificates. Sign up to receive the latest industry news, tips, and product announcements from SSL.com and stay informed of the latest changes about digital identity and encryption that can impact and enhance your life.

We’d love your feedback

Take our survey and let us know your thoughts on your recent purchase.