Sites
Cheat sheet · https://pcornel.dk/topic.php?topic=3241
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.
Remember
- 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.
First checks
Get-ADDomain— domain details and FSMO holdersGet-ADDomainController -Filter * | Select HostName,Site,IsGlobalCatalog— DCsdcdiag /v /e /q— DC health tests (errors only with /q)repadmin /replsummary— replication summarynltest /dsgetdc:<domain>— DC locator
Verify in this order
subnets → sites → client finds local DC → replication topology
Where it usually breaks
First mismatch in forest/domain/object identity → authoritative DC/source policy → replication/KDC/GP processing → client token/effective policy → target resource → event/audit verification; preserve identity/native error/pre-state before mutation.
Active Directory Domain Services → Sites reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Site | Well-connected location | not domain boundary |
| Subnet | IP prefix mapping | maps client to site |
| SRV records | Advertise site/DC capability | DNS dependent |
| Site link | Replication connectivity model | deep logic in Replication |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3241