How can I figure out what instance my org is on (e.g. NA6, NA7) when I have a domain setup?
I have setup the custom domain https://custom-domain-dev-ed.my.salesforce.com as shown below. If I try to get the domain using
System.Url.getSalesforceBaseUrl().toExternalForm()
it is returned as
If I can't figure out the domain then sites such as http://trust.salesforce.com/trust/maintenance/ and http://trust.salesforce.com/trust/status/ are useless to me.