To add a domain in cPanel, follow these steps:
1. Log in to your cPanel account.
2. Navigate to the "Domains" section.
3. Click on "Domains".
4. Click on "Create A New Domain" On the right side.
4. Enter the new domain name in the "my.example.com" field.
5. Select the subdomain (if desired) or leave it blank for a primary domain.
6. Enter the document root (directory where website files will be stored)
If ticked to share data with Public_html then untick to enter Custom root directory for that domain.
7. Click "Submit".