To create an addon domain, you will need to point the domain to the hosting account you want to add it to by changing its nameservers before doing anything else. Once that has been done, follow the instructions below:
Login to your cPanel and click Addon Domains, under Domains. There are three fields cPanel asks for when creating an Addon Domain.
- New Domain Name: Enter the new domainname.com, but do not put http or www in the name.
- Username/directory/subdomain Name: This will be the folder cPanel creates in your public_html folder. Normally, you want to ensure the name you provide doesn't already exist as a folder in public_html, but cPanel will automatically suggest the name and we recommend you stick with the suggestion.
- Password: Fill in any password you want here. This password is used for an FTP account which is automatically created by cPanel. You likely will not ever need this password, so we suggest picking a random password and forgetting about it.
Your new domain is been successfully added. You can upload the website files to the specific addon folder which was created in the public_html folder.
Note: Your new domain name will not display your site until you set that domain's name servers. You must go to the company where you registered your domain, and change the name servers there.
To delete an addon domain,
- Login to your cPanel and click Addon Domains.
- At the bottom, under Actions, click Remove.
Deleting the addon domain only removes the domain from the DNS and server configuration. Your files and databases are not deleted or affected by removing the addon domain, other than the fact that you will no longer be abele to access the files via that domain name.