On this page
- Key Takeaways
- 1. Inventory URLs and their owners
- 2. Compare representative old and new URLs
- 3. Verify ownership, mapping, and redirects
- 4. Check authentication and browser behavior
- 5. Test an authorized sample before switching traffic
- 6. Record unresolved links and rollback steps
- Common Mistakes
- Best Practices
- Conclusion
Moving customer sites to new domains is more than a DNS change. A link can reach the new application and still open the wrong tenant, lose its destination after login, or expose account-specific information. This SaaS custom domain migration checklist helps a small team compare representative URLs, verify tenant mappings, and test a controlled sample before switching traffic.
Key Takeaways
- Build an inventory of tenant hosts, authentication destinations, public pages, documentation, and links shared outside the product.
- Compare old and new URLs using synthetic tenant names and query values; keep the real tenant mapping in an access-controlled system.
- Verify domain ownership and the host-to-tenant mapping independently. A working redirect does not prove that the destination belongs to the right customer.
- Test a small authorized sample before the switch, record unresolved links, and prepare rollback steps that account for DNS caching and data changes.
1. Inventory URLs and their owners
Create a migration register with one row per URL pattern or important destination. Record the old and new host, path and relevant query parameters, the expected tenant or public destination, the owner, and the planned validation. Keep real customer identifiers and account-specific links in a restricted system rather than in a broadly shared checklist.
- Tenant hosts: List every customer domain and the tenant it should serve, including aliases and subdomains. Identify inactive or unclaimed hosts separately.
- Login and callback destinations: Inventory sign-in URLs, post-login destinations, identity-provider callback URLs, logout destinations, and any customer-configured authentication integrations.
- Public pages: Include landing pages, help pages, status pages, public tenant pages, and other destinations that do not require a login.
- Customer documentation: Review setup guides, onboarding instructions, API documentation, and support articles for old domains and screenshots that show them.
- Links shared outside the product: Identify links in customer websites, emails, bookmarks, integrations, browser extensions, and third-party directories. Assign an owner to each place your team can update; note the links you cannot directly change.
- Ownership: Assign someone to verify each domain, coordinate with each customer where needed, and approve the final mapping.
For each entry, distinguish a link that should redirect from one that should be updated at its source. An old email may need a redirect for an extended period; a configurable integration may also require the customer to update its settings.
Advertisement
2. Compare representative old and new URLs
Select examples that exercise distinct behaviors, not just the home page: a tenant dashboard, a deep link, a login flow with a return destination, a public page, and an externally shared link. Include a case with a query string and, if your application uses them, a fragment after #.
The examples below are fictional fixtures, not real customer URLs. Replace real tenant names and account-specific query values with synthetic equivalents before sharing a comparison.
| Purpose | Old URL | Proposed new URL | What to verify |
|---|---|---|---|
| Tenant dashboard | https://alpha-old.customer.example/dashboard | https://alpha-new.customer.example/dashboard | Both hosts are assigned to the same authorized tenant. |
| Deep link | https://alpha-old.customer.example/projects/demo?view=summary | https://alpha-new.customer.example/projects/demo?view=summary | The path identifies the intended resource and the query retains its meaning. |
| Login destination | https://alpha-old.customer.example/login?next=%2Fdashboard | https://alpha-new.customer.example/login?next=%2Fdashboard | Sign-in returns to the intended tenant and an allowed local path. |
| Public documentation | https://docs-old.vendor.example/setup | https://docs-new.vendor.example/setup | The page is public and existing inbound links reach the intended guide. |
For each pair, check the scheme, hostname, path, query parameters, and fragment separately. A URL can look similar while changing its meaning: path casing, trailing slashes, encoding, or duplicate query parameters may matter to an application. A fragment is not sent in the HTTP request, so do not assume a server-side redirect can inspect or transform it.
Protect the comparison:
- Use consistent fictional labels, such as
alpha, so reviewers can follow a mapping without seeing a real tenant name. - Replace tokens, email addresses, account IDs, and other sensitive values with synthetic values. Parameter names can also be sensitive; generalize them where necessary.
- Preserve the structural properties needed for review, such as whether a parameter is present or repeated, without copying a secret into a ticket or comparison tool.
- Keep the real-to-synthetic mapping and any raw URL exports access-controlled. Do not paste private URLs into an external service unless its use is authorized for that data.
A URL comparison identifies differences; it does not establish that a destination is safe or belongs to the correct tenant. Confirm those properties in the tenant configuration and by testing.
3. Verify ownership, mapping, and redirects
A catch-all redirect such as “send every old host to the new home page” can produce a successful page load while losing the tenant context. For example, if two old customer hosts both redirect to one generic host and the application selects a tenant from a default or existing session, a visitor may land in the wrong account. Authorization must still prevent cross-tenant access, but the migration should not depend on a default tenant being correct.
- For every new host, verify customer authorization and control using your domain-ownership process. Confirm that DNS points to the intended service and that a valid certificate is served for the host. DNS configuration alone is not a substitute for verifying ownership.
- Check the configured mapping from each old host to its intended tenant and new host. Review aliases and similar-looking hostnames individually.
- Use explicit redirect mappings for recognized hosts. Reject or handle unknown and unclaimed hosts safely rather than sending them to a default tenant.
- Verify that redirects retain only the intended path and parameters. Do not copy secrets or account-specific values to a different host without an explicit need and security review.
- Validate any post-login return destination against an allowlist or a safe local-path policy; do not allow an arbitrary URL to turn the login flow into an open redirect.
- Check that authorization still enforces tenant isolation after a redirect, including when a user has an existing session for a different tenant.
- Review whether abandoned old hosts remain under your control and whether their DNS records could point to a service you no longer control. Plan when and how to retire them.
4. Check authentication and browser behavior
Domain changes can break a login flow even when public pages work. Coordinate with whoever manages each identity provider or customer integration before changing registered callback destinations.
- Confirm that the new callback URL is registered where required and matches the application's configured callback. Test the complete sign-in and sign-out flow with an authorized account.
- Check that the intended tenant survives the round trip through the identity provider and that authentication state and anti-forgery checks still work.
- Review cookie scope, security attributes, and session behavior on both hosts. Do not assume a cookie set for the old host will be available on the new one.
- Test a user with no session and a user already signed in to a different tenant. Confirm that neither reaches another tenant's data.
- Check links that initiate actions, not just page loads. Do not assume redirecting a form submission or API request preserves its method, body, or authentication behavior; test the actual client and response.
Advertisement
5. Test an authorized sample before switching traffic
Choose a small sample with customer authorization and coverage across different configurations: for example, one standard tenant, one with a custom identity provider, and one with important external deep links. Agree on the test window and expected results with the relevant owners.
- Prepare: Confirm the new domains, certificates, tenant mappings, and callback registrations are in place. Use approved test accounts and non-sensitive test data.
- Walk each URL pair: Open the old URL and record the redirect chain and final destination. Independently open the new URL. Verify the page, tenant identity, and expected access in both cases.
- Exercise failures: Try an unknown host, an unauthorized account, an expired or invalid link, and an old link whose destination no longer exists. Confirm the result fails safely rather than opening a default account.
- Check external entry points: Follow a sample link from documentation, an email, or an integration. Test the full login round trip where applicable.
- Review evidence: Record pass/fail, owner, date, and any corrective action without storing tokens or private URL values in a shared report. Expand testing or delay the switch if the sample exposes a mapping or isolation issue.
A small sample reduces the initial scope of testing; it does not prove that every tenant and link works. Track which configurations and URL patterns remain untested.
6. Record unresolved links and rollback steps
Before the switch, maintain an issue register with the affected URL pattern or synthetic example, expected destination, impact, owner, workaround, and target resolution. Flag links controlled by customers or third parties separately, and decide how long old-domain redirects must remain available. Do not mark a migration complete merely because the new homepage loads.
Prepare a rollback runbook with named decision-makers and a clear trigger, such as an incorrect tenant mapping or a failed authentication flow. Include:
- The previous DNS, routing, certificate, and application configuration, stored securely and ready to restore.
- Steps to restore old-host mappings and authentication callbacks, plus who can make each change.
- A verification plan for representative tenants, login flows, and externally shared links after rollback.
- A communication plan for customers and support, including any manual steps customers must reverse.
- A plan for data written during the migration window. Reverting routing does not automatically undo writes or synchronize divergent systems.
DNS changes may remain cached, so rollback can be gradual rather than instantaneous. Keep both paths safe during the transition where feasible, and monitor for requests still arriving on old hosts without logging sensitive query values.
Common Mistakes
- Comparing only hostnames: A changed path, query parameter, or login destination can break a deep link even when the host is correct.
- Treating a successful redirect as proof of isolation: Check the final tenant and authorization with more than one account context.
- Copying real links into public tickets: URLs may contain tenant names, identifiers, or credentials. Share sanitized fixtures instead.
- Changing callbacks without coordinating with customers: An identity provider may reject the new destination until its configuration is updated.
- Removing old domains too early: Links in emails and third-party systems can outlive the deployment.
- Assuming rollback is just a DNS edit: Authentication settings, cached routes, and data written during the migration also need a plan.
Best Practices
Use explicit, reviewed host-to-tenant mappings and keep the migration register current as customers are verified. Separate public examples from restricted operational records. Test the complete user journey, including authentication and failures, and give unresolved links an owner before changing traffic.
Conclusion
A reliable custom-domain migration review connects each old URL to a verified destination and tenant, then checks the journey with authorized users. Start with a representative sample, document gaps, and keep a practical rollback path until the new domains are operating as intended.
What would your domain sell for?
A free TidyURLs account unlocks the Domain Estimator. It prices a name from 191,011 real domain sales.