# Test Administrator Access After a Website Hostname Change

https://ferkesh.net/knowledgebase/article/admin-access-test-after-hostname-change

A hostname change can affect redirects, host-scoped cookies, identity-provider callbacks and passkey scope. Verify the intended login flow before relying on the new address.

![Workflow. List approved entry routes. Test a clean session. Check permissions. Record the recovery path.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-16c.svg#admin-access-test-after-hostname-change)

## Inventory approved entry and recovery routes

Record the old and new HTTPS admin URLs, certificate coverage, expected login provider callback and the recovery contact. Confirm the designated hostname and supported MFA methods. Keep an independent approved operator route available during the rollout.

## Verify the new path without changing safeguards

Use a separate clean browser session with an authorized test account. Follow the normal login from its intended URL. Verify redirect destinations, trusted TLS and the supported MFA or passkey behavior. A session cookie scoped to the old host may properly remain scoped to the old hostname.

## Check a representative administrative action

Once signed in, open a permitted read-only admin screen and confirm the account's expected role. Sign out in the test session and verify a protected page asks for a fresh login. Use the supported provider configuration if a callback rejects the new host.

## Record the approved public entry

Document expected old-host behavior, successful sign-in path and rollback instructions. Keep administrator links and identity-provider configuration in the private operational record.

## Related guides

- [Plan Passkey Recovery for Website Administrators](https://ferkesh.net/knowledgebase/article/passkey-recovery-website-owners)
- [Why an HTTPS Redirect Needs a Certificate on the Old Hostname](https://ferkesh.net/knowledgebase/article/tls-for-redirect-source-hostnames)

## Official references

- [MDN cookie domain and host scoping](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Set-Cookie)
- [OWASP session management guidance](https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html)

Ferkesh Hosting. Last reviewed November 27, 2026.
