Salesforce Custom Domain or Salesforce my Domain must be enabled to use Lightning Components in Salesforce.com.
In This Tutorial, we will learn how to Enable a Custom Domain for a Developer Org, so that we can Use It for Salesforce Lightning.
Custom Domain URL will be like https://MyDomain.my.salesforce .com
In Place of MyDomain, you can Include your own Name or Any Name you wish to include.
To Create Custom Domain Follow Below Steps :
1. Click on Setup
2. In the Quick Find Box, Enter My Domain.
3. Click on My Domain.
[or]
1. You can Directly Navigate to Administer | Domain Management | My Domain.
Select My Domain
2. Enter the Name of your SubDomain after https:// and Check Availability.
Typically, a subdomain is your name of a company, or you can include your own name as long as it's Unique.
If the Name was already taken, choose another name.
3. Click Register Domain.
Benefits of Custom Domain :
1. We can create our own custom URL .
2. We can set custom Login Policies.
3. Using Custom Domain, Salesforce user can login through Facebook and Google Account.