Skip to main content
9 votes
Accepted

Does domain name change on salesforce new release

Components of the URL: test--PCSandbox.cs12.my.salesforce.com ^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^ |||| ||||||||| |||| ||||||||||||||||| Domain Name ||| |||| Custom Domain URL ||||||||| |||| ...
Adrian Larson's user avatar
  • 150k
7 votes
Accepted

What is the difference between My domain and sites domain?

MyDomain is a custom URL to directly log-in to your Salesforce Instance rather than going through https//login.Salesforce.com. You can go through either one to reach your instance, but it allows for ...
crmprogdev's user avatar
6 votes

Does domain name change on salesforce new release

There is a Critical Update that addresses this. Around March, 2019, the domain name will no longer include the host name. You can test this now in your org by enabling the Critical Update in the Setup ...
sfdcfox's user avatar
  • 495k
6 votes
Accepted

Updating MyDomain in Sandbox

No, Sandbox and Prod are 2 different environments. Whatever you do in Sandbox won't cause any havoc in production unless you deploy it and that includes enabling or changing MyDomain. My Domain once ...
Pranay Jaiswal's user avatar
6 votes
Accepted

Detect via Apex/Visualforce if org has MyDomain enabled

I would just check: Boolean isMyDomainEnabled = URL.getSalesforceBaseUrl().getHost().endsWith('my.salesforce.com'); Or maybe: Boolean isMyDomainEnabled = URL.getSalesforceBaseUrl().getHost()....
Adrian Larson's user avatar
  • 150k
6 votes
Accepted

Do you HAVE to enable My Domain if you want to use Salesforce DX?

As per Salesforce docs: If you don’t enable and deploy My Domain, you can’t link your namespace to the Dev Hub org. So unless you want to use namespace in your SFDX scratch org you don't need to ...
Tushar Sharma's user avatar
6 votes
Accepted

What is the impact of enabling the critical update 'Route My Domains Through Salesforce Edge'?

Salesforce could have done a better job explaining this (and picking a less problematic way to brand it). From the comments, it's worth noting that this will be enabled for everyone using "My Domain" ...
Derek F's user avatar
  • 62.5k
5 votes
Accepted

Risks of deploying My Domain before the upcoming instance refresh?

1) In our internal emails, we reference {!Case.Link}. Will that automatically update to the My Domain? Will old links properly redirect to the My Domain URL, like in this? My Domain Gotchas? Links ...
sfdcfox's user avatar
  • 495k
5 votes
Accepted

Make package require My Domain

You could possibly use the following SOQL query to retrieve the Domain object details available in Salesforce. [SELECT Id, CnameTarget, Domain, DomainType, OptionsExternalHttps FROM Domain] This ...
Jigar Shah's user avatar
  • 1,148
4 votes

How to retrieve domain name from salesforce org

Url.getSalesforceBaseUrl will return your "my domain" URL (e.g. https://mydomain.my.salesforce.com/), and you can get the Host from here: String myDomain = Url.getSalesforceBaseUrl().getHost(); The ...
sfdcfox's user avatar
  • 495k
4 votes

Detect via Apex/Visualforce if org has MyDomain enabled

Try URL.getSalesforceBaseUrl().getHost();. In some cases you might also get useful info out of a query such as [SELECT fullPhotoUrl FROM User WHERE userType = 'Standard' LIMIT 1]. Credit to ...
Charles T's user avatar
  • 11k
4 votes
Accepted

Redirecting to MyDomain URL

You can create a Site and add a redirect from a Site URL to a destination. The destination can be any relative or absolute URL, including a MyDomain URL. Out of the box, the hostname of the site ...
identigral's user avatar
  • 7,660
4 votes
Accepted

Clarification around Salesforce Edge Network

The article stating auto-activation on July 13th, 2020 I think is being clever with the word "activation". The docs around this have changed quite a bit especially with timing. From our ...
Kris Goncalves's user avatar
4 votes
Accepted

When is Enhanced Domain going to be available to enable?

From Salesforce Support I checked with the internal team and got to know that timeline has been postponed and Enhance domain is available on rolling basis and available to all customer by 30 April ...
Kris Goncalves's user avatar
3 votes

Are there any disadvantages to setting up My Domain?

Its a must that need to be done before creating and using lightning components in tabs,app builder etc. There aren't any major con's that i can think of which would affect you because of setting up my ...
RedDevil's user avatar
  • 7,821
3 votes
Accepted

Custom domain is not working in salesforce

Since you've badly anonymized your data, I can't really tell where there's a problem. Your data should look as follows: CName: Host: www, Points To: www.mydomainname.com.00DXXXXXXXXXXXX.live....
sfdcfox's user avatar
  • 495k
3 votes
Accepted

My Domain(Custom Domain) activation in Production

You need to take action based on the redirection policy during My Domain configuration. So, based on the settings, in the user's browser old bookmark may not work. So you need to announce to ...
Santanu Boral's user avatar
3 votes
Accepted

How to expose webservice through domain

Unless you configure your site/community to expose the REST API to "guest users" (which is a security risk), you need to consider authentication against your REST API. Please follow the guidance in ...
Phil W's user avatar
  • 36.9k
3 votes

Why would SSO stop working : malformed_certificate

This happened to me and here's what I did: Like in your update, I went to Security -> Authentication -> SSO With SAML Applications and found an expired certificate. I clicked the "Add ...
Ryan Shillington's user avatar
3 votes

When did instance URL format change for some sandboxes to now to <domain name>.sandbox.my.saleforce.com/services/apexrest

It would appear someone enabled Enhanced Domains in that sandbox if it's the only one with that behavior. I would also check whether it's enabled in Production and this was the first sandbox refreshed ...
Kris Goncalves's user avatar
2 votes
Accepted

Get instance domain in Custom Button

Link manipulation doesn't work properly with Content Source as URL, URL type OnClick JavaScript is advised to use for such requirement. Following works for me: var baseUrl = "{!LEFT($Api....
Raul's user avatar
  • 18.8k
2 votes
Accepted

domain name in our org

Force.com Public Sites require a domain for the public/external deployment. The domain you have registered is your Salesforce "My Domain" which is how you access/login to Salesforce internally.
Christian Carter's user avatar
2 votes

Determine the pod/instance API endpoint of a Salesforce org?

You can get the pod of the org via SOQL, assuming the running user has access to the Organization table: SELECT InstanceName FROM Organization Depending on your use case, this may be a better ...
daveespo's user avatar
  • 2,683
2 votes

2 domains (generic and "my domain" ) available at the same time?

My Domain Is Required only if you want to use custom Lightning Components. If you need to simply move to Lightning Experience, you will not need to deploy My Domain. You must deploy My Domain in ...
Jayant Das's user avatar
  • 30.6k
2 votes

My-Domain in Free Trial Org created from Appexchange

Enable my domain for your trialforce source orgs from which you generate trial orgs.If your TSO has my domain as xyz then your trial orgs will have a domain xyz_1234 where 1234 is the random 4 digits ...
Mohith Shrivastava's user avatar
2 votes
Accepted

SAP - Domain configuration options - What is the best options?

Given your company is called: Example, website domain: www.example.com I will suggest going with email.example.com. If “email” is already taken, I will suggest cp (for campaign), em (for email) or ...
Lukas Lunow's user avatar
  • 21.7k
2 votes
Accepted

My Domain change and SSO

I don't know first hand knowledge about Azure sso but have built sso with okta and others. We configure details in both system. When url changes in one system, that needs to be reflected in other ...
metasync's user avatar
  • 1,772
2 votes
Accepted

Are subdomains included in a Private Domain for Marketing Cloud without SAP?

Subdomains are not included. Note: Don’t just make up sub-domain names. If company-email.com is the SAP domain, and you want to add “order.company-email.com” -- it must be set up as private domain. ...
Jonas Lamberty's user avatar
2 votes

How can we configure a custom domain for Lightning Experience?

You have Options to Serve a Custom Domain in Salesforce. You'll want to read the entire article, plus the other article if you choose to use a Naked Domain (such as mydomainname.com versus www....
sfdcfox's user avatar
  • 495k
2 votes
Accepted

Redirect old URLs to new domain (Spring 23 advanced domain)

After the enhanced domain feature released into the org, Redirection of previous My Domain URLs to our current My Domain will occur automatically with out any setting.
SaiPraveen Kakkirala's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible