Fix Guides
Salesforce Instanced URL Enforcement: What Is Changing and How to Find Every Hardcoded Instance URL
Updated 2026-11-18
Short answer: Salesforce is enforcing the use of My Domain URLs, so anything that reaches your org through an instanced hostname such as na123.salesforce.com is at risk. The affected parts are integrations, scripts, named credentials, remote site settings, hardcoded endpoints and pasted links, not users who sign in through your My Domain. Timing is scheduled for early 2027; this page states no exact date because we could not read them on the Salesforce Help article, 005228941. Check that article for the production window.
How to inventory instanced URL usage across the org
No single report lists every use of an instanced hostname. Work through these places in order and record each hit with an owner.
- 1. List integrations and connected apps. From Login History and the API usage reports, list every user and application that calls the org. For each one, ask the owner which hostname it uses for login and for API calls. Anything configured with an instanced hostname (for example na123.salesforce.com or cs45.salesforce.com) is a candidate.
- 2. Review named credentials and external credentials. In Setup, open Named Credentials and check the URL field of each. Also check the endpoint on legacy named credentials and on any external data source, since those are stored separately.
- 3. Review remote site settings and CSP trusted sites. Open Remote Site Settings and Trusted URLs and look for salesforce.com instance hostnames, including your own org calling itself or another org.
- 4. Search code and metadata for hardcoded hostnames. Retrieve the metadata and search Apex classes, triggers, Lightning components, Visualforce pages, flows (HTTP callout and URL elements), formula fields, custom labels, custom metadata, custom settings and static resources for the pattern of a two-letter-plus-digits instance name followed by salesforce.com.
- 5. Search email templates, links and documents. Check email templates, letterheads, button and link definitions, report and dashboard links, and knowledge articles for pasted instance URLs. A link that works today is still a hostname you must replace.
- 6. Check systems outside Salesforce. Ask the owners of middleware, ETL tools, BI tools, scripts, bookmarks, SSO and identity-provider configuration, and partner systems which Salesforce hostname they were given. These are the entries that no Salesforce search can find.
- 7. Replace and retest in a sandbox first. Record every hit in one sheet with its owner, replace the instanced hostname with your My Domain URL (the one ending in my.salesforce.com), and retest the integration in a sandbox before production.
Related guides: Salesforce authentication deadlines in one table and Winter ’27: find the integrations that will break.
Run the free Salesforce health check: a short questionnaire that gives a peer-benchmarked score, with no account and no org connection.
Source: Salesforce Help 005228941. We could not read the article when this page was written, so no dates are stated here. Confirm scope and timing in the live article.
FAQ
What is changing?
Salesforce is enforcing the use of My Domain URLs for access to an org, which means requests that use an instanced hostname such as na123.salesforce.com are the ones at risk. The authority is Salesforce Help article 005228941; read it for the exact scope and behavior.
When does it happen?
Salesforce has published a schedule in the Help article, and it is scheduled for early 2027. We could not read the article's dates when we wrote this page, so we state none. Check article 005228941 for the production window in your org.
Who is affected?
Any integration, script, link or configuration that reaches your org through an instanced hostname instead of its My Domain URL. Internal users who log in through your My Domain are not the main risk; automated callers and pasted links are.
Why do these hostnames end up everywhere?
Before My Domain was required, instance hostnames were what Salesforce documented and what people copied into integrations, templates and tools. They tend to persist in places nobody revisits.
Does Wrenk detect instanced URLs?
No. This page describes a manual inventory you can run yourself. The free health check is a short questionnaire that gives a peer-benchmarked score, with no account and no org connection.