Checking domain availability in Salesforce

In Salesforce Journey one day we might need to know the answers to the below questions

To understand Mydomain/subdomain/custom domain, please refer to this  FAQ's 

Note: For a better view of images/screenshot in this blog, please click on it.

1. How to check My domain availability without raising a case with Salesforce support if we want to change the existing subdomain to a new subdomain?
Ans: Goto "https://status.salesforce.com/" and in the search bar type your subdomain name. If it is already utilized then it will give the instance number(like NA84, etc..) in this case, we need to suggest to our clients to come up with a new name. If it is available to use then it will show the message as "No results found.".

For example, if your URL is: "https://Demobymanju.my.salesforce.com" then you need to search with a subdomain(as per the above example URL, it will be "Demobymanju").


Note: Subdomain length can be up to 34 characters.

2. We all know that for sites & Communities also we need a domain, we call that as "Custom domain", if we want to change the existing custom domain to a new custom domain then how to check the availability without raising a case with Salesforce support?

Ans: We need to run a (nslookup) command in command prompt.

Example: In my production, I have community enabled and this is my community URL: https://learningindepthcommunity.force.com/beginners

Suppose, same custom domain (learningindepthcommunity) if some other client wants to use then he needs to first check the availability using nslookup, if it is already used then he will see the instance name in the results as shown in the below screenshot

If nobody using the provided custom domain then we can see the nslookup results like below
 Note:
1. "nslookup" command works to check both Community & site custom domain availability.
2. In Developer edition, custom domain characters length can be up to 22 characters, but for Unlimited edition, characters length is not mentioned in the Salesforce official documents, we tried with 56 characters it worked so I'm assuming "Length of custom domain = 255 characters(which is URL length, assuming custom domain name is given by including all URL parameters characters).

tHiNk gooD and dO thE bEsT.........MANJU NATH 🌝

Comments