Find your content:

Search form

You are here

How to find the POD of the production Org if MyDomain has been enabled?

 
Share

Once you enable MyDomain, all URLs change from the POD-specific ones to be MyDomain-specific. Is there any easy way to find out the POD the Org is running on without contacting Salesforce?

Any help would be appreciated. Many thanks in advance.


Attribution to: danpom

Possible Suggestion/Solution #1

If you are looking for Host URL following line will return full host url.

System.URL.getSalesforceBaseUrl().getHost()

If you are looking for instance on which your org is hosted then use following link

http://help.bluemangolearning.com/m/salesforce/l/40101-determining-the-salesforce-instance-when-using-my-domain


Attribution to: AtulRajguru9
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/34423

My Block Status

My Block Content