Systems Admin

Configure and Manage Active Directory Sites and Services

Active Directory has its own model of your physical network, and if you don’t configure it, it assumes everything is one giant LAN with infinite bandwidth and zero latency. The result: a laptop in your Dallas office trying to authenticate against a domain controller in Birmingham over a slow WAN link, replication traffic flowing along the wrong paths, and Group Policy taking forever to apply. The fix is Active Directory Sites and Services — a topology layer that maps your real-world geography (sites), the connections between them (site links with explicit costs), and your IP addressing (subnets-to-sites) so AD knows which DC is “close” to any given client.

This walkthrough builds a complete three-site topology end to end for a fictional company with offices in New York, Dallas, and Birmingham. We create the sites, move the existing domain controller (NYC-DC1) into the right one, lay down three site links with cost values that reflect actual bandwidth, configure replication windows, map subnets to sites so DNS referrals work correctly, and cover the site link bridging behavior that’s a non-issue for most networks but matters for hub-and-spoke designs.

What you need before starting

  • AD DS already installed and a functioning domain
  • Domain Admin or Enterprise Admin rights (site topology lives in the configuration partition)
  • A domain controller per site — either already promoted, or planned (DCs land in Default-First-Site-Name and get moved to the correct site after promotion)
  • Documented IP subnet ranges per location (you can’t map subnets you don’t know)

Part 1 — Create the sites

From Server Manager > Tools, launch Active Directory Sites and Services. Expand the tree and click the Sites folder. Out of the box you’ll see a single site — Default-First-Site-Name — and every DC in the forest currently lives there until you create more sites and move them.

Active Directory Sites and Services console showing the Sites folder selected in the left panel with the Default-First-Site-Name entry visible, and the right-click context menu with New Site highlighted
Active Directory Sites and Services with only the Default-First-Site-Name — right-click the Sites folder to create real ones.

Step 1 — Create the New York site

Right-click Sites > New Site. Name it New York. Pick Default-IP-Site-Link from the link list as a placeholder — we’ll replace it with proper named links in Part 3. Click OK. The confirmation reminder about adding subnets and moving DCs is exactly what we’re going to do; click OK to dismiss.

Step 2 — Create Dallas and Birmingham

Repeat the same procedure for Dallas and Birmingham, both attached to Default-IP-Site-Link for now. The Sites folder now lists all three new sites alongside the original.

New Site dialog with New York entered as the site name and Default-IP-Site-Link selected, followed by the confirmation that the site was successfully created, and a second New Site dialog creating Dallas
Create New York first, then Dallas, then Birmingham — all on the placeholder Default-IP-Site-Link.
Active Directory Sites and Services showing all three new sites  -  New York, Dallas, and Birmingham  -  in the Sites folder, with a note that domain controllers should be moved to their respective sites
All three sites created — next, move each DC into the site that physically hosts it.

Part 2 — Move DCs into their sites

A DC’s site is what AD uses to advertise it via SRV records and to compute “closest DC” for client authentication. Until you move them, every DC remains in Default-First-Site-Name and clients across the forest will pick whichever DC’s SRV record they happen to resolve. Expand the source site > Servers, right-click the DC, pick Move, and choose its real site. Repeat for every DC. After the move, run nltest /dsgetsite on a client in each location to verify it’s being referred to the local site’s DC.

Part 3 — Create the site links

Site links describe which sites can replicate with which, and over what transport. The Inter-Site Transports node has two options:

  • SMTP — legacy email-based transport from early AD; obsolete and not supported for most replication scenarios
  • IP — the standard AD replication transport; this is what you want

Right-click IP > New Site Link for each link.

Active Directory Sites and Services showing the Inter-Site Transports section with IP and SMTP options, and the New Site Link dialog creating the Dallas-5MB-New York link with Dallas and New York added to the link
Use IP transport (never SMTP) and add the two endpoint sites to each link as you create it.

Step 3 — Three named site links

Naming convention here encodes both the endpoints and the link bandwidth, which makes the cost values obvious at a glance later:

  • Dallas-5MB-New York — primary path, fastest WAN link
  • New York-2EMB-Birmingham — secondary path, mid-bandwidth
  • BRN-512K-Dallas — failover path, slow link, used only when the primary paths are down

For each: right-click IP > New Site Link, name it, add the two sites it connects, click OK.

Two New Site Link dialogs  -  one creating BRN-512K-Dallas with Birmingham and Dallas added, and the completed IP section showing all three site links listed: Dallas-5MB-New York, New York-2EMB-Birmingham, and BRN-512K-Dallas
All three named links visible under Inter-Site Transports > IP — ready for cost assignment.

Part 4 — Cost values that mean something

Site link cost is what AD’s Knowledge Consistency Checker (KCC) uses to compute optimal replication paths. Lower cost wins. Cost is not automatically derived from bandwidth — it’s an admin-assigned integer, and the absolute values don’t matter; what matters is the relative ordering. A common convention is to scale roughly inversely with link bandwidth:

  • Dallas-5MB-New York: Cost 25 — primary, fast and cheap
  • New York-2EMB-Birmingham: Cost 100 — secondary
  • BRN-512K-Dallas: Cost 400 — failover only

Set each: Inter-Site Transports > IP, double-click the site link, change Cost, click OK.

Site Link properties dialog for Dallas-5MB-New York showing the Cost field changed to 25 and the Replication interval field, with the IP section in the background showing all three site links with their updated costs
Cost values reflect the link priority — KCC picks the lowest-cost path through the topology for replication.

Part 5 — Replication interval and schedule

Two related settings on each site link control when replication happens.

The replication interval sets how often replication occurs along the link. Default is 180 minutes (3 hours). For LAN-class links you can drop it as low as 15 minutes; for genuinely slow WAN links you might raise it to keep bandwidth usage predictable. AD eventually-consistent replication tolerates this fine for normal directory changes — password resets and emergency changes use a different urgent-replication path that bypasses the schedule entirely.

The schedule grid

The Change Schedule grid lets you block replication during specific hours — useful when a WAN link is saturated by business-day traffic and you want replication to wait until evening. Open the site link properties > Change Schedule. The grid shows every hour of every day, all green by default (replication allowed). Click and drag to highlight hours, then pick Replication Not Available to block them. Most environments leave this fully open and rely on the interval; the schedule is for narrower bandwidth-management cases.

Site Link properties dialog showing the replication interval set to 180 minutes and the Change Schedule button, alongside the schedule grid with green blocks representing hours when replication is allowed
The schedule grid — block specific hours per site link to keep replication out of business-day WAN saturation windows.

Part 6 — Map subnets to sites

This is the part that ties the topology to actual client behavior. When a client tries to find a DC, it does a DNS lookup against the SRV records and AD picks the “closest” DC by checking the client’s source IP against the subnet-to-site mapping. If the client’s subnet isn’t mapped, AD treats it as “site unknown” and picks any DC at random. A laptop in your Dallas office can end up authenticating against a Birmingham DC purely because nobody added the Dallas subnet here.

The subnet rules

  • A subnet maps to exactly one site
  • A site can have many subnets
  • Subnets must not overlap across sites — behavior is undefined and undesirable
  • Both IPv4 and IPv6 subnets are supported (configure both if your environment uses both)

Step 4 — Add subnets

Right-click the Subnets folder in the left panel > New Subnet. Enter the prefix in CIDR notation, pick the associated site from the dropdown, click OK.

Active Directory Sites and Services showing the Subnets folder with the right-click New Subnet option, and the New Object  -  Subnet dialog with an IP address range entered and the site association dropdown showing New York selected
Add the subnet in CIDR notation and pick which site owns it — one subnet, exactly one site.

For our three-site lab:

  • 192.168.1.0/24New York
  • 192.168.2.0/24Dallas
  • 192.168.3.0/24Birmingham
New Object  -  Subnet dialog showing 192.168.3.0/24 entered with Birmingham selected as the associated site, and the completed Subnets folder showing all three subnets listed and mapped to their respective sites
All three subnets mapped — clients in each office now resolve to the local site’s DC.

Part 7 — Site link bridging

Site link bridging means “every site link is transitively connected to every other site link of the same transport.” Translation: even if there’s no direct Dallas-to-Birmingham site link, AD can still replicate between them by hopping through New York. This is enabled by default and is correct for most environments.

Active Directory Sites and Services showing the IP transport node with subnet and site link configurations, and explanatory notes about site link bridging being enabled by default allowing transitive replication between all sites
Site link bridging is on by default — transitive replication just works without explicit bridge objects.

When to disable it

Two scenarios warrant turning bridging off:

  • Hub-and-spoke topologies where you specifically don’t want spoke sites talking to each other — all replication should funnel through the hub for routing or auditing reasons
  • Bandwidth-constrained meshes where transitive replication chooses paths your WAN can’t handle

How to disable bridging

Right-click Inter-Site Transports > IP > Properties. Untick Bridge All Site Links, click OK. This kills transitive bridging across the whole IP transport.

Custom bridges after disabling

With automatic bridging off, you can hand-pick which links are bridged together. Right-click IP > New Site Link Bridge, name it, add the specific site links you want bridged, click OK. The result: those links replicate transitively, but other links don’t. Granular control at the cost of more topology to maintain.

IP Properties dialog with Bridge All Site Links checkbox highlighted, and the New Site Link Bridge dialog showing a custom bridge being created with specific site links added to control replication paths
Disable global bridging and create explicit Site Link Bridge objects for hub-and-spoke or constrained-WAN topologies.

Verify it’s actually working

AD pushes the topology into DNS automatically — the per-site SRV records under _sites in your AD DNS zone are how clients pick a local DC. After the configuration settles, on a client in each location run nltest /dsgetsite — it should report the site the client’s subnet maps to. Run repadmin /showrepl on any DC to confirm replication is happening over the expected site links with the cost-based path you designed.

Server Manager Dashboard and Active Directory Sites and Services showing the completed three-site topology with New York, Dallas, and Birmingham sites, all three site links, and the subnet associations configured
Three sites, three named site links with explicit costs, three subnets mapped — the topology is complete and DNS is now publishing site-aware SRV records.

Things that bite people in production

Cost is administrative, not measured

AD doesn’t probe your WAN to figure out which link is faster. The cost number is whatever you assign. Pick a convention and document it — the “5MB” / “512K” embedded in our link names is one such convention; another common one is 1024 / Mbps. The values matter only relative to each other.

Default-First-Site-Name is a trap

Anything not explicitly assigned to a site lands here — new DCs after promotion, subnets you forgot to map, the lot. Either rename it to a real site you actually use, or get rigorous about moving objects out of it after creation. A “Default-First-Site-Name” with one DC and no subnets in a multi-site forest is a misconfiguration waiting to bite you the next time someone promotes a new DC.

Subnet overlap is undefined behavior

Two subnets covering overlapping address space mapped to different sites: AD picks one of them, and the choice isn’t guaranteed to be consistent. Use clean, non-overlapping prefixes and document the mapping in the same place you document your IP plan. /24 or larger gives you clean boundaries; smaller masks invite mistakes.

SRV record TTL

Site changes don’t take effect on clients until DNS records refresh. The default TTL is 600 seconds (10 minutes). After topology changes, give DNS a chance to propagate before declaring something broken — or shorten the TTL during planned cutovers.

Where this fits

Sites and Services is the foundation under everything that’s site-aware: Group Policy application, DFS Namespaces referrals, Exchange autodiscover, even Configuration Manager boundaries. For the next layer up see DFS file management (which uses site costs to pick the closest folder target) and the rest of the Active Directory pathway for multi-site replication topology, repadmin verification, and the broader site-design picture.