Using Domains section in cPanel we can add Addon domain, Subdomains, aliases and DNS. Also we can set up URL redirection.
1: Create an Addon Domain:
Perform the following steps to create an addon domain.
1: Enter the domain name in “New Domain Name”.
2: The sub domain and document root for the domain automatically creates when you enter the domain name. If you want to change the document root you can edit from “Document Root” box.
3: If you want to create separate FTP account for this domain, you need to check the box and enter your desired username and password.
Finally click “Add Domain”. That will create your Addon domain.
Also you can use “Modify Addon Domain” option to make changes such as modify addon domain, setup redirection on your addon domains.
YOU MAY ALSO CHECK THE FOLLOWING VIDEO TUTORIAL ABOUT CREATING ADDON DOMAIN IN CPANEL.
Remove an addon domain:
Click on the “Remove” link corresponds to the addon domain you want to remove. Then click “Yes”.
2: Create Subdomain
Perform the following steps to create a subdomain.
1: Enter prefix of your subdomain in “Subdomain” box.
2: Select the domain name from the box.
3: Enter home directory for the subdomain in “Document Root” box.
Then click “Create”. That will create your subdomain.
If you want to edit document root or want to set up redirection you can use “Modify a Subdomain” option.