Pcornel
Browse topics
Options
Recent
Favorites
Identity · Technical reference

Sites

Direct answer

A site is a physical-topology construct independent of domains. IP subnets map clients to sites so Windows can prefer nearby domain controllers and AD replication can use site-aware topology/cost/scheduling.

When to use this

Use this topic when clients select distant DCs, authentication is slow by location, or physical topology needs to be mapped into AD DS.

First 30 seconds

1. Get-ADReplicationSite -Filter *.

2. Clients in the right site: nltest /dsgetsite.

3. Subnets mapped to sites.

4. DCs per site.

5. Site links for replication.

Operational verification

subnets → sites → client finds local DC → replication topology

Evidence · next step

Verify the selected DC service/data, or move to replication topology if intersite convergence is the symptom.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Do not create sites based solely on offices without matching subnets. Missing or overlapping subnet definitions often present as “random DC selection.”

Platform / version applicability
Windows Server Active Directory and identity
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows Server Active Directory and identity
Key commandGet-ADReplicationSite -Filter *
Scope / prerequisiteUse this topic when clients select distant DCs, authentication is slow by location, or physical topology needs to be ma…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

Determine the client site from its actual address, query site-specific locator records and confirm the chosen DC is appropriate and reachable. Then test the workload.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Sites represent network topology, not organizational structure.
  • A site can contain DCs from multiple domains.
  • Client site selection depends on subnet mapping and locator behavior.
  • Replication configuration uses sites/site links but deep replication belongs in the Replication branch.
Key checks
  • Get-ADDomain — domain details and FSMO holders
  • Get-ADDomainController -Filter * | Select HostName,Site,IsGlobalCatalog — DCs
  • dcdiag /v /e /q — DC health tests (errors only with /q)
  • repadmin /replsummary — replication summary
  • nltest /dsgetdc:<domain> — DC locator
ReferenceWhat it is1 section · depth on demand

Core model

Sites let the logical directory adapt to physical network topology. A client’s domain does not determine its site; its address/subnet mapping does. Correct site design reduces WAN authentication and replication inefficiency.

ReferenceImportant terms & boundaries2 sections · depth on demand

What the evidence shows

When a client uses the wrong DC, record client IP family/address, mapped subnet, detected site, DNS SRV answers and the final DC selected by Netlogon locator.

In depth

AD sites represent well-connected network locations. They control DC locator (clients prefer DCs in their own site), replication topology and SYSVOL/DFS referrals.

Get-ADReplicationSite -Filter *
New-ADReplicationSite -Name Branch-Aarhus
nltest /dsgetsite
nltest /dsgetdc:corp.example.com /force

Clients in subnets not mapped to any site use random DCs (event 5807 on DCs, logged in %SystemRoot%\debug\netlogon.log with NO_CLIENT_SITE entries) — keep subnet definitions complete.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Commands

Get-ADReplicationSite -Filter *
Get-ADReplicationSubnet -Filter * | Select Name,Site
nltest /dsgetsite
nltest /dsgetdc:example.com

Documented example, not captured output. Every client subnet must be mapped to a site; otherwise clients may authenticate against distant DCs (check DC netlogon.log for "NO_CLIENT_SITE").

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows Server Active Directory and identity current

Authoritative/upstream documentation reviewed for bounded claims in Active Directory Domain Services → Sites. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
ad siteactive directory sitesites and servicesdc locator site
Embedded reference data

Quick lookup tables

Active Directory Domain Services → Sites reference map

Fast lookup boundaries for Active Directory Domain Services → Sites.

BoundaryMeaningEvidence limit
SiteWell-connected locationnot domain boundary
SubnetIP prefix mappingmaps client to site
SRV recordsAdvertise site/DC capabilityDNS dependent
Site linkReplication connectivity modeldeep logic in Replication
Confirmation

Confirm action

Continue?