(This is the opposite question of Get Site URL from apex.)
I'm running Apex in a request on a Site page. URL.getSalesforceBaseUrl().toExternalForm()
gives me https://siteprefix.force.com
I want my actual instance URL: https://mydomain.my.salesforce.com
or even https://pod.salesforce.com
. How can I get it?