How To Determine Your Salesforce Instance and it's Location
Do you know what the term “Instance” refers to, in relation to your Salesforce Org? A “Salesforce Instance” is the data center/server that hosts your Salesforce Org. For example, ap1, eu29, na21, cs15, etc. One instance can host many orgs at a time. This innovative server management technology is called ‘Multi-tenancy’ in Cloud Computing.
Now that you know that “Salesforce Instance” refers to a server, you may also want to know where exactly in this world is your instance located? There are two aspects to knowing your instance. One is: which instance am I on? And the second is: where is the server of my instance located? Let’s dive right in.
There are three ways you can determine which instance you are on:
Looking at the browser address bar (If My Domain is not enabled)
Checking in Company Information (If My Domain is enabled)
Using Windows Command Prompt or macOS’ Terminal and run nslookup
1. Looking at the Browser Address Bar (If My Domain is not enabled)
After you log in to Salesforce, navigate to your web browser address bar and check the first part of the URL after ‘https://’ and before ‘lightning.force.com’. It should be two letters and a number in a format like ‘xy1’. Salesforce instance names are abbreviated for that particular region or continent. We will come to decoding the instance name in a bit under the “Checking where my instance is located” section.
2. Checking in Company Information (If My Domain is enabled)
When My Domain is enabled for your Salesforce Org, you will not see the instance name in the address bar. To check the instance name in this case, log in to Salesforce as an admin (or if you have permission to view Setup) and navigate to Setup -> Company Information. You can find your Salesforce instance in the right column below Organization Edition.
3. Using Windows Command Prompt or macOS’ Terminal and run nslookup
Alternatively, you can use native Windows or macOS tools.
Press and hold the ‘Windows’ key on the keyboard and press the ‘R’ key
The Windows Run dialog will open. Type ‘cmd’ and hit ‘Enter’
Type ‘nslookup’ followed by ‘yourdomain.my.salesforce.com’ and hit ‘Enter’
You will see your instance name below in the line that starts with ‘Name: xy1’, where ‘xy1’ will be your instance.
Checking Where Your Instance is Located
You have learned how to determine your instance and now are curious to know what those letters ‘xy1’ stand for. As mentioned, instances are abbreviated as per the region or continent that they serve. For e.g., our org instance is ‘ap8’, which means it is located in the Asia Pacific region, and it is served by Kobe or Tokyo data centers in Japan. How did we find this? Simply navigate to this Knowledge article https://help.salesforce.com/articleView?id=000257307&type=1&language=en_US. Once you determine what instance you are on, then visit the above link to check where it is located. This Knowledge article has a list of all current instances and the data centers it gets served from.
References & Useful URLs
View instance information for your Salesforce organization - https://help.salesforce.com/articleView?id=000002889&type=1
Where is my Salesforce instance located? - https://help.salesforce.com/articleView?id=000257307&type=1&language=en_US