After you set up your domain name, test it and then roll it out to your users. Testing gives you the chance to explore your domain name. It also helps you verify addresses for pages before rolling out your domain 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, then Click here to login. Or, log out of your DE org and log in to Salesforce using your custom domain name. You can 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 custom elements thoroughly before deploying your domain name. Look for hard-coded references and instance-based URLs in your customizations. Use your custom domain URLs instead.
To roll out the new domain name to your organization, from Setup, enter My Domain in the Quick Find box, then select My Domain and 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.