The new site is serving traffic and the old address redirects visitors. That does not yet mean the former platform has been retired safely. The old origin may answer at a direct address, administration and API interfaces may remain on separate names, and a CNAME or NS record may still target a deleted cloud resource. If the name remains under the company's domain while the destination is no longer owned by it, traffic may be exposed to a third-party binding.

A general external attack surface assessment helps find forgotten assets. The narrower decision here is how to accept the retirement of one old web platform, prove that each former path is closed, and stop active validation as soon as an IP address or cloud resource has passed to another owner.

Check Four Layers of Platform Retirement

Moving content changes the user route but does not complete the infrastructure lifecycle. Acceptance checks four layers separately: the first three are closed or moved, while control of the domain and required accounts is preserved:

  • web paths: the previous origin, administrative interface, API, uploads, technical subdomains, and old routes;
  • DNS: A, AAAA, CNAME, and NS records, including delegated child zones;
  • provider bindings: a custom hostname, CDN or SaaS binding, cloud name, load balancer, or other link between the domain and platform;
  • ownership: the domain registration, DNS zone, provider accounts, and accountable teams remain under organizational control.

A redirect from one page establishes only that route's behavior. It does not show whether a direct origin, admin, api, old IP, or cloud-console binding is closed. “Retired” applies to the enumerated assets and evidence, not to everything that was ever associated with the brand.

Build a Matrix of Names, Resources, and Owners

Before shutdown, create an inventory that links each public name to the actual resource and the authority to manage it. This is not only a DNS-team artifact: application, network, cloud, and domain owners need to see who accepts each action.

Scroll sideways to compare

Old nameResourceBindingOwnerRetirement actionEvidence and limitation
old.exampleFormer web applicationCNAME and SaaS/CDN custom hostnameWeb product ownerMove the route, then detach the old binding under provider procedureConfiguration export and current DNS zone; caches may still show the prior answer
admin-old.exampleAdministrative interface on the old originA/AAAA, firewall, virtual hostInfrastructure teamClose the route and service while the IP is still company-ownedNetwork and server configuration; the customer's prior authorization no longer applies after IP transfer
api-old.exampleOld API or gatewayCNAME, certificate, API routesAPI ownerRemove the route and dependent trust listsControl-plane and application state; one 404 does not prove that the binding is gone
child.exampleChild DNS zoneNS records in the parent zoneDNS teamFollow the provider-specific deletion orderReconcile parent delegation and child zone; no sequence is universal across providers
exampleRegistration and authoritative zoneRegistrar and DNS providerDomain ownerPreserve ownership and accountable renewal even after old records are removedCurrent account and renewal state; historical records do not prove current ownership

The matrix should include names found in application configuration, infrastructure as code, CDN settings, certificates, OAuth redirect URIs, CORS/CSP, monitoring, and documentation. DNS history and certificate-transparency data can suggest inventory candidates, but they describe the past. Before any active request, confirm current authority over the IP, hostname, and resource in the owner inventory and control plane.

During pentest scoping, Pentest.red could help separate the former platform into origin, admin, API, DNS, and cloud bindings, then state the evidence needed for each layer. This is not migration management and does not authorize testing a resource merely because it once answered under the customer's domain.

Apply a Stop Rule When Ownership Is Lost

The stop rule applies to the previously agreed scope: once control is lost, the prior authorization for active validation no longer applies. If an IP has returned to a hosting pool, a SaaS name is now registered by another party, an account is closed, or the customer cannot confirm the resource, the tester stops requests under the old authorization. Work may continue only after control is confirmed again and the current owner gives explicit permission under the provider's rules. Until then, work is limited to customer-controlled DNS zones, change records, configuration exports, and provider support.

An old CMDB row, screenshot, certificate-transparency entry, or historical DNS answer does not replace current authorization. A record beneath the company's domain does not by itself extend the prior permission to test its target after transfer. In this assessment, do not try to register an available provider name, create a resource with the same identifier, or otherwise demonstrate claimability in practice.

If ownership is still proven and the asset is in the written scope, a minimal check of the agreed route may be permitted. As soon as a response, provider record, or owner notice indicates transfer, testing stops and the conclusion is limited to configuration risk.

Select the Sequence for the Binding and Provider

There is no universal “delete DNS first” procedure for every platform. Microsoft advises updating DNS before deleting an App Service site; its verification TXT protects the custom-domain binding but does not prevent someone from creating the same provider hostname. Azure alias records couple record lifecycle only to a limited set of resource types.

Route 53 has built-in protection for one dangling-delegation scenario after hosted-zone deletion, while AWS explicitly describes other scenarios it does not cover. For an AWS child zone, the documented sequence removes the parent NS record, waits for that delegation's configured TTL, and then deletes the child zone. If the domain registration is to stay, AWS suggests deleting the relevant records instead of the hosted zone.

A SaaS or CDN binding is also separate from DNS. During a migration between two Cloudflare for SaaS providers, both may temporarily hold an active custom hostname; the CNAME target determines where traffic goes. In that scenario, traffic is confirmed on the new target before the previous provider removes its custom-hostname binding. This is specific to that Cloudflare for SaaS provider transition, not a universal CDN sequence.

Evidence stages for retiring the platform
  1. OwnershipConfirm the current owner of every name, IP, zone, and cloud resource
  2. RoutesEnumerate the origin, admin, API, old names, and application dependencies
  3. BindingsChange DNS and provider bindings in the sequence specified for that resource
  4. ShutdownClose the company-owned old service and preserve configuration evidence
  5. AcceptanceReconcile authoritative state, observations, and limits, then run a narrow retest

Prove Closure of the Origin, Admin, and API Separately

Deleting a CNAME does not turn off a server. An old origin can remain reachable by IP, an alternate name, a direct record, or a path inside the CDN. The administrative interface may use another network, and the old API may use a separate gateway and certificate. Each path therefore needs its own action and evidence: virtual-host, listener, firewall, route, custom-hostname, and dependent trust-list state.

A CDN setting should not become a promise of complete origin isolation. Cloudflare, for example, states that the certificate for global Authenticated Origin Pulls proves a request came from the Cloudflare network but is not exclusive to one account. Acceptance therefore depends on the actual origin configuration and selected mode, rather than one enabled switch.

After the web paths are closed, data disposition remains a separate decision. A closed website does not automatically mean backups, logs, disk images, or archives were destroyed. Access, retention, and deletion for those copies are governed and evidenced under the separate data policy. A web-retirement report should not promise complete personal-data deletion when it assessed only service reachability and configuration.

Do Not Treat 301, 403, 404, or NXDOMAIN as a Complete Guarantee

HTTP 301 shows that some handler still answers. A 403 may represent a firewall, authentication, or CDN policy while the origin remains live. A 404 may come from the application, provider, or an unbound resource. NXDOMAIN is a DNS observation at one vantage point and time, not proof that every reference and cache is gone.

RFC 1034 defines TTL as the period for which a resolver may cache a resource record. RFC 2308 separately defines caching of negative answers, including NXDOMAIN. RFC 8767 permits stale data to be served beyond TTL in the exceptional case where a resolver cannot refresh from an authoritative server. “One TTL passed, therefore every DNS cache is clear” is false. The configured TTL informs scheduling, but acceptance also needs authoritative configuration, observations, and resolver-policy awareness; clients with a hard-coded old IP are a separate problem.

Scroll sideways to compare

ObservationWhat it establishesWhat it does not establish
301 to the new siteThis HTTP route redirects the requestThe old origin, API, and provider binding are closed
403This layer rejected the requestThe resource is removed or unreachable by another path
404This route returned HTTP 404DNS is not dangling or the hostname cannot be rebound
NXDOMAINThis observer received an answer that the domain name does not existEvery cache is updated and no old record remains elsewhere
TimeoutNo response arrived under these conditionsThe service is permanently off or the IP remains company-owned

Walk Through a Safe Hypothetical Retirement

Suppose a company moves shop.example to a new platform, while the former site used admin-old.example, api-old.example, and a child zone named legacy.example. All names, accounts, and IPs are still company-owned. The validation window depends on current TTLs, queues, provider agreements, and outage risk.

The team first records owners and exports configuration. It then confirms the new platform, changes DNS, and removes the old SaaS binding in that provider's documented sequence. The child zone follows the DNS provider's procedure for the parent delegation. While the old IP remains corporate property, the team closes the virtual host, administrative listener, and API route, and removes obsolete callbacks and trust lists from the application.

On reconciliation, shop.example points to the new platform, the former provider control plane contains no old custom hostname, and the old origin configuration contains no serving routes. If the IP has already returned to the hoster, the customer's former authorization for an active request no longer applies: evidence is limited to configuration preserved before transfer, the release event, and the lack of fresh control confirmation and explicit permission from the current owner.

Accept Retirement Through Evidence and a Narrow Retest

The acceptance package should contain the matrix, current DNS zone, parent-delegation state, provider-binding exports, change record, ownership confirmation, closed origin/admin/API paths, and known cache limitations. It should also identify which active checks were authorized and when they stopped because ownership ended.

The general fix-acceptance process is covered in the guide to proving remediation works. For website retirement, the retest repeats agreed paths while control is confirmed: old names, origin, admin/API, and cloud bindings on a named configuration revision. It does not try to claim a free resource; contacting a transferred IP would require fresh confirmation of control and explicit permission from its current owner.

Within a cross-layer penetration test, Pentest.red could manually validate the former accessible paths while ownership is proven, correlate observations with DNS and provider control planes, and give engineers reproducible evidence and priorities. A narrow agreed scenario can be repeated after changes. Resource owners make DNS changes and shut down resources; this assessment verifies agreed paths and configurations, while the disposition of backups is evidenced separately.

Reliable retirement ends with preserved domain ownership and evidence that former routes and bindings are closed, rather than with an empty page. If resource ownership moved before validation, the honest outcome is a stop and a configuration-evidence limitation, not an attempt to prove risk on someone else's system.

PENTEST.RED

Discuss pentest scope and pricing

We start by agreeing on systems, access, constraints and the expected evidence.

Prepare your testing scope

Based on in-depth research, edited for clarity and practical use.

PENTEST.RED / RED JOURNAL