How to keep hostnames and IPs when migrating domain controllers
Upgrading domain controllers requires deciding whether to reuse the old name and IP after demotion or clean up metadata and DNS. While the process is mind-numbing and laborious, it lets you maintain the same hostnames and IPs during the migration.
What the numbers show
Counted from the threads quoted below. How we count
- The most recent one is from October 2026.
- This comes up 32.3× more often in r/sysadmin than across the site as a whole.
What people tried
Every workaround mentioned in the threads below. We haven’t tested any of them — and nobody here is claiming they worked.
Found another way around this?
Share your steps and trade-offs so fellow engineers don't have to reinvent the wheel. No account required.
- 1Using temporary domain controllers to leapfrog roles before decommissioning old serversDid this help you?
- 2Performing in-place operating system upgradesDid this help you?
- 3Demoting old servers one at a time, cleaning up metadata, and reusing hostnames and IPs on fresh buildsDid this help you?
- 4Searching for specialized managed service providers or consulting partners via industry networks and referralsDid this help you?
- 5Keeping the legacy system running as long as possible with minimal patchesDid this help you?
- 6Isolating outdated systems behind strict firewalls with solid backup plansDid this help you?
- 7Relying on external contractors or specific key people who understand the old codeDid this help you?
- 8Wiping and resetting the server via a server rebuildDid this help you?
- 9Creating a new server and manually migrating the site and databaseDid this help you?
- 10Running outdated software inside virtual machinesDid this help you?
- 11Downgrading virtual machine operating systems to match legacy hardware or softwareDid this help you?
- 12Shopping for a company buyout instead of paying for system migrationDid this help you?
- 13Using current deployment settings and updating them as required to follow best practicesDid this help you?
- 14Doing quick testing to check specialty software before pushing to productionDid this help you?
- 15sticking with older, more stable operating system versionsDid this help you?
- 16delaying upgrades until early bugs are resolvedDid this help you?
- 17manually reviewing release notes and default changes prior to deploymentDid this help you?
- 18Contact managed hosts to ask for an update ETA in writingDid this help you?
- 19Update PHP server packages directly via CLI/package managers on VPS environmentsDid this help you?
- 20Enable emergency WAF rules (e.g., Cloudflare)Did this help you?
- 21Upgrade old PHP major/minor versions (e.g., 8.1 to 8.3) in advance after taking full backupsDid this help you?
In their words
Unedited, grouped by where they were said, most upvoted first within each place, each linked to the thread it came from.
“I have a website that after some time I finally finished building to my liking. It already has a few users using the site. Along with a lot of information/content I manually added.”source ↗
“For optimal performance and security reasons, you should consider running MariaDB version 10.11 or higher. Contact your web hosting company to correct this.”source ↗
“Is there by chance an easier way to do this?”source ↗
“Alright so it sounds like I'll have to update every single client's site tomorrow no matter what, right?”source ↗
“I'm guessing that all websites that are on a VPS will need to update to the latest version of php tomorrow or will older versions get patched too?”source ↗
“Hi guys wondering if anyone can recommend any companies that do NAV 2018 to Cloud migrations in Australia ?”source ↗
“Does anyone have a **25H2 checklist/template** covering what has changed compared to 24H2?”source ↗
“Basically: **what should we review/change before rolling out 25H2 in production?**”source ↗
“Migrating DCs from 2016 to 2022 while keeping the same hostnames and IPs”source ↗
“is it OK to change the name of a DC even after I clean up all the metadata and DNS stuff or would it be better to reuse the name and IP after I demote the old DC?”source ↗
“Its a bit mind numbing and labourious. But it is pretty safe and eventually it should work outomagically without need for any necromancy.”source ↗
“I went in with 47 bullet points trying to convince them to upgrade to something newer.”source ↗
“I don't want to think what would happen.. if that cent vm fell over.. how many days weeks whole place would be down.”source ↗
“A lot of our production machines. I don't know what the deal is, but the vendor won't go beyond XP. Heck, I tried spinning up a Windows 10 virtual machine, and had to downgrade it to Windows 7 in order for a production machine to work better.”source ↗
“Some Avigilon access management system on a windows xp vm because bosses won’t greenlight a new system.”source ↗
“I’ve got two different XP VMs for two different clients who use them for two different proprietary software that was sunsetted my original publishers many years ago. Replacing them would be in the neighborhood of $5k each (plus $500/yr maintenance), plus a steep learning curve, with no data migration path.”source ↗
“We have a BMS management system that cant be upgraded past 2008r2, not as bad as most!”source ↗
“Our financial system, a 30 year old ERP (we got the cobol out though!) with 30 years of customizations that make upgrades a pita.”source ↗
“One of my clients is finding leaving their current very old version of JD Edwards to be so expensive that they started shopping for a buyout instead.”source ↗
“from painful professional experience, stick with 2022.”source ↗
“I deployed one 2025 DC to start the 2016 uplift and shit broke, immediately.”source ↗
“I'm still rocking 2022 even though I've got 2025 licenses. I don't trust it.”source ↗
Where this came up
People with this problem also raised
- 6How to handle enterprise hardware hitting end-of-life on a tight budget
- 2How do I switch from old sysadmin stuff to IaC?
- 10How to migrate scary legacy software nobody wants to touch
- 6Why does a new water heater require so many infrastructure upgrades?
- 2How to update BIOS and firmware remotely across mixed device fleets
- 3How to manage software updates across multiple client accounts