WindowsPublished on August 29, 202620 min read

Install Active Directory on a Windows Server 2025 VPS

This guide explains how to install Active Directory on a Windows Server 2025 VPS: create the ad.example.com forest, configure DNS, join a workstation, add a second domain controller, secure the service and prepare a restore. Each PowerShell command is followed by a check. It is written for system administrators who already know Windows Server.

Active Directory Domain Services, or AD DS, centralises users, computers, Kerberos authentication, group policies and access to resources. It runs well on a VPS, as long as you treat the domain controller as a critical component, not as an ordinary Windows server open to the Internet.

Never publish Active Directory ports to the Internet. Workstations and member servers must reach the controller through a private network, a site-to-site VPN or a machine tunnel. Microsoft recommends preventing any direct Internet connection to domain controllers.

This guide creates a new forest. To add a controller to an existing domain, migrate an old domain or replace a controller holding FSMO roles, follow a dedicated migration plan. Test the procedure on a test VPS first. Addressing, interfaces and firewall rules depend on your infrastructure.

Active Directory, domain and domain controller

AD DS is the directory service. The domain is a logical boundary holding objects, policies and a DNS namespace. The domain controller, or DC, is a server that hosts a copy of the directory and answers authentication requests. Here are the example values.

ItemExample valueRole
AD DNS domainad.example.comInternal namespace of the forest
NetBIOS nameEXAMPLEShort name for legacy uses
First controllerDC01.ad.example.comAD DS, DNS, global catalog and initial FSMO roles
DC01 private address10.50.0.10Address used by domain members
Second controllerDC02.ad.example.comAD DS and DNS redundancy
DC02 private address10.50.0.11Second DNS server for clients

AD DS is not Microsoft Entra ID. Entra ID is a cloud identity service built for Microsoft 365 and modern apps. AD DS provides the classic Windows domain protocols: Kerberos, LDAP, integrated DNS and GPOs. The two can be connected, but one does not replace the other.


Can a domain controller run on a VPS?

Yes, Windows Server supports virtualised domain controllers. The real question is how the service is protected, backed up and kept available.

UseMinimum architectureVerdict
Training or labOne VPS, a test domain, VPN accessAcceptable if losing the domain is tolerable
Small productionTwo DCs with DNS on two VPS, ideally on two hosts or sitesReasonable minimum against a single point of failure
Critical productionAt least two DCs, several failure zones, off-server backups and a tested recoveryRecommended
DC with AD ports open to the InternetA public VPS without VPNNever

A single controller can work. But if it fails, new authentications, internal DNS and many admin tasks stop. Cached credentials sometimes still allow a sign-in, without making the domain usable.


Prepare the system and the network

System and resources

You need an up-to-date Windows Server 2025, a local administrator account and a fixed IP address for the private or VPN interface used by Active Directory. Both the Standard and Datacenter editions support AD DS. The inventory command in the next step shows the edition of your VPS.

You also need a real registered public domain, such as example.com, and a subdomain reserved for AD, such as ad.example.com. Plan restricted RDP access or a recovery console, and a backup destination separate from the system disk.

Count 2 vCPU and 4 GB of memory for a small lab, and rather 4 vCPU, 8 GB and 80 GB of storage for a small production controller. These are not official minimums. Sizing depends on the number of objects, authentications, DNS and logs. Microsoft publishes an AD DS capacity planning method.

Private network or VPN

The controller needs a stable address that domain members can reach, for example 10.50.0.10. It can come from a private network between VPS, a site-to-site VPN between your company and the VPS, a permanent VPN tunnel on each member machine, or a mix of these.

Between OuiHeberg VPS in the same country, the private network of the client area provides this interface without going through the Internet. You enable it on the Network and IP tab of each VPS. The guide How to connect two VPS over a private network covers activation and static addressing on Windows Server. For a second controller in another country, or to connect your offices, use a VPN.

Network and IP tab of a VPS with the Private network card not enabled and its three steps

A remote workstation must bring up its tunnel before Windows sign-in if it needs the domain from the logon screen. A VPN started after user sign-in is not enough for every Kerberos, GPO and first sign-in case. If the VPN drops, signed-in machines may keep cached credentials, but Kerberos, new GPOs and internal DNS can fail. The VPN is part of the domain's availability.


Choose the Active Directory domain name

Use a subdomain of a name your organisation controls.

ad.example.com
corp.example.com
internal.example.com

Avoid these names.

  • A single-label name, such as COMPANY.

  • A made-up suffix, such as .lan.

  • The .local extension, reserved for multicast DNS (mDNS) and a source of ambiguous resolution.

  • The bare public domain example.com, if your website and Internet services already use that zone and you do not master split DNS.

Microsoft advises using a subdomain of a registered name to avoid collisions. See its recommendations on AD domain names and RFC 6762, which gives special meaning to names ending in .local. This choice also makes certificates and future integrations simpler.

The NetBIOS name is limited to 15 characters. For ad.example.com, the example uses EXAMPLE. The ad.example.com zone can stay in Active Directory's internal DNS. There is no need to publish the controllers' private addresses in public DNS.


Prepare the VPS before promotion

Connect over RDP, open PowerShell as administrator and record the current configuration. The first command also shows the Windows Server edition.

Get-ComputerInfo |
    Select-Object WindowsProductName, WindowsVersion, OsBuildNumber

Get-NetIPConfiguration
Get-NetAdapter
Get-DnsClientServerAddress
Get-NetFirewallProfile |
    Select-Object Name, Enabled, DefaultInboundAction, DefaultOutboundAction

Keep this information in your operations file. A wrong gateway, prefix or interface can cut RDP at once.

Install updates

Install the available Windows updates and restart before adding AD DS. The guide How to set up a new Windows VPS covers the first connection and Windows Update. After the restart, check the latest updates.

Get-HotFix |
    Sort-Object InstalledOn -Descending |
    Select-Object -First 10

Rename the server

Choose a lasting name before promotion.

Rename-Computer -NewName "DC01" -Restart

Reconnect after the restart and check with hostname. Renaming a controller already in production is possible in some cases, but needlessly risky for a first deployment.


Set fixed addressing without losing access to the VPS

A domain controller must not change address with a DHCP lease. On a VPS, the public IPv4 is usually reserved already, but how it is configured depends on the provider. Never replace the address, prefix or gateway with the examples below. First display the current values.

Get-NetIPConfiguration -All
Get-NetIPAddress -AddressFamily IPv4 |
    Sort-Object InterfaceIndex
Get-NetRoute -DestinationPrefix "0.0.0.0/0"

Here is Microsoft's syntax for a fixed address. If the public address is already configured correctly, do not recreate it.

# SYNTAX EXAMPLE: replace every value with the ones actually assigned to you.
New-NetIPAddress `
    -InterfaceAlias "Ethernet" `
    -IPAddress "<ASSIGNED_IP>" `
    -PrefixLength <PREFIX> `
    -DefaultGateway "<GATEWAY>"

Separate the public and private interfaces

In the recommended case, an Ethernet Public interface carries the public IPv4, kept for restricted administration, and an AD-Private interface carries 10.50.0.10, used by AD DS and DNS. First check the exact interface names.

Get-NetAdapter |
    Select-Object Name, InterfaceDescription, Status, MacAddress

Then stop the public address from being published in the domain's DNS zone.

Set-DnsClient `
    -InterfaceAlias "Ethernet Public" `
    -RegisterThisConnectionsAddress $false

Set-DnsClient `
    -InterfaceAlias "AD-Private" `
    -RegisterThisConnectionsAddress $true

Microsoft describes this precaution for multihomed domain controllers with an interface that must not register in DNS. After promotion, delete any unwanted old A record.

Configure the DNS client of the future DC

For the first and only DNS server of the new domain, point the private interface to its own address.

Set-DnsClientServerAddress `
    -InterfaceAlias "AD-Private" `
    -ServerAddresses "10.50.0.10"

Get-DnsClientServerAddress `
    -InterfaceAlias "AD-Private" `
    -AddressFamily IPv4

This replaces any DNS servers handed out by DHCP on this interface. After installation, the local DNS service resolves the AD zone and forwards other queries to forwarders. See Microsoft's DNS recommendations for domain controllers.


Install the AD DS role

In PowerShell as administrator, install the role, then check the result.

Install-WindowsFeature `
    -Name AD-Domain-Services `
    -IncludeManagementTools
Get-WindowsFeature AD-Domain-Services |
    Select-Object Name, InstallState

InstallState must be Installed. The server is not a domain controller yet. Since Windows Server 2012, role installation and promotion are two separate operations, and dcpromo.exe is no longer the method to use. The current procedure is described in Install Active Directory Domain Services.


Test the prerequisites, then create the forest

Load the deployment module and run the prerequisite check first. It checks that the server can create the forest, without promoting it. Fix any blocking error before going on.

Import-Module ADDSDeployment

Test-ADDSForestInstallation `
    -DomainName "ad.example.com" `
    -InstallDNS

Choose the DSRM password

The Directory Services Restore Mode password opens a recovery session when AD DS does not start. It must differ from the domain Administrator password, and be long and random. Store it in the organisation's password vault, available to the people in charge of recovery.

Create the forest

$DsrmPassword = Read-Host `
    "DSRM password" `
    -AsSecureString

Install-ADDSForest `
    -DomainName "ad.example.com" `
    -DomainNetbiosName "EXAMPLE" `
    -InstallDNS `
    -SafeModeAdministratorPassword $DsrmPassword `
    -NoRebootOnCompletion:$false `
    -Force

Install-ADDSForest creates the root domain, installs DNS by default, initialises SYSVOL and restarts the server. The Microsoft cmdlet reference lists every parameter.

For a forest made only of Windows Server 2025 controllers, you can pick the highest functional level. The 2025 level only accepts Windows Server 2025 on controllers, though. Stay at level 2016 if you may need to add DCs running 2016, 2019 or 2022. See the official functional level matrix. Without level parameters, the module computes defaults, to check after promotion.

Graphical method

  1. In Server Manager, open Manage › Add Roles and Features.

  2. Select Active Directory Domain Services, then install the role and tools.

  3. Click the notification, then Promote this server to a domain controller.

  4. Choose Add a new forest and enter ad.example.com.

  5. Keep DNS and Global Catalog, then set the DSRM password.

  6. Check the NetBIOS name, paths and prerequisites, then start the installation.

PowerShell is still the better choice, as the procedure can be documented and replayed and leaves a usable change log.


Check that the domain controller works

After the restart, sign in with EXAMPLE\Administrator or Administrator@ad.example.com, then open PowerShell as administrator.

Get-ADDomain |
    Select-Object DNSRoot, NetBIOSName, DomainMode, PDCEmulator, RIDMaster

Get-ADForest |
    Select-Object Name, ForestMode, SchemaMaster, DomainNamingMaster

Get-ADDomainController -Filter * |
    Select-Object HostName, IPv4Address, Site, IsGlobalCatalog

Get-Service NTDS, DNS, Netlogon, Kdc |
    Select-Object Name, Status, StartType

Check the required shares.

Get-SmbShare -Name SYSVOL, NETLOGON

Then test overall health and DNS.

dcdiag /v
dcdiag /test:dns /v

Resolve-DnsName `
    -Type SRV `
    "_ldap._tcp.dc._msdcs.ad.example.com"

dcdiag analyses the state of the controllers. The DNS test checks the SRV records that locate LDAP, Kerberos, the global catalog and the PDC. See verify DNS functionality to support directory replication. With a single DC, having no replication partner is normal. Do not mistake it for a DNS or SYSVOL error.


Configure DNS correctly

Active Directory relies on DNS to locate controllers and services. Member machines must only use the AD DNS servers on their private or VPN adapter.

Do not set 1.1.1.1, 8.8.8.8 or your router's DNS as a member's second DNS server. Windows does not keep it as a mere fallback. It may query it and conclude that the internal domain does not exist.

Public DNS servers, or your provider's, are set as forwarders on the AD DNS servers, not on clients. Display the configuration.

Get-DnsServerForwarder
Get-DnsServerZone

Here is an example of forwarders, to replace with the resolvers your organisation approves.

Set-DnsServerForwarder `
    -IPAddress 1.1.1.1, 9.9.9.9 `
    -UseRootHint $true

Forwarders are used for names the AD DNS cannot resolve itself. They are described in DNS Forwarding in Windows Server.

Limit DNS to the private interface

On a VPS with a public and a private interface, limit DNS listening to the AD address.

$DnsSettings = Get-DnsServerSetting -All
$DnsSettings.ListeningIpAddress = @("10.50.0.10")
Set-DnsServerSetting $DnsSettings

Restart-Service DNS

Check the result.

Get-DnsServerSetting -All |
    Select-Object -ExpandProperty ListeningIpAddress

Make sure the private address is reachable before removing listening on another interface.


Set the domain time

Kerberos needs consistent clocks. Members sync their time with the domain, and the controller holding the forest root PDC Emulator role must use a reliable external NTP source. Only that PDC queries the external source, the other DCs follow the hierarchy, according to the AD DS time hierarchy. Find the PDC.

netdom query fsmo

On that PDC only, replace the names with two approved NTP sources.

w32tm /config `
    /manualpeerlist:"<NTP1>,0x8 <NTP2>,0x8" `
    /syncfromflags:manual `
    /reliable:yes `
    /update

Restart-Service w32time
w32tm /resync /rediscover
w32tm /query /source
w32tm /query /status

Allow outbound UDP 123 to these sources. After the change, check the source shown instead of assuming the command was enough.


Create OUs, a user and a group

Do not leave every object in the default containers. Organisational units make delegation and GPOs easier, and separate workstations, servers and accounts.

Import-Module ActiveDirectory

$BaseDn = (Get-ADDomain).DistinguishedName

@(
    "Users",
    "Groups",
    "Workstations",
    "Servers",
    "Service accounts"
) | ForEach-Object {
    New-ADOrganizationalUnit `
        -Name $_ `
        -Path $BaseDn `
        -ProtectedFromAccidentalDeletion $true
}

Create a security group.

New-ADGroup `
    -Name "GG-Support" `
    -SamAccountName "GG-Support" `
    -GroupCategory Security `
    -GroupScope Global `
    -Path "OU=Groups,$BaseDn" `
    -Description "Support team"

Create a user without writing the password in clear text.

$UserPassword = Read-Host `
    "Temporary password" `
    -AsSecureString

New-ADUser `
    -Name "Alice Martin" `
    -GivenName "Alice" `
    -Surname "Martin" `
    -DisplayName "Alice Martin" `
    -SamAccountName "amartin" `
    -UserPrincipalName "amartin@ad.example.com" `
    -Path "OU=Users,$BaseDn" `
    -AccountPassword $UserPassword `
    -Enabled $true `
    -ChangePasswordAtLogon $true

Add-ADGroupMember `
    -Identity "GG-Support" `
    -Members "amartin"

Check the result.

Get-ADUser amartin -Properties MemberOf |
    Select-Object Name, Enabled, UserPrincipalName, MemberOf

Create a named admin account, separate from the everyday office account. Do not add every technician to Domain Admins: Microsoft recommends least privilege and secure admin workstations in its best practices for securing Active Directory.


Join a Windows workstation to the domain

The workstation must run an edition that can join a domain, such as Pro or Enterprise. Windows Home cannot. See Join a computer to a domain.

Check network and DNS on the workstation

The VPN or private network must be up. Point the workstation's DNS to the DC.

Get-NetAdapter

Set-DnsClientServerAddress `
    -InterfaceAlias "Ethernet" `
    -ServerAddresses "10.50.0.10"

Then test resolution.

Resolve-DnsName "ad.example.com"
Resolve-DnsName `
    -Type SRV `
    "_ldap._tcp.dc._msdcs.ad.example.com"

nltest /dsgetdc:ad.example.com /force

If SRV resolution fails, do not join the domain by IP address. Fix DNS.

Join the domain

$Credential = Get-Credential "EXAMPLE\Administrator"

Add-Computer `
    -DomainName "ad.example.com" `
    -Credential $Credential `
    -Restart `
    -Verbose

In production, delegate the right to join computers to a limited group instead of using Domain Admins. After the restart, sign in with EXAMPLE\amartin and check the secure channel.

Test-ComputerSecureChannel -Verbose
whoami
gpresult /r

Which ports should the VPN allow?

Installing the role creates the needed Windows rules. The client area has no network firewall for VPS. Besides the Windows Firewall, your VPN must let these flows through. The exact list depends on the features you use.

ServiceMain portsUse
DNSTCP/UDP 53Domain resolution and SRV records
KerberosTCP/UDP 88Authentication
NTPUDP 123Time sync
RPC Endpoint MapperTCP 135RPC service discovery
LDAPTCP/UDP 389Directory, SASL and locator
SMBTCP 445SYSVOL, NETLOGON and group policies
Kerberos password changeTCP/UDP 464Password management
LDAPSTCP 636Encrypted LDAP for compatible apps
Global CatalogTCP 3268 and 3269Forest-wide searches
Dynamic RPCTCP 49152-65535Administration, replication and RPC operations

The full reference is Service overview and network port requirements for Windows. Allow these ports only between approved private or VPN subnets, never with an Internet Any/Any rule to ease troubleshooting. Also restrict RDP to the VPN or your admin addresses, with the guides How to open a port in Windows Firewall on a VPS and Block RDP brute-force attacks on a Windows VPS.


Protect LDAP: signing and LDAPS

New Active Directory deployments on Windows Server 2025 require LDAP signing by default, through the "Domain controller: LDAP server signing requirements enforcement" policy. It prevents tampering with LDAP messages in transit and rejects unsigned SASL binds and unprotected simple binds. Microsoft describes this behaviour in LDAP signing for Active Directory Domain Services.

Do not turn off LDAP signing to get an old app working quickly. Prefer, in this order:

  1. Kerberos or Negotiate with LDAP signing.

  2. StartTLS, if the app supports it.

  3. LDAPS on TCP 636, with a valid server certificate.

  4. Updating or replacing an app that can only do an unencrypted simple bind.

For LDAPS, the controller certificate must carry its FQDN in the CN or SAN, have the Server Authentication usage, hold its private key and chain to an authority the client trusts. See Configure LDAP over SSL certificates.

Even LDAPS must not be open to the whole Internet. If an external integration cannot use the VPN, strictly limit source addresses, monitor attempts and consider an application gateway rather than exposing the DC directly.


Add a second domain controller

In production, create DC02 on another VPS, ideally in another failure zone, and connect it to the same private network or VPN. Before joining, point its preferred DNS to DC01.

Set-DnsClientServerAddress `
    -InterfaceAlias "AD-Private" `
    -ServerAddresses "10.50.0.10"

Join DC02 to the domain.

$Credential = Get-Credential "EXAMPLE\Administrator"

Add-Computer `
    -DomainName "ad.example.com" `
    -Credential $Credential `
    -Restart

After the restart, install AD DS, then check the prerequisites.

Install-WindowsFeature `
    -Name AD-Domain-Services `
    -IncludeManagementTools

Test-ADDSDomainControllerInstallation `
    -DomainName "ad.example.com" `
    -InstallDNS

Promote DC02. The syntax is described in Install-ADDSDomainController.

$DsrmPassword = Read-Host `
    "DC02 DSRM password" `
    -AsSecureString

Install-ADDSDomainController `
    -DomainName "ad.example.com" `
    -InstallDNS `
    -SafeModeAdministratorPassword $DsrmPassword `
    -NoRebootOnCompletion:$false `
    -Force

After replication, cross the client DNS settings: DC01 with 10.50.0.11 as preferred and 10.50.0.10 as secondary, DC02 the other way round, and members with both addresses. Check replication.

repadmin /replsummary
repadmin /showrepl
dcdiag /e /c
dcdiag /test:dns /e /v

Two DCs on the same hypervisor, storage and network protect against software failures, not against a failure of that shared infrastructure.


Enable the Active Directory Recycle Bin

The AD Recycle Bin restores some deleted objects with their attributes. It is off by default, and enabling it cannot be undone. It is generally recommended once the forest has been validated.

Get-ADOptionalFeature `
    -Filter 'Name -eq "Recycle Bin Feature"' |
    Enable-ADOptionalFeature `
        -Scope ForestOrConfigurationSet `
        -Target "ad.example.com"

Check that it is enabled.

Get-ADOptionalFeature `
    -Filter 'Name -eq "Recycle Bin Feature"' |
    Select-Object Name, EnabledScopes

Only objects deleted after activation can be restored this way. The Recycle Bin replaces neither a system state backup nor a recovery plan. See Enable Active Directory Recycle Bin.


Apply the Windows Server 2025 security baseline

Microsoft provides, with OSConfig, a security baseline specific to the domain controller role. Test it on a non-critical environment first. It hardens protocols and changes drive redirection in RDP sessions, which can disturb old software or your habits. Install the module.

Install-Module `
    -Name Microsoft.OSConfig `
    -Scope AllUsers `
    -Force

Apply the domain controller baseline.

Set-OSConfigDesiredConfiguration `
    -Scenario SecurityBaseline/WindowsServer/2025/DomainController `
    -Default

Check compliance.

Get-OSConfigDesiredConfiguration `
    -Scenario SecurityBaseline/WindowsServer/2025/DomainController |
    Format-Table `
        Name, `
        @{Name="Status"; Expression={$_.Compliance.Status}}, `
        @{Name="Reason"; Expression={$_.Compliance.Reason}} `
        -AutoSize `
        -Wrap

Microsoft describes the prerequisites, effects and commands in Configure Windows Server 2025 security baselines. Other measures remain essential.

  • Keep Windows Defender on and monitored.

  • Install security updates quickly.

  • Ban web browsing, email and office software on the DC.

  • Host no IIS, SQL Server, game server or user tools on the controller, as every extra program widens the attack surface.

  • Use separate, named privileged accounts.

  • Restrict RDP to the VPN or admin addresses.

  • Audit the Domain Admins, Enterprise Admins and Administrators groups.

  • Keep the DSRM secret in a vault.

  • Monitor the Directory Service, DNS Server, DFS Replication, System and Security logs.


Back up Active Directory

A VPS snapshot can help in some scenarios, but it must not be your only Active Directory recovery method. Microsoft provides restore mechanisms suited to virtualised DCs and recommends a system state backup in its forest recovery guide. Install Windows Server Backup.

Install-WindowsFeature Windows-Server-Backup

Back up the system state to a separate volume, here E:.

wbadmin start systemstatebackup `
    -backuptarget:E: `
    -quiet

List the available versions.

wbadmin get versions -backuptarget:E:

The destination must not be the VPS system disk alone. Copy the backup to separate storage, with retention and access control. The guide Back up your Windows VPS covers general methods; for a controller, make sure the method really covers the system state. The automatic backup option of the client area, described in How to set up automatic VPS backups, can complement this setup without replacing that backup.

A backup is only credible once its restore has been tested on a separate network. Document who can start a restore, where the media and keys are, the DSRM password, the order in which controllers are recovered, the non-authoritative or authoritative procedure, and the date of the last successful test.


Automate health checks

Run these commands regularly.

dcdiag /e /c
dcdiag /test:dns /e /v
repadmin /replsummary
netdom query fsmo
w32tm /query /status
w32tm /query /source

Also check the shares and services.

Get-SmbShare -Name SYSVOL, NETLOGON

Get-Service NTDS, DNS, Netlogon, Kdc, DFSR |
    Select-Object Name, Status, StartType

Watch free space on the system volume, replication queues and errors, DNS failures and missing SRV records, time offset and source, stops of NTDS, DNS, Netlogon, Kdc or DFSR, changes to privileged groups, failed authentications and unusual lockouts, and the age of the last backup.


Fix common errors

SymptomLikely causeCheck and fix
"The specified domain either does not exist or could not be contacted"The workstation uses a public DNS or is not on the VPNipconfig /all, Resolve-DnsName and nltest /dsgetdc:ad.example.com /force
Promotion reports a dynamic IPInterface still on DHCP or unstable VPN addressCheck Get-NetIPConfiguration and set the address according to the infrastructure
The server answers with its public IP in DNSPublic interface registered dynamicallyDisable its DNS registration, limit listening and delete the wrong A record
SYSVOL or NETLOGON missingIncomplete AD or DFSR initialisationRead dcdiag, the DFS Replication log and the promotion errors
GPOs do not applyDNS, SMB 445, RPC or SYSVOL unavailablegpresult /h, Test-NetConnection, Get-SmbShare and GroupPolicy logs
Kerberos error with a correct passwordClock skew or wrong NTP sourcew32tm /query /status, w32tm /query /source and PDC role
RDP lost after promotionFirewall profile moved from Public to Domain, or badly scoped ruleUse the client area console, check profiles and RDP rules
repadmin reports 1722 RPC unavailablePort 135, dynamic RPC, DNS or VPN routing blockedTest DNS, TCP 135 and the RPC range, only between DCs
An old LDAP app no longer connectsWindows Server 2025 requires LDAP signingUpdate the app or use signed SASL, StartTLS or LDAPS, without disabling the protection
The workstation joined but cannot do a first sign-in off siteVPN only available after sign-inDeploy a machine tunnel or do the first sign-in on the private network
The second DC does not replicateIts DNS pointed to a public resolver before promotionPoint DC02 to DC01, rerun DNS diagnostics, then replication

Always start with DNS, time and logs. Many errors that look like Kerberos, replication or GPO problems actually come from bad name resolution. If the firewall cuts you off RDP, the client area console stays available, as explained in How to manage your VPS from the client area.


Checklist before production

  • The domain is a subdomain of a name you really control.

  • DC01 has a fixed private or VPN address.

  • No AD port is open to the whole Internet.

  • RDP is restricted to the VPN or admin addresses.

  • The public interface does not register its address in AD DNS.

  • Clients only use DC01 and DC02 as DNS servers.

  • External forwarders are set on the AD DNS.

  • dcdiag and the DNS test show no blocking error.

  • The PDC's NTP source has been checked.

  • SYSVOL and NETLOGON are present.

  • A second DC with DNS exists in production, and replication is healthy.

  • The AD Recycle Bin has been assessed, and enabled if chosen.

  • The Windows Server 2025 baseline was tested before being applied.

  • An off-server system state backup is scheduled, and a restore has been tested.

  • Admin accounts are separate from everyday accounts.

  • Privileged groups and logs are monitored.


Need help?

Open a ticket from Tickets › Open a Ticket, or from the Contact support tile at the bottom of the VPS page. In the Related Service field, pick the VPS so the team saves time. You can also ask your question on the OuiHeberg Discord.

Was this article helpful?

193 views
Share this article
Need a Windows VPS?

Windows Server 2025 with the license included, Remote Desktop access and management from the client area.

View plans →

Related Articles