After you set up your subdomain with My Domain, test it and then roll it out to your users. Testing gives you the chance to explore your subdomain. It also helps you verify URLs for pages before rolling out the subdomain to your users.
|Available in: both Salesforce Classic and Lightning Experience|
|Available in: Performance, Unlimited, Enterprise, Developer, Professional, and Group Editions.|
|To set up a domain name:||“Customize Application”|
After you deploy your domain, it’s activated immediately, and requests with the original URL are redirected to your new domain. Only Salesforce Customer Support can disable or change your domain name after it’s deployed.
Test your domain login. From Setup, enter My Domain in the Quick Find box, then select My Domain. Or, log out of your DE org and log in to Salesforce using your new subdomain name. Or, click the login link in the activation email you received.
You can customize your domain login page and add authentication services (like social sign-on) before you deploy the domain to your users. You can also test the domain in a sandbox environment.
Test the new domain name by clicking tabs and links. All pages now show your new domain name.
If you’ve customized your Salesforce UI with features, such as custom buttons or Visualforce pages, make sure that you test your customizations thoroughly before deploying your domain name. Look for broken links due to hard-coded references (instance-based URLs), and use your subdomain URLs instead. For more information, enter “hard-coded references” in Salesforce Help
To roll out the new domain name to your org, from Setup, enter My Domain in the Quick Find box, then select My Domain.Then click Deploy to Users and OK.
When you deploy your domain, it’s activated immediately, and all users are redirected to pages with new domain addresses. You can now set login policies in the Domain Settings section that appears after you deploy your domain. For example, you can prevent users from logging in from login.salesforce.com.